PostId int64 4 11.8M | PostCreationDate stringlengths 19 19 | OwnerUserId int64 1 1.57M | OwnerCreationDate stringlengths 10 19 | ReputationAtPostCreation int64 -55 461k | OwnerUndeletedAnswerCountAtPostTime int64 0 21.5k | Title stringlengths 3 250 | BodyMarkdown stringlengths 5 30k ⌀ | Tag1 stringlengths 1 25 ⌀ | Tag2 stringlengths 1 25 ⌀ | Tag3 stringlengths 1 25 ⌀ | Tag4 stringlengths 1 25 ⌀ | Tag5 stringlengths 1 25 ⌀ | PostClosedDate stringlengths 19 19 ⌀ | OpenStatus stringclasses 5
values | unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
19,772 | 08/21/2008 12:53:46 | 1,490 | 08/15/2008 21:35:24 | 21 | 12 | CMD.exe replacement | Does anyone know of a good Command Prompt replacement? I've tried bash/Cygwin, but that does not really meet my needs at work because it's too heavy. I'd like a function-for-function identical wrapper on cmd.exe, but with highlighting, intellisense, and (critically) a tabbed interface. Powershell is okay, but the in... | command-line | terminal | null | null | null | null | open | CMD.exe replacement
===
Does anyone know of a good Command Prompt replacement? I've tried bash/Cygwin, but that does not really meet my needs at work because it's too heavy. I'd like a function-for-function identical wrapper on cmd.exe, but with highlighting, intellisense, and (critically) a tabbed interface. Power... | 0 |
19,773 | 08/21/2008 12:54:18 | 1,100 | 08/12/2008 11:58:29 | 38 | 4 | Huge Web App With Memory Leak in IE 6 | I have a huge web app that is having issues with memory leak in IE 6.
Fixing a memory leak in a 5 line code sample that demonstrates the problem is easy.
But if I have a very huge application, where should a start from? | memory | internet-explorer-6 | leak | null | null | null | open | Huge Web App With Memory Leak in IE 6
===
I have a huge web app that is having issues with memory leak in IE 6.
Fixing a memory leak in a 5 line code sample that demonstrates the problem is easy.
But if I have a very huge application, where should a start from? | 0 |
19,786 | 08/21/2008 12:59:45 | 1,075 | 08/12/2008 10:13:30 | 592 | 47 | Local Currency String conversion VB6 | I am maintaining an app for a client that is used in two locations. One in England and one in Poland.
The database is stored in England and uses the format £1000.00 for currency, but the information is being gathered locally in Poland where 1000,00 is the format.
My question is, in VB6 is there a function that ta... | vb6 | localization | null | null | null | null | open | Local Currency String conversion VB6
===
I am maintaining an app for a client that is used in two locations. One in England and one in Poland.
The database is stored in England and uses the format £1000.00 for currency, but the information is being gathered locally in Poland where 1000,00 is the format.
My quest... | 0 |
19,787 | 08/21/2008 12:59:53 | 277 | 08/04/2008 10:55:22 | 200 | 7 | How Do I Find a File in a Subversion Repository History? | Is it possible to look back through the history of a subversion repository for files of a certain name (even better would be for them to have a wildcard search).
I want to see if a .bat file has been committed to the repository at some point in the past but has since been removed in later updates. Even a dump of the... | subversion | repository | administration | null | null | null | open | How Do I Find a File in a Subversion Repository History?
===
Is it possible to look back through the history of a subversion repository for files of a certain name (even better would be for them to have a wildcard search).
I want to see if a .bat file has been committed to the repository at some point in the past b... | 0 |
19,790 | 08/21/2008 13:00:56 | 1,721 | 08/18/2008 09:58:47 | 13 | 2 | Display rows in multiple columns in Asp.net Gridview | By default each row of a Gridview maps to each row in a datatable or dataset attached to its datasource. But what if I want to display these rows in multiple columns. For example if it has 10 rows, 5 rows each should be displayed in 2 columns side by side. Is that possible? | asp.net | gridview | null | null | null | null | open | Display rows in multiple columns in Asp.net Gridview
===
By default each row of a Gridview maps to each row in a datatable or dataset attached to its datasource. But what if I want to display these rows in multiple columns. For example if it has 10 rows, 5 rows each should be displayed in 2 columns side by side. Is th... | 0 |
19,803 | 08/21/2008 13:05:21 | 91 | 08/01/2008 17:55:22 | 5,769 | 277 | Profiling/Optimizing (Sharepoint 2007) Web Parts | I just wonder what options there are to properly measure/profile/optimize ASP.net 2.0 Web Parts, especially the ones for Sharepoint 2007?
As Web Parts are a layer on another layer of technology, getting resource usage, open handles and stuff only for the web part seems to be a bit difficult.
Does anyone know some... | asp.net | sharepoint | null | null | null | null | open | Profiling/Optimizing (Sharepoint 2007) Web Parts
===
I just wonder what options there are to properly measure/profile/optimize ASP.net 2.0 Web Parts, especially the ones for Sharepoint 2007?
As Web Parts are a layer on another layer of technology, getting resource usage, open handles and stuff only for the web part... | 0 |
19,843 | 08/21/2008 13:20:05 | 2,275 | 08/21/2008 12:44:52 | 1 | 0 | Generics in c# & accessing the static members of T | My question concerns c# and how to access Static memebers ... Well I don't really know how to explain it (wich kind of is bad for a question isn't it?) I will just give you some sample code:
Class test<T>{
int method1(Obj Parameter1){
//in here I want to do something which I would explain... | c# | generics | static | method | access | null | open | Generics in c# & accessing the static members of T
===
My question concerns c# and how to access Static memebers ... Well I don't really know how to explain it (wich kind of is bad for a question isn't it?) I will just give you some sample code:
Class test<T>{
int method1(Obj Parameter1){
... | 0 |
19,852 | 08/21/2008 13:23:09 | 2,084 | 08/20/2008 10:39:15 | 443 | 18 | Maximum length of a MIME Content-Type header field? | I'm just designing the schema for a database table which will hold details of email attachments - their size in bytes, filename and content-type (i.e. "image/jpg", "audio/mp3", etc).
Does anybody know the maximum length that I can expect a content-type to be? | email | mime | null | null | null | null | open | Maximum length of a MIME Content-Type header field?
===
I'm just designing the schema for a database table which will hold details of email attachments - their size in bytes, filename and content-type (i.e. "image/jpg", "audio/mp3", etc).
Does anybody know the maximum length that I can expect a content-type to be? | 0 |
19,876 | 08/21/2008 13:32:42 | 1,753 | 08/18/2008 12:42:26 | 11 | 1 | e-Learning/Online courses recommendations | Can anyone recommend some good e-learning courses? I have a professional development allotment to spend before the end of the year. Any online access to conferences? My primary job is in ASP.NET and MOSS, but I would be interested in branching out a bit. | training | e-learning | null | null | null | null | open | e-Learning/Online courses recommendations
===
Can anyone recommend some good e-learning courses? I have a professional development allotment to spend before the end of the year. Any online access to conferences? My primary job is in ASP.NET and MOSS, but I would be interested in branching out a bit. | 0 |
19,883 | 08/21/2008 13:34:43 | 287 | 08/04/2008 12:43:38 | 130 | 14 | Is there a bug/issue tracking system which integrates with Mercurial? | I've used Trac/Subversion before and really like the integration. My current project is using Mercurial for distributed development and it'd be nice to be able to track issues/bugs and have this be integrated with Mercurial. I realized this could be tricky with the nature of DVCS. | mercurial | integration | bugtracking | null | null | null | open | Is there a bug/issue tracking system which integrates with Mercurial?
===
I've used Trac/Subversion before and really like the integration. My current project is using Mercurial for distributed development and it'd be nice to be able to track issues/bugs and have this be integrated with Mercurial. I realized this coul... | 0 |
19,893 | 08/21/2008 13:35:46 | 1,288 | 08/14/2008 12:14:17 | 93 | 10 | How do you embed binary data in XML? | I have two applications written in Java that communicate with each other using XML messages over the network. I'm using a SAX parser at the receiving end to get the data back out of the messages. One of the requirements is to embed binary data in an XML message, but SAX doesn't like this. Does anyone know how to do ... | java | xml | null | null | null | null | open | How do you embed binary data in XML?
===
I have two applications written in Java that communicate with each other using XML messages over the network. I'm using a SAX parser at the receiving end to get the data back out of the messages. One of the requirements is to embed binary data in an XML message, but SAX doesn... | 0 |
19,933 | 08/21/2008 13:44:48 | 2,260 | 08/21/2008 11:39:22 | 13 | 1 | How to copy a file in C# | I want to copy a file from A to B in C#. How do I do that? | c# | .net | null | null | null | null | open | How to copy a file in C#
===
I want to copy a file from A to B in C#. How do I do that? | 0 |
19,941 | 08/21/2008 13:46:58 | 2,285 | 08/21/2008 13:36:53 | 1 | 1 | ASP.NET MVC Catch Exception when non-existant controller is requested | I'm very new to MVC and I want to be able to capture the exception that is thrown when a user requests a non-existant controller and re-direct it to a sweet 404 page. How can I do this?
For example, the user requests http://www.nosite.com/paeges/1 (*should be/pages/*) they get re-directed to the 404 rather than the ... | asp.net-mvc | null | null | null | null | null | open | ASP.NET MVC Catch Exception when non-existant controller is requested
===
I'm very new to MVC and I want to be able to capture the exception that is thrown when a user requests a non-existant controller and re-direct it to a sweet 404 page. How can I do this?
For example, the user requests http://www.nosite.com/pae... | 0 |
19,952 | 08/21/2008 13:50:35 | 482 | 08/06/2008 08:54:09 | 38 | 9 | RFC calculation in Java need help with algorithm | The RFC for a Java class is set of all methods that can be invoked in response to a message to an object of the class or by some method in the class.
RFC = M + R where
M = Number of methods in the class.
R = Total number of other methods directly invoked from the M.
Thinking C is the .class and J is the .java f... | java | regex | algorithm | reflection | regularexpression | null | open | RFC calculation in Java need help with algorithm
===
The RFC for a Java class is set of all methods that can be invoked in response to a message to an object of the class or by some method in the class.
RFC = M + R where
M = Number of methods in the class.
R = Total number of other methods directly invoked from t... | 0 |
19,953 | 08/21/2008 13:51:33 | 2,285 | 08/21/2008 13:36:53 | 1 | 1 | How do I stop MS Graph component popping up during Interop? | When using Office Interop in C#, if you insert a chart object into a MS Word document, the Grap application loads up very briefly and then goes away. Is there a way to prevent this from happening? I have tried setting the Visible property of the application instance to false to no effect. | c# | interop | microsoftoffice | null | null | null | open | How do I stop MS Graph component popping up during Interop?
===
When using Office Interop in C#, if you insert a chart object into a MS Word document, the Grap application loads up very briefly and then goes away. Is there a way to prevent this from happening? I have tried setting the Visible property of the applicati... | 0 |
19,956 | 08/21/2008 13:53:35 | 436,255 | 08/18/2008 15:32:28 | 21 | 2 | What have you used Windows CardSpace for, if anything | I'm doing some funky authentication work (and yes, I know, open id is awesome, but then again myopenid doesn't work right at this moment!).
Stumbling across Windows CardSpace I was wondering if anyone has used it in a real production system. If you have, what were the pros and cons for you? | windows | security | authentication | null | null | null | open | What have you used Windows CardSpace for, if anything
===
I'm doing some funky authentication work (and yes, I know, open id is awesome, but then again myopenid doesn't work right at this moment!).
Stumbling across Windows CardSpace I was wondering if anyone has used it in a real production system. If you have, wha... | 0 |
19,958 | 08/21/2008 13:54:30 | 572 | 08/06/2008 20:56:54 | 926 | 80 | What free and/or open source tools are available for project and process management? | I'm currently looking at the following stack:
- Apache Tomcat and Apache HTTP Server for web interfaces
- [Chandler][1] for time tracking and coordination and [Chandler Server][2] for bringing everything together.
- [Trac][3] for bug tracking and user feedback management (eg - dumping user feedback into the ... | tools | project-management | process | project | process-management | null | open | What free and/or open source tools are available for project and process management?
===
I'm currently looking at the following stack:
- Apache Tomcat and Apache HTTP Server for web interfaces
- [Chandler][1] for time tracking and coordination and [Chandler Server][2] for bringing everything together.
- [Tr... | 0 |
19,963 | 08/21/2008 13:56:06 | 1,030 | 08/11/2008 15:40:52 | 327 | 22 | What's the best way of "diff'ing" Crystal Reports? | If you have two versions of the same report (.rpt) and you want to establish what the exact differences are, what is the best way to go about this? I've seen some commercial tools to do this, but I'm not too interested in forking out cash for something that should be relatively straight forward. Can I hook into the Cry... | crystal-reports | diff | null | null | null | null | open | What's the best way of "diff'ing" Crystal Reports?
===
If you have two versions of the same report (.rpt) and you want to establish what the exact differences are, what is the best way to go about this? I've seen some commercial tools to do this, but I'm not too interested in forking out cash for something that should... | 0 |
19,970 | 08/21/2008 13:58:25 | 2,286 | 08/21/2008 13:42:59 | 1 | 1 | Best way to keep an ordered list of windows (from most-recently created to oldest)? | A friend had phoned me the other day asking for the best way to manage a list of windows (keeping them in order) so he can promote the next window to the top-level when the current top-level window is closed. This is for a web application, so we're using jQuery Javascript.
We'd talked through a few simplistic soluti... | javascript | null | null | null | null | null | open | Best way to keep an ordered list of windows (from most-recently created to oldest)?
===
A friend had phoned me the other day asking for the best way to manage a list of windows (keeping them in order) so he can promote the next window to the top-level when the current top-level window is closed. This is for a web appl... | 0 |
19,988 | 08/21/2008 14:02:56 | 2,293 | 08/21/2008 14:02:56 | 1 | 0 | Being as DRY as possible in a Ruby on Rails App | I'm currently using the awesome attachment-fu plugin for a Rails app, but as a novice developer, I've never encountered a scenario like the one I've found myself in.
Essentially, I'm using the attachment-fu plugin on two levels.
The first is for user avatars in the user class.
The second is to allow file attachments... | ruby | ruby-on-rails | mvc | attachment-fu | null | null | open | Being as DRY as possible in a Ruby on Rails App
===
I'm currently using the awesome attachment-fu plugin for a Rails app, but as a novice developer, I've never encountered a scenario like the one I've found myself in.
Essentially, I'm using the attachment-fu plugin on two levels.
The first is for user avatars in the... | 0 |
19,995 | 08/21/2008 14:04:55 | 184 | 08/03/2008 05:34:19 | 600 | 7 | Is there some way to PUSH data from web server to browser? | Of course I am aware of Ajax, but the problem with Ajax is that the browser should poll the server frequently to find whether there is new data. This increases server load.
Is there any better method (even using Ajax) other than polling the server frequently? | internet | browser | server | webserver | null | null | open | Is there some way to PUSH data from web server to browser?
===
Of course I am aware of Ajax, but the problem with Ajax is that the browser should poll the server frequently to find whether there is new data. This increases server load.
Is there any better method (even using Ajax) other than polling the server frequ... | 0 |
20,003 | 08/21/2008 14:06:44 | 686 | 08/07/2008 19:26:04 | 1 | 1 | Repository layout for large Maven projects | I have a large application (~50 modules) using a structure similar to the following:
* Application
* Communication modules
* Color communication module
* SSN communication module
* etc. communication module
* Router module
* Service modules
* Voting service module
... | java | subversion | maven-2 | null | null | null | open | Repository layout for large Maven projects
===
I have a large application (~50 modules) using a structure similar to the following:
* Application
* Communication modules
* Color communication module
* SSN communication module
* etc. communication module
* Router module
* Se... | 0 |
20,021 | 08/21/2008 14:10:25 | 2,077 | 08/20/2008 07:26:21 | 41 | 1 | Version, track, automate DB schema changes with django | I'm currently looking at the Python framework Django for future db-based web apps as well as for a port of some apps currently written in PHP. One of the nastier issues during my last years was keeping track of database schema changes and deploying these changes to productive systems. I haven't dared asking for being a... | django | db | subversion | bestpractices | null | null | open | Version, track, automate DB schema changes with django
===
I'm currently looking at the Python framework Django for future db-based web apps as well as for a port of some apps currently written in PHP. One of the nastier issues during my last years was keeping track of database schema changes and deploying these chang... | 0 |
20,034 | 08/21/2008 14:13:11 | 1,471 | 08/15/2008 18:26:14 | 49 | 9 | Is Project Darkstar Realistic? | [Project Darkstar][1] was the topic of the monthly [JavaSIG][2] meeting down at the Google offices in NYC last night. For those that don't know (probably everyone), Project Darkstar is a framework for massively multiplayer online games that attempts to take care of all of the "hard stuff." The basic idea is that you ... | java | concurrency | distributed | null | null | null | open | Is Project Darkstar Realistic?
===
[Project Darkstar][1] was the topic of the monthly [JavaSIG][2] meeting down at the Google offices in NYC last night. For those that don't know (probably everyone), Project Darkstar is a framework for massively multiplayer online games that attempts to take care of all of the "hard ... | 0 |
20,040 | 08/21/2008 14:14:53 | 1,011 | 08/11/2008 13:05:01 | 21 | 2 | What are the most important things to learn about .net as a Project Manager? | I'm about to take on a job as Project Manager for a company that mainly uses .net technology for building websites and webservices.
I've had plenty of experience with PHP projects: I'm aware of most of the existing frameworks and libraries, and I've written specs and case studies based on this knowledge.
What sho... | .net | project-management | null | null | null | null | open | What are the most important things to learn about .net as a Project Manager?
===
I'm about to take on a job as Project Manager for a company that mainly uses .net technology for building websites and webservices.
I've had plenty of experience with PHP projects: I'm aware of most of the existing frameworks and libra... | 0 |
20,047 | 08/21/2008 14:18:41 | 1 | 07/31/2008 14:22:31 | 4,921 | 113 | Diagnosing Deadlocks in SQL Server 2005 | We're seeing some pernicious, but rare, deadlock conditions in the Stack Overflow SQL Server 2005 database.
I attached the profiler, set up a trace profile using [this excellent article on troubleshooting deadlocks](http://www.simple-talk.com/sql/learn-sql-server/how-to-track-down-deadlocks-using-sql-server-2005-pro... | sql2005 | deadlock | mssql | null | null | null | open | Diagnosing Deadlocks in SQL Server 2005
===
We're seeing some pernicious, but rare, deadlock conditions in the Stack Overflow SQL Server 2005 database.
I attached the profiler, set up a trace profile using [this excellent article on troubleshooting deadlocks](http://www.simple-talk.com/sql/learn-sql-server/how-to-t... | 0 |
20,054 | 08/21/2008 14:21:55 | 1,190 | 08/13/2008 12:15:38 | 506 | 42 | Any tips on getting Rails to run with an Access back-end? | I shudder to ask, but my client might offer no other SQL (or SQL-like) solution. I know Access has some SQL hooks; are they enough for basic ActiveRecord? | ruby | rails | ror | activerecord | microsoftaccess | null | open | Any tips on getting Rails to run with an Access back-end?
===
I shudder to ask, but my client might offer no other SQL (or SQL-like) solution. I know Access has some SQL hooks; are they enough for basic ActiveRecord? | 0 |
20,059 | 08/21/2008 14:23:53 | 269 | 08/04/2008 10:13:44 | 962 | 79 | Suggestions on starting a child programming. | What languages and tools do you consider a youngster starting out in programming should use in the modern era?
Lot's of us started with proprietary Basics and they didn't do all of us long term harm :) but given the experiences you have had since then and your knowledge of the domain now are there better options?
... | language-agnostic | language | teaching | children | null | 03/04/2011 02:27:51 | not constructive | Suggestions on starting a child programming.
===
What languages and tools do you consider a youngster starting out in programming should use in the modern era?
Lot's of us started with proprietary Basics and they didn't do all of us long term harm :) but given the experiences you have had since then and your knowle... | 4 |
20,061 | 08/21/2008 14:24:25 | 271 | 08/04/2008 10:25:01 | 294 | 19 | Store data from a C# application | I've recently taken up learning some C# and wrote a Yahtzee clone. My next step (now that the game logic is in place and functioning correctly) is to integrate some method of keeping stats across all the games played.
My question is this, how should I go about storing this information? My first thought would be to... | c# | .net | null | null | null | null | open | Store data from a C# application
===
I've recently taken up learning some C# and wrote a Yahtzee clone. My next step (now that the game logic is in place and functioning correctly) is to integrate some method of keeping stats across all the games played.
My question is this, how should I go about storing this info... | 0 |
20,063 | 08/21/2008 14:24:41 | 1,335 | 08/14/2008 15:04:55 | 1 | 0 | What's the best way to grab/parse command line arguments passed to a Python script? | The title says it all...what's the **easiest, tersest, and most flexible** method or library for parsing Python command line arguments? | python | null | null | null | null | null | open | What's the best way to grab/parse command line arguments passed to a Python script?
===
The title says it all...what's the **easiest, tersest, and most flexible** method or library for parsing Python command line arguments? | 0 |
20,081 | 08/21/2008 14:29:48 | 726 | 08/08/2008 12:04:53 | 255 | 14 | Best way to encapsulate complex Oracle PL/SQL cursor logic as a view? | I've written PL/SQL code to denormalize a table into a much-easer-to-query form. The code uses a temporary table to do some of its work, merging some rows from the original table together.
The logic is written as a [pipelined table function][1], following the pattern from the linked article. The table function uses ... | oracle | plsql | null | null | null | null | open | Best way to encapsulate complex Oracle PL/SQL cursor logic as a view?
===
I've written PL/SQL code to denormalize a table into a much-easer-to-query form. The code uses a temporary table to do some of its work, merging some rows from the original table together.
The logic is written as a [pipelined table function][... | 0 |
20,084 | 08/21/2008 14:30:53 | 832 | 08/09/2008 06:51:40 | 1,114 | 93 | XML Serialization and Inherited Types | following on from my [previous question](http://stackoverflow.com/questions/19454/enforce-attribute-decoration-of-classesmethods) I have been working on getting my object model to serialize to XML. But I have now run into a problem (quelle surprise!).
The problem I have is that I have a collection, which is of a abs... | serialization | xml | c# | inheritance | null | null | open | XML Serialization and Inherited Types
===
following on from my [previous question](http://stackoverflow.com/questions/19454/enforce-attribute-decoration-of-classesmethods) I have been working on getting my object model to serialize to XML. But I have now run into a problem (quelle surprise!).
The problem I have is ... | 0 |
20,088 | 08/21/2008 14:31:50 | 1,870 | 08/19/2008 00:42:51 | 406 | 20 | Is there a way to make Firefox ignore invalid ssl-certificates? | I am maintaining a few web applications. The development and qa environments use invalid/outdated ssl-certificates.
Although it is generally a good thing, that Firefox makes me click like a dozen times to accept the certificate, this is pretty annoying.
Is there a configuration-parameter to make Firefox (and poss... | firefox | ssl | null | null | null | null | open | Is there a way to make Firefox ignore invalid ssl-certificates?
===
I am maintaining a few web applications. The development and qa environments use invalid/outdated ssl-certificates.
Although it is generally a good thing, that Firefox makes me click like a dozen times to accept the certificate, this is pretty anno... | 0 |
20,107 | 08/21/2008 14:36:41 | 437 | 08/05/2008 18:13:45 | 1,304 | 38 | YUI Reset CSS Makes strong and em not work | This line in YUI's Reset CSS is causing trouble for me:
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:normal;
}
It makes my <code>em</code> not italic and my <code>strong</code> not bold. Which is okay. I know how to override that in my own stylesheet.
... | css | null | null | null | null | null | open | YUI Reset CSS Makes strong and em not work
===
This line in YUI's Reset CSS is causing trouble for me:
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:normal;
}
It makes my <code>em</code> not italic and my <code>strong</code> not bold. Which is okay. I know h... | 0 |
20,127 | 08/21/2008 14:41:31 | 486 | 08/06/2008 09:19:11 | 395 | 41 | Virtual Machine Optimization | I am messing around with [a toy interpreter in Java](http://code.google.com/p/zemscript/) and I was considering trying to write a simple compiler that can generate bytecode for the Java Virtual Machine. Which got me thinking, how much optimization needs to be done by compilers that target virtual machines such as JVM a... | jvm | cil | jit | null | null | null | open | Virtual Machine Optimization
===
I am messing around with [a toy interpreter in Java](http://code.google.com/p/zemscript/) and I was considering trying to write a simple compiler that can generate bytecode for the Java Virtual Machine. Which got me thinking, how much optimization needs to be done by compilers that tar... | 0 |
20,148 | 08/21/2008 14:50:52 | 2,013 | 08/19/2008 19:38:30 | 11 | 0 | MyISAM versus InnoDB | I'm working on a projects which involves a lot of database writes, I'd say (70% inserts and 30% reads). This ratio would also include updates which I consider to be one read and one write. The reads can be dirty (e.g. I don't need 100% accurate information at the time of read).
The task in question will be doing o... | mysql | myisam | innodb | performance | null | null | open | MyISAM versus InnoDB
===
I'm working on a projects which involves a lot of database writes, I'd say (70% inserts and 30% reads). This ratio would also include updates which I consider to be one read and one write. The reads can be dirty (e.g. I don't need 100% accurate information at the time of read).
The task i... | 0 |
20,156 | 08/21/2008 14:55:48 | 383 | 08/05/2008 10:46:37 | 2,022 | 207 | Ordinals in C# | If there a quick way in C# to create [Ordinals][1] for a number, for example:
- 1 returns 1st
- 2 returns 2nd
- 3 returns 3rd
- ...
Can this be done through String.Format or any there any functions available todo this?
[1]: http://is.gd/1NvM | c# | .net | ordinals | null | null | null | open | Ordinals in C#
===
If there a quick way in C# to create [Ordinals][1] for a number, for example:
- 1 returns 1st
- 2 returns 2nd
- 3 returns 3rd
- ...
Can this be done through String.Format or any there any functions available todo this?
[1]: http://is.gd/1NvM | 0 |
20,168 | 08/21/2008 14:59:48 | 271 | 08/04/2008 10:25:01 | 358 | 21 | C# application detected as a virus | Regarding the same program as [my question a few minutes ago][1]... I added a setup project and built an MSI for the program (just to see if I could figure it out) and it works great except for one thing. When I tried to install it on my parent's laptop, their antivirus (the free Avast Home Edition) set off an alarm a... | c# | .net | antivirus | null | null | null | open | C# application detected as a virus
===
Regarding the same program as [my question a few minutes ago][1]... I added a setup project and built an MSI for the program (just to see if I could figure it out) and it works great except for one thing. When I tried to install it on my parent's laptop, their antivirus (the fre... | 0 |
20,173 | 08/21/2008 15:02:53 | 1,975 | 08/19/2008 16:30:04 | 36 | 10 | MSTest and NHibernate | Does anyone have any experience getting MSTest to copy hibernate.cfg.xml properly to the output directory? All my MSTests fail with a cannot find hibernate.cfg.xml error (I have it set to Copy Always), but my MBUnit tests pass. | nhibernate | mbunit | mstest | null | null | null | open | MSTest and NHibernate
===
Does anyone have any experience getting MSTest to copy hibernate.cfg.xml properly to the output directory? All my MSTests fail with a cannot find hibernate.cfg.xml error (I have it set to Copy Always), but my MBUnit tests pass. | 0 |
20,185 | 08/21/2008 15:12:48 | 392 | 08/05/2008 12:29:07 | 511 | 31 | Is there a way to make a constructor only visible to a parent class in C#? | I have a collection of classes that inherit from an abstract class I created. I'd like to use the abstract class as a factory for creating instances of concrete implementations of my abstract class.
Is there any way to hide a constructor from all code except a parent class.
I'd like to do this basically
p... | c# | inheritance | oop | null | null | null | open | Is there a way to make a constructor only visible to a parent class in C#?
===
I have a collection of classes that inherit from an abstract class I created. I'd like to use the abstract class as a factory for creating instances of concrete implementations of my abstract class.
Is there any way to hide a constructo... | 0 |
20,198 | 08/21/2008 15:14:44 | 40 | 08/01/2008 12:48:12 | 1,796 | 159 | How do Yellow Screens display code? | I thought .Net code gets compiled into MSIL, so I always wondered how do Yellow Screens produce the faulty code. If it's executing the compiled code, how is the compiler able to produce code from the source files in the error message?
Feel free to edit this question/title, I know it doesn't really make sense. | .net | yellow-screen | null | null | null | null | open | How do Yellow Screens display code?
===
I thought .Net code gets compiled into MSIL, so I always wondered how do Yellow Screens produce the faulty code. If it's executing the compiled code, how is the compiler able to produce code from the source files in the error message?
Feel free to edit this question/title, I... | 0 |
20,201 | 08/21/2008 15:15:41 | 1,744 | 08/18/2008 12:04:57 | 38 | 0 | Broken chart images in Crystal Reports in web application | I hve a collection of crystal reports that contain charts. The look fine locally and when printed, but when viewing them through a web application using a CrystalReportViewer the charts dispay as broken images. Viewing the properties of the broken image show the url as "...CrystalImageHandler.aspx?dynamicimage=cr_tmp... | webapplications | crystal-reports | null | null | null | null | open | Broken chart images in Crystal Reports in web application
===
I hve a collection of crystal reports that contain charts. The look fine locally and when printed, but when viewing them through a web application using a CrystalReportViewer the charts dispay as broken images. Viewing the properties of the broken image s... | 0 |
20,206 | 08/21/2008 15:16:45 | 1,940 | 08/19/2008 14:38:08 | 39 | 6 | Where can I find decent visio templates/diagrams for software architecture? | Anyone have any good urls for templates or diagram examples in Visio 2007 to be used in software architecture? | templates | visio | null | null | null | null | open | Where can I find decent visio templates/diagrams for software architecture?
===
Anyone have any good urls for templates or diagram examples in Visio 2007 to be used in software architecture? | 0 |
20,207 | 08/21/2008 15:16:53 | 206 | 08/03/2008 13:35:14 | 364 | 34 | Does the Microsoft Report Viewer Redistributable 2008 really require .NET Framework version 3.5? | I'm packaging up a .NET 2.0 based web app for deployment through a Windows Installer based package. Our app uses Report Viewer 2008 and I'm including the Microsoft Report Viewer Redistributable 2008 installer. When I check the [download page for Report Viewer 2008][1], it lists .NET 3.5 as a requirement.
Is havi... | reportviewer2008 | deployment | webdeploymentproject | .net-3.5 | null | null | open | Does the Microsoft Report Viewer Redistributable 2008 really require .NET Framework version 3.5?
===
I'm packaging up a .NET 2.0 based web app for deployment through a Windows Installer based package. Our app uses Report Viewer 2008 and I'm including the Microsoft Report Viewer Redistributable 2008 installer. When I... | 0 |
20,227 | 08/21/2008 15:25:22 | 1,486 | 08/15/2008 20:42:23 | 11 | 3 | How do I use 3des encryption/decryption in Java? | Every method I write to encode a string in Java using 3DES can't be decrypted back to the original string. Does anyone have a simple code snippet that can just encode and then decode a string? | java | 3des | encryption | null | null | null | open | How do I use 3des encryption/decryption in Java?
===
Every method I write to encode a string in Java using 3DES can't be decrypted back to the original string. Does anyone have a simple code snippet that can just encode and then decode a string? | 0 |
20,232 | 08/21/2008 15:26:42 | 2,025 | 08/19/2008 20:59:50 | 31 | 7 | What languages should I learn before Uni? | This time next year I'll have my A level results and hopefully a Computer Science place at a university. At the moment I'm fairly competent in PHP but I'd like to use the next year to learn something new that would help me next year.
So what languages would benefit me at the moment? At the moment I'm thinking about ... | computer-science | university | null | null | null | 07/28/2012 13:50:52 | not constructive | What languages should I learn before Uni?
===
This time next year I'll have my A level results and hopefully a Computer Science place at a university. At the moment I'm fairly competent in PHP but I'd like to use the next year to learn something new that would help me next year.
So what languages would benefit me a... | 4 |
20,233 | 08/21/2008 15:27:23 | 2,313 | 08/21/2008 15:27:23 | 1 | 0 | Audio player on Windows Mobile | I'm trying to develop specialized audio player for windows mobile devices (Professional ones). And I've ran into the problem an once.
There no compressed audio APIs on WM or I was unable to found house in documentation. Yes there are WM6 Sound API but it cannot even pause playback or seek to specified position. Ther... | windows-mobile | null | null | null | null | null | open | Audio player on Windows Mobile
===
I'm trying to develop specialized audio player for windows mobile devices (Professional ones). And I've ran into the problem an once.
There no compressed audio APIs on WM or I was unable to found house in documentation. Yes there are WM6 Sound API but it cannot even pause playback... | 0 |
20,245 | 08/21/2008 15:30:28 | 1,801 | 08/18/2008 16:01:48 | 41 | 6 | Process raw HTTP request content | I am doing an e-commerce solution in ASP.NET which uses [PayPal's Website Payments Standard](https://www.paypal.com/IntegrationCenter/ic_standard_home.html) service. Together with that I use a service they offer ([Payment Data Transfer](https://www.paypal.com/IntegrationCenter/ic_pdt.html)) that sends you back order in... | asp.net | http | e-commerce | null | null | null | open | Process raw HTTP request content
===
I am doing an e-commerce solution in ASP.NET which uses [PayPal's Website Payments Standard](https://www.paypal.com/IntegrationCenter/ic_standard_home.html) service. Together with that I use a service they offer ([Payment Data Transfer](https://www.paypal.com/IntegrationCenter/ic_p... | 0 |
20,249 | 08/21/2008 15:31:45 | 1,907 | 08/19/2008 13:23:16 | 1 | 0 | ILMerge and Web Resources | We're attemtping to merge our DLL's into one for deployment, thus ILMerge. Almost everything seems to work great. We have a couple web controls that use `ClientScript.RegisterClientScriptResource` and these are 404-ing after the merge (These worked before the merge).
For example one of our controls would look like... | c# | asp.net | ilmerge | webresource | null | null | open | ILMerge and Web Resources
===
We're attemtping to merge our DLL's into one for deployment, thus ILMerge. Almost everything seems to work great. We have a couple web controls that use `ClientScript.RegisterClientScriptResource` and these are 404-ing after the merge (These worked before the merge).
For example one ... | 0 |
20,262 | 08/21/2008 15:34:46 | 769 | 08/08/2008 17:19:27 | 28 | 2 | Refactoring for Testability on an existing system | I've joined a team that works on a product. This product has been around for ~5 years or so, and uses ASP.NET WebForms. Its original architecture has faded over time, and things have become relatively disorganized throughout the solution. It's by no means terrible, but definitely can use some work; you all know what I ... | asp.net | refactoring | automated-tests | null | null | null | open | Refactoring for Testability on an existing system
===
I've joined a team that works on a product. This product has been around for ~5 years or so, and uses ASP.NET WebForms. Its original architecture has faded over time, and things have become relatively disorganized throughout the solution. It's by no means terrible,... | 0 |
20,263 | 08/21/2008 15:34:55 | 1,982 | 08/19/2008 16:54:34 | 115 | 5 | Is there a Profiler equivalent for MySql? | "Microsoft SQL Server Profiler is a graphical user interface to SQL Trace for monitoring an instance of the Database Engine or Analysis Services."
I find using SQL Server Profiler extremely useful during development, testing and when I am debugging database application problems. Does anybody know if there is an equi... | database | mysql | mssql | null | null | null | open | Is there a Profiler equivalent for MySql?
===
"Microsoft SQL Server Profiler is a graphical user interface to SQL Trace for monitoring an instance of the Database Engine or Analysis Services."
I find using SQL Server Profiler extremely useful during development, testing and when I am debugging database application ... | 0 |
20,267 | 08/21/2008 15:36:24 | 1,436 | 08/15/2008 15:43:19 | 328 | 19 | Best way to replace tokens in a large text template | I have a large text template which needs tokenized sections replaced by other text. The tokens look something like this: ##USERNAME##. My first instinct is just to use String.Replace(), but is there a better, more efficient way or is Replace() already optimized for this? | c# | .net | null | null | null | null | open | Best way to replace tokens in a large text template
===
I have a large text template which needs tokenized sections replaced by other text. The tokens look something like this: ##USERNAME##. My first instinct is just to use String.Replace(), but is there a better, more efficient way or is Replace() already optimized ... | 0 |
20,272 | 08/21/2008 15:39:07 | 1,105 | 08/12/2008 12:05:29 | 11 | 5 | Why doesn't 'shell' work in VBscript in VS6? | In a macro for Visual Studio 6, I wanted to run an external program, so I typed:
shell("p4 open " + ActiveDocument.FullName)
Which gave me a type mismatch runtime error. What I ended up having to type was this:
Dim wshShell
Set wshShell = CreateObject("WScript.Shell")
strResult = wshShell.Run... | visual-studio | vbscript | null | null | null | null | open | Why doesn't 'shell' work in VBscript in VS6?
===
In a macro for Visual Studio 6, I wanted to run an external program, so I typed:
shell("p4 open " + ActiveDocument.FullName)
Which gave me a type mismatch runtime error. What I ended up having to type was this:
Dim wshShell
Set wshShell = CreateObj... | 0 |
20,281 | 08/21/2008 15:41:02 | 1,351 | 08/14/2008 17:22:50 | 41 | 3 | Offline forms | Anyone doing any work using "offline" forms? We have an application that requires inputting data from outside our company. I was thinking about sending a form out via email, allowing the form to be filled out then sent back. Obviously a web application would be the best solution, but management doesn't seem ready to... | forms | offline | null | null | null | null | open | Offline forms
===
Anyone doing any work using "offline" forms? We have an application that requires inputting data from outside our company. I was thinking about sending a form out via email, allowing the form to be filled out then sent back. Obviously a web application would be the best solution, but management do... | 0 |
20,286 | 08/21/2008 15:42:20 | 722 | 08/08/2008 11:37:05 | 522 | 29 | Associating source and search keywords with account creation | As a part of the signup process for my online application, I'm thinking of tracking the source and/or search keywords used to get to my site. This would allow me to see what advertising is working and from where with a somewhat finer grain than Google Analytics would.
I assume I could set some kind of cookie with th... | ruby-on-rails | cookies | seo | null | null | null | open | Associating source and search keywords with account creation
===
As a part of the signup process for my online application, I'm thinking of tracking the source and/or search keywords used to get to my site. This would allow me to see what advertising is working and from where with a somewhat finer grain than Google An... | 0 |
20,298 | 08/21/2008 15:45:24 | 2,260 | 08/21/2008 11:39:22 | 35 | 2 | How to stop an animation in C# / WPF? | I have something like this:
<pre>
barProgress.BeginAnimation(RangeBase.ValueProperty, new DoubleAnimation(
barProgress.Value, dNextProgressValue,
new Duration(TimeSpan.FromSeconds(dDuration)));
</pre>
Now, how would you stop that animation (the `DoubleAnimation`)? The reason I want to do this, is beca... | c# | wpf | null | null | null | null | open | How to stop an animation in C# / WPF?
===
I have something like this:
<pre>
barProgress.BeginAnimation(RangeBase.ValueProperty, new DoubleAnimation(
barProgress.Value, dNextProgressValue,
new Duration(TimeSpan.FromSeconds(dDuration)));
</pre>
Now, how would you stop that animation (the `DoubleAnimati... | 0 |
20,309 | 08/21/2008 15:48:56 | 1,874 | 08/19/2008 02:05:31 | 21 | 4 | What's the best way to manage a classic asp front-end using Visual Studio 2008? | I support a third party system that uses COM, classic ASP, and SQL Server. Our company has gone to using TFS as our source control provider - which pushes things through Visual Studio. So, what's the best way to get a classic asp front-end into Visual Studio? | visual-studio | classicasp | teamfoundationserver | null | null | null | open | What's the best way to manage a classic asp front-end using Visual Studio 2008?
===
I support a third party system that uses COM, classic ASP, and SQL Server. Our company has gone to using TFS as our source control provider - which pushes things through Visual Studio. So, what's the best way to get a classic asp fro... | 0 |
20,321 | 08/21/2008 15:53:23 | 744 | 08/08/2008 13:43:38 | 76 | 1 | One database or many? | I am developing a website that will manage data for multiple entities. No data is shared between entities, but they may be owned by the same customer. A customer may want to manage all their entities from a single "dashboard". So should I have one database for everything, or keep the data seperated into individual d... | performance | database-design | maintainability | null | null | null | open | One database or many?
===
I am developing a website that will manage data for multiple entities. No data is shared between entities, but they may be owned by the same customer. A customer may want to manage all their entities from a single "dashboard". So should I have one database for everything, or keep the data ... | 0 |
20,322 | 08/21/2008 15:54:14 | 1,585 | 08/16/2008 21:03:55 | 21 | 4 | How do I log uncaught exceptions in PHP? | I've found out how to convert errors into exceptions, and I display them nicely if they aren't caught, but I don't know how to log them in a useful way. Simply writing them to a file won't be useful, will it? And would you risk accessing a database, when you don't know what caused the exception yet? | php | exception | error-handling | error-logging | null | null | open | How do I log uncaught exceptions in PHP?
===
I've found out how to convert errors into exceptions, and I display them nicely if they aren't caught, but I don't know how to log them in a useful way. Simply writing them to a file won't be useful, will it? And would you risk accessing a database, when you don't know what... | 0 |
20,326 | 08/21/2008 15:55:12 | 1,782 | 08/18/2008 14:30:58 | 290 | 21 | Double postback problem | I have a ASP.NET 1.1 application, and I'm trying to find out why when I change a ComboBox which value is used to fill another one (parent-child relation), two postbacks are produced.
I have checked and checked the code, and I can't find the cause.
Here are both call stacks which end in a page_load
First postba... | asp.net | .net-1.1 | null | null | null | null | open | Double postback problem
===
I have a ASP.NET 1.1 application, and I'm trying to find out why when I change a ComboBox which value is used to fill another one (parent-child relation), two postbacks are produced.
I have checked and checked the code, and I can't find the cause.
Here are both call stacks which end i... | 0 |
20,327 | 08/21/2008 15:55:43 | 42 | 08/01/2008 13:00:11 | 650 | 25 | Code Review vs. Check In often? | Following Jeff's article about [checking in often][1], some commenters couldn't resist spewing "Welcome to obvious land!" kind of comments. That's understandable, in most situation it's obvious that checking in as soon as something is finished before proceeding to the next feature is the way to go.
For me, it just r... | sourcecontrol | codereview | codinghorror | null | null | null | open | Code Review vs. Check In often?
===
Following Jeff's article about [checking in often][1], some commenters couldn't resist spewing "Welcome to obvious land!" kind of comments. That's understandable, in most situation it's obvious that checking in as soon as something is finished before proceeding to the next feature i... | 0 |
20,336 | 08/21/2008 15:57:36 | 2,171 | 08/20/2008 18:04:57 | 1 | 1 | State of Registers After Bootup | This is a low level question. For a little bit of context, I'm working on a boot loader on an x86 machine.
When the BIOS copies the contents of the MBR to 0x7c00 and jumps to that address, is there a standard meaning to the contents of the registers? Do the registers have standard values?
I know that the segment ... | hardware | boot | null | null | null | null | open | State of Registers After Bootup
===
This is a low level question. For a little bit of context, I'm working on a boot loader on an x86 machine.
When the BIOS copies the contents of the MBR to 0x7c00 and jumps to that address, is there a standard meaning to the contents of the registers? Do the registers have standar... | 0 |
20,346 | 08/21/2008 15:59:39 | 1,595 | 08/17/2008 08:00:50 | 284 | 13 | C#: What are attributes? | What are they, what are they good for, and how to I create my own? | c# | .net | attributes | null | null | null | open | C#: What are attributes?
===
What are they, what are they good for, and how to I create my own? | 0 |
20,376 | 08/21/2008 16:08:34 | 1,100 | 08/12/2008 11:58:29 | 38 | 4 | JavaScript Profiler in IE | Does anyone know a tool for Profiling JavaScript in IE? | javascript | performance | internet-explorer | profiling | null | null | open | JavaScript Profiler in IE
===
Does anyone know a tool for Profiling JavaScript in IE? | 0 |
20,386 | 08/21/2008 16:11:34 | 380 | 08/05/2008 10:39:18 | 1,528 | 142 | Memory Leaks in .Net | What are all the possible ways in which we can get memory leaks in .Net. I know of two:
1. Not properly un-registering [Event Handlers/Delegates](http://diditwith.net/PermaLink,guid,fcf59145-3973-468a-ae66-aaa8df9161c7.aspx).
2. Not disposing dynamic child controls in Windows Forms:
Example:
// Causes Le... | .net | optimization | memory-leaks | null | null | 04/18/2012 18:24:35 | not constructive | Memory Leaks in .Net
===
What are all the possible ways in which we can get memory leaks in .Net. I know of two:
1. Not properly un-registering [Event Handlers/Delegates](http://diditwith.net/PermaLink,guid,fcf59145-3973-468a-ae66-aaa8df9161c7.aspx).
2. Not disposing dynamic child controls in Windows Forms:
Exa... | 4 |
20,389 | 08/21/2008 16:12:45 | 1,453 | 08/15/2008 16:41:37 | 46 | 5 | Deploying InfoPath forms to different SharePoint servers | How do you manage deploying InfoPath forms to different sharepoint servers? Is there a better way to deal all the data connections being site-specific without opening the forms, editing the data connections and republishing for each environment?
| sharepoint | moss | infopath | null | null | null | open | Deploying InfoPath forms to different SharePoint servers
===
How do you manage deploying InfoPath forms to different sharepoint servers? Is there a better way to deal all the data connections being site-specific without opening the forms, editing the data connections and republishing for each environment?
| 0 |
20,391 | 08/21/2008 16:12:53 | 1,946 | 08/19/2008 14:53:06 | 76 | 3 | Script to backup svn repository to network share | I have a svn repo on my machine. Anyone have a script to back it up to a network share? | svn | administration | null | null | null | null | open | Script to backup svn repository to network share
===
I have a svn repo on my machine. Anyone have a script to back it up to a network share? | 0 |
20,392 | 08/21/2008 16:12:58 | 2,086 | 08/20/2008 10:43:39 | 31 | 4 | Is it OK to drop sql statistics? | We've been trying to alter a lot of columns from nullable to not nullable, which involves dropping all the associated objects, making the change, and recreating the associated objects.
We've been using SQL Compare to generate the scripts, but I noticed that SQL Compare doesn't script statistic objects. Does this mea... | sql | sql-server | scripting | statistics | null | null | open | Is it OK to drop sql statistics?
===
We've been trying to alter a lot of columns from nullable to not nullable, which involves dropping all the associated objects, making the change, and recreating the associated objects.
We've been using SQL Compare to generate the scripts, but I noticed that SQL Compare doesn't s... | 0 |
20,420 | 08/21/2008 16:18:41 | 1,120 | 08/12/2008 13:45:53 | 221 | 12 | Any ReSharper equivalent for Xcode? | I'm a complete Xcode/Objective-C/Cocoa newbie but I'm learning fast and really starting to enjoy getting to grips with a new language, platform and paradigm.
One thing is though, having been using Visual Studio with R# for so long I've kind of been spoiled with the coding tools such as refactorings and completion et... | mac | osx | objectivec | xcode | null | null | open | Any ReSharper equivalent for Xcode?
===
I'm a complete Xcode/Objective-C/Cocoa newbie but I'm learning fast and really starting to enjoy getting to grips with a new language, platform and paradigm.
One thing is though, having been using Visual Studio with R# for so long I've kind of been spoiled with the coding too... | 0 |
20,426 | 08/21/2008 16:20:12 | 1,343 | 08/14/2008 15:46:01 | 88 | 15 | How to maintain a recursive invariant in a MySQL database? | I have a tree encoded in a MySQL database as edges:
CREATE TABLE items (
num INT,
tot INT,
PRIMARY KEY (num)
);
CREATE TABLE tree (
orig INT,
term INT
FOREIGN KEY (orig,term) REFERENCES items (num,num)
)
For each leaf in the tree, it... | mysql | algorithm | datastructure | insanity | null | null | open | How to maintain a recursive invariant in a MySQL database?
===
I have a tree encoded in a MySQL database as edges:
CREATE TABLE items (
num INT,
tot INT,
PRIMARY KEY (num)
);
CREATE TABLE tree (
orig INT,
term INT
FOREIGN KEY (orig,term) REFERE... | 0 |
20,450 | 08/21/2008 16:30:49 | 1,508 | 08/16/2008 02:29:14 | 41 | 5 | Cleaning up RTF text | I'd like to take some RTF input and clean it to remove all RTF formatting except \ul \b \i to paste it into Word with minor format information.
The command used to paste into Word will be something like:
oWord.ActiveDocument.ActiveWindow.Selection.PasteAndFormat(0) (with some RTF text already in the Clipboard)
... | .net | vb.net | word | rtf | null | null | open | Cleaning up RTF text
===
I'd like to take some RTF input and clean it to remove all RTF formatting except \ul \b \i to paste it into Word with minor format information.
The command used to paste into Word will be something like:
oWord.ActiveDocument.ActiveWindow.Selection.PasteAndFormat(0) (with some RTF text alre... | 0 |
20,463 | 08/21/2008 16:35:20 | 1,797 | 08/18/2008 15:46:11 | 546 | 32 | What is the point of interfaces in PHP? | Interfaces allow you to create code which defines the methods of classes that implement it. You cannot however add any code to those methods.
Abstract classes allow you to do the same thing, along with adding code to the method.
Now if you can achieve the same goal with abstract classes, why do we even need the... | oop | php | java | c++ | theory | null | open | What is the point of interfaces in PHP?
===
Interfaces allow you to create code which defines the methods of classes that implement it. You cannot however add any code to those methods.
Abstract classes allow you to do the same thing, along with adding code to the method.
Now if you can achieve the same goal w... | 0 |
20,465 | 08/21/2008 16:36:12 | 940 | 08/10/2008 19:58:38 | 115 | 4 | .NET - Excel ListObject autosizing on databind | I'm developing an Excel 2007 add-in using Visual Studio Tools for Office (2008). I have one sheet with several ListObjects on it, which are being bound to datatables on startup. When they are bound, they autosize correctly.
The problem comes when they are re-bound. I have a custom button on the ribbon bar which g... | c# | .net | excel | data-binding | vsto | null | open | .NET - Excel ListObject autosizing on databind
===
I'm developing an Excel 2007 add-in using Visual Studio Tools for Office (2008). I have one sheet with several ListObjects on it, which are being bound to datatables on startup. When they are bound, they autosize correctly.
The problem comes when they are re-boun... | 0 |
20,467 | 08/21/2008 16:38:29 | 1,490 | 08/15/2008 21:35:24 | 64 | 15 | Path Display in Label | Are there any automatic methods for trimming a path string in .NET?
For example:
C:\Documents and Settings\nick\My Documents\EMG Tests\demo data\demo data.emt
becomes
C:\Documents...\demo data.emt
It would be particularly cool if this were built into the Label class, and I seem to recall it is--c... | c# | winforms | path | null | null | null | open | Path Display in Label
===
Are there any automatic methods for trimming a path string in .NET?
For example:
C:\Documents and Settings\nick\My Documents\EMG Tests\demo data\demo data.emt
becomes
C:\Documents...\demo data.emt
It would be particularly cool if this were built into the Label class, an... | 0 |
20,484 | 08/21/2008 16:45:48 | 71 | 08/01/2008 15:05:56 | 911 | 91 | Use a LIKE clause in part of an INNER JOIN | Can/Should I use a LIKE criteria as part of an INNER JOIN when building a stored procedure/query? I'm not sure I'm asking the right thing, so let me explain.
I'm creating a procedure that is going to take a list of keywords to be searched for in a column that contains text. If I was sitting at the console, I'd execu... | sqlquery | pattern | sql | null | null | null | open | Use a LIKE clause in part of an INNER JOIN
===
Can/Should I use a LIKE criteria as part of an INNER JOIN when building a stored procedure/query? I'm not sure I'm asking the right thing, so let me explain.
I'm creating a procedure that is going to take a list of keywords to be searched for in a column that contains ... | 0 |
20,507 | 08/21/2008 16:54:34 | 1,143 | 08/12/2008 18:58:24 | 178 | 14 | Give me awesome Visual Studio keyboard short cuts! | I know a few that I like.
ALT+SHIFT+F10 then ENTER which automatically adds the "using" at the top if i'm referencing an object that I haven't put the namespace in for yet.
CTRL + +
or
CTRL + -
Which moves you back and forward to which file and method you are/were looking at which is very handy when used in ... | visual-studio | null | null | null | null | null | open | Give me awesome Visual Studio keyboard short cuts!
===
I know a few that I like.
ALT+SHIFT+F10 then ENTER which automatically adds the "using" at the top if i'm referencing an object that I haven't put the namespace in for yet.
CTRL + +
or
CTRL + -
Which moves you back and forward to which file and method y... | 0 |
20,510 | 08/21/2008 16:55:09 | 1,638 | 08/17/2008 17:58:57 | 81 | 7 | Executing JavaScript from Flex: Is this javascript function dangerous? | I have a flex application that needs the ability to generate and execute JavaScript. When I say this, I mean I need to execute raw JavaScript that I create in my Flex application (not just an existing JavaScript method)
I am currently doing this by exposing the following JavaScript method:
function doScript(j... | javascript | flex | exploit | null | null | null | open | Executing JavaScript from Flex: Is this javascript function dangerous?
===
I have a flex application that needs the ability to generate and execute JavaScript. When I say this, I mean I need to execute raw JavaScript that I create in my Flex application (not just an existing JavaScript method)
I am currently doing ... | 0 |
20,511 | 08/21/2008 16:55:17 | 1,574 | 08/16/2008 19:31:12 | 43 | 6 | How do you unit test web apps hosted remotely? | I'm familiar with TDD and use it in both my workplace and my home-brewed web applications. However, every time I have used TDD in a web application, I have had the luxury of having full access to the web server. That means that I can update the server then run my unit tests directly from the server. My question is, ... | tdd | unit-testing | web-application | null | null | null | open | How do you unit test web apps hosted remotely?
===
I'm familiar with TDD and use it in both my workplace and my home-brewed web applications. However, every time I have used TDD in a web application, I have had the luxury of having full access to the web server. That means that I can update the server then run my un... | 0 |
20,522 | 08/21/2008 16:59:15 | 1,769 | 08/18/2008 13:35:40 | 124 | 7 | Error installing iKernel.exe | Has anybody come across this problem during an application install?
- OS is Windows Server 2k3
I do have local Admin access and I have installed this application on other machines.
Any help much appreciated, Google isn't helping much
| windows-server-2003 | null | null | null | null | null | open | Error installing iKernel.exe
===
Has anybody come across this problem during an application install?
- OS is Windows Server 2k3
I do have local Admin access and I have installed this application on other machines.
Any help much appreciated, Google isn't helping much
| 0 |
20,529 | 08/21/2008 17:01:20 | 2,329 | 08/21/2008 16:46:54 | 1 | 0 | Useful Eclipse features? | I have been using Eclipse as an IDE for a short amount of time (about 3 months of full use) and almost every day I learn about some shortcut or feature that I had absolutely no idea about. For instance, just today I learned that Ctrl+3 was the shortcut for a Quick Access window.
I was wondering what your most usefu... | eclipse | null | null | null | null | null | open | Useful Eclipse features?
===
I have been using Eclipse as an IDE for a short amount of time (about 3 months of full use) and almost every day I learn about some shortcut or feature that I had absolutely no idea about. For instance, just today I learned that Ctrl+3 was the shortcut for a Quick Access window.
I was ... | 0 |
20,533 | 08/21/2008 17:03:25 | 1,384,652 | 08/01/2008 12:01:23 | 1,179 | 66 | Mac text/code editor | I searched for this and found [Maudite's][1] question about [text editors][2] but they were all for Windows.
As you have no doubt guessed, I am trying to find out if there are any text/code editors for the Mac besides what I know of. I'll edit my post to include editors listed.
**Free**
1. [Textwrangler][4]
... | mac | editor | null | null | null | 04/02/2012 19:34:54 | not constructive | Mac text/code editor
===
I searched for this and found [Maudite's][1] question about [text editors][2] but they were all for Windows.
As you have no doubt guessed, I am trying to find out if there are any text/code editors for the Mac besides what I know of. I'll edit my post to include editors listed.
**Free**
... | 4 |
20,564 | 08/21/2008 17:13:40 | 20 | 08/01/2008 12:09:11 | 258 | 19 | What constitutes beautiful code? | For anyone that is passionate about software development, I'm of the opinion that you should always strive to write beautiful code; however, is there a clear definition for what beautiful code really is?
On one hand, I see elegant code being something that's very easy to read while simultaneously solving the problem... | language-agnostic | null | null | null | null | null | open | What constitutes beautiful code?
===
For anyone that is passionate about software development, I'm of the opinion that you should always strive to write beautiful code; however, is there a clear definition for what beautiful code really is?
On one hand, I see elegant code being something that's very easy to read wh... | 0 |
20,575 | 08/21/2008 17:17:51 | 2,104 | 08/20/2008 11:52:59 | 51 | 5 | Direct link from Yellow Screen to line in code | I've been looking for a while for this, and having been thinking about creating it myself, but hadn't got the feeling I knew the right point to start.
I would like to have a link on the Yellow Screen that would directly jump to the correct line in Visual Studio. Anyone seen this or done this?
If it needs another ... | asp.net | yellow-screen | null | null | null | null | open | Direct link from Yellow Screen to line in code
===
I've been looking for a while for this, and having been thinking about creating it myself, but hadn't got the feeling I knew the right point to start.
I would like to have a link on the Yellow Screen that would directly jump to the correct line in Visual Studio. An... | 0 |
20,586 | 08/21/2008 17:21:01 | 373 | 08/05/2008 09:37:52 | 185 | 20 | WPF Image UriSource and Data Binding | I'm trying to bind a list of custom objects to a WPF Image like this:
<Image>
<Image.Source>
<BitmapImage UriSource="{Binding Path=ImagePath}" />
</Image.Source>
</Image>
But it doesn't work. This is the error I'm getting:
*"Property 'UriSource' or property 'StreamSource... | .net | wpf | data-binding | xaml | null | null | open | WPF Image UriSource and Data Binding
===
I'm trying to bind a list of custom objects to a WPF Image like this:
<Image>
<Image.Source>
<BitmapImage UriSource="{Binding Path=ImagePath}" />
</Image.Source>
</Image>
But it doesn't work. This is the error I'm getting:
*"Prop... | 0 |
20,587 | 08/21/2008 17:21:21 | 1,950 | 08/19/2008 14:57:18 | 21 | 1 | Execute stored procedure (SQL 2005) and place results into a CSV file on a FTP location | I want to get the results of a stored procedure and place them into a CSV file onto a FTP location.
The catch though is that I cannot create a local/temporary file that I can then FTP over.
The approach I was taking was to use an SSIS package to create a temporary file and then have a FTP Task within the pack to ... | sql-server | ftp | ssis | null | null | null | open | Execute stored procedure (SQL 2005) and place results into a CSV file on a FTP location
===
I want to get the results of a stored procedure and place them into a CSV file onto a FTP location.
The catch though is that I cannot create a local/temporary file that I can then FTP over.
The approach I was taking was t... | 0 |
20,597 | 08/21/2008 17:26:18 | 2,025 | 08/19/2008 20:59:50 | 81 | 18 | FTP in NetBeans 6.1 | Is there an FTP browser hiding away in NetBeans 6.1? The help manual doesn't even suggest FTP exists.
All I've been able to find so far is a tree viewer in the Services panel (no edit controls) and the ability to upload projects, folders and specific files from the Projects/Files views. Is there anywhere to delete ... | ftp | netbeans | null | null | null | null | open | FTP in NetBeans 6.1
===
Is there an FTP browser hiding away in NetBeans 6.1? The help manual doesn't even suggest FTP exists.
All I've been able to find so far is a tree viewer in the Services panel (no edit controls) and the ability to upload projects, folders and specific files from the Projects/Files views. Is ... | 0 |
20,598 | 08/21/2008 17:26:23 | 572 | 08/06/2008 20:56:54 | 993 | 84 | If I have a PHP string in the format YYYY-DD-MM and a timestamp in MySQL, is there a good way to convert between them? | I'm interested in doing comparisons between the date string and the MySQL timestamp. However, I'm not seeing an easy conversion. Am I overlooking something obvious? | php | mysql | date | time | timestamp | null | open | If I have a PHP string in the format YYYY-DD-MM and a timestamp in MySQL, is there a good way to convert between them?
===
I'm interested in doing comparisons between the date string and the MySQL timestamp. However, I'm not seeing an easy conversion. Am I overlooking something obvious? | 0 |
20,611 | 08/21/2008 17:31:27 | 1,965 | 08/19/2008 15:51:08 | 465 | 28 | Removing nodes from an XmlDocument | The following code should find the appropriate project tag and remove it from the XmlDocument, however when I test it, it says:
**The node to be removed is not a child of this node.**
Does anyone know the proper way to do this?
public void DeleteProject (string projectName)
{
string ccConfigP... | xml | c# | .net | xmldocument | null | null | open | Removing nodes from an XmlDocument
===
The following code should find the appropriate project tag and remove it from the XmlDocument, however when I test it, it says:
**The node to be removed is not a child of this node.**
Does anyone know the proper way to do this?
public void DeleteProject (string proje... | 0 |
20,627 | 08/21/2008 17:39:03 | 547 | 08/06/2008 16:09:22 | 459 | 35 | why are downloads sometimes tagged md5, sha1 and other hash indicators? | I've seen this all over the place:
> Download here! SHA1 =
> 8e1ed2ce9e7e473d38a9dc7824a384a9ac34d7d0
what does it mean? how does a hash come into play as far as downloads and... what use can I make of it? Is this a legacy item where you used to have to verify some checksum after you downloaded the whole file?... | hash | download | checksum | null | null | null | open | why are downloads sometimes tagged md5, sha1 and other hash indicators?
===
I've seen this all over the place:
> Download here! SHA1 =
> 8e1ed2ce9e7e473d38a9dc7824a384a9ac34d7d0
what does it mean? how does a hash come into play as far as downloads and... what use can I make of it? Is this a legacy item where ... | 0 |
20,658 | 08/21/2008 17:52:09 | 1,490 | 08/15/2008 21:35:24 | 86 | 17 | Determine if my PC supports HW Virtualization | How, in general, does one determine if a PC supports hardware virtualization? I use VirtualPC to set up parallel test environments and I'd enjoy a bit of a speed boost. | virtualization | virtual-pc | null | null | null | null | open | Determine if my PC supports HW Virtualization
===
How, in general, does one determine if a PC supports hardware virtualization? I use VirtualPC to set up parallel test environments and I'd enjoy a bit of a speed boost. | 0 |
20,663 | 08/21/2008 17:56:10 | 1,793 | 08/18/2008 15:34:34 | 13 | 1 | Do you use AOP (Aspect Oriented Programming) in production software? | AOP is an interesting programming paradigm in my opinion. However, there haven't been discussions about it yet here on stackoverflow (at least I couldn't find them). What do you think about it in general? Do you use AOP in your projects? Or do you think it's rather a niche technology that won't be around for a long tim... | technologies | aop | paradigms | null | null | null | open | Do you use AOP (Aspect Oriented Programming) in production software?
===
AOP is an interesting programming paradigm in my opinion. However, there haven't been discussions about it yet here on stackoverflow (at least I couldn't find them). What do you think about it in general? Do you use AOP in your projects? Or do yo... | 0 |
20,674 | 08/21/2008 18:02:04 | 1,190 | 08/13/2008 12:15:38 | 511 | 42 | Is there a way to call a private Class method from an instance in Ruby? | Other than `self.class.send :method, args...`, of course. I'd like to make a rather complex method available at both the class and instance level without duplicating the code. | ruby | scope | visibility | null | null | null | open | Is there a way to call a private Class method from an instance in Ruby?
===
Other than `self.class.send :method, args...`, of course. I'd like to make a rather complex method available at both the class and instance level without duplicating the code. | 0 |
20,675 | 08/21/2008 18:02:48 | 357 | 08/05/2008 01:29:23 | 870 | 56 | ASP/VBScript - Int() vs CInt() | What is the difference in ASP/VBScript between Int() & CInt()? | asp | vbscript | null | null | null | null | open | ASP/VBScript - Int() vs CInt()
===
What is the difference in ASP/VBScript between Int() & CInt()? | 0 |
20,684 | 08/21/2008 18:07:33 | 689 | 08/07/2008 20:33:45 | 29 | 2 | Linq to SQL - Underlying Column Length | I've been using Linq to SQL for some time now and I find it to be really helpful and easy to use. With other ORM tools I've used in the past, the entity object filled from the database normally has a property indicating the length of the underlying data column in the database. This is helpful in databinding situations ... | linq-to-sql | null | null | null | null | null | open | Linq to SQL - Underlying Column Length
===
I've been using Linq to SQL for some time now and I find it to be really helpful and easy to use. With other ORM tools I've used in the past, the entity object filled from the database normally has a property indicating the length of the underlying data column in the database... | 0 |
20,696 | 08/21/2008 18:13:01 | 1,084 | 08/12/2008 11:01:49 | 162 | 24 | How do I declare a list of fixed length in specman? | In E (specman) I want to declare variables that are lists, and I want to fix their lengths.
It's easy to do for a member of a struct:
thread[2] : list of thread_t;
while for a "regular" variable in a function the above doesn't work, and I have to do something like:
var warned : list of bool;
... | specman | null | null | null | null | null | open | How do I declare a list of fixed length in specman?
===
In E (specman) I want to declare variables that are lists, and I want to fix their lengths.
It's easy to do for a member of a struct:
thread[2] : list of thread_t;
while for a "regular" variable in a function the above doesn't work, and I have ... | 0 |
20,702 | 08/21/2008 18:16:55 | 1,988 | 08/19/2008 17:42:59 | 21 | 1 | What's your/a good limit for cyclomatic complexity? | Our customers have begun to impose cyclomatic complexity requirements on the software within our products, and our internal process "improvement" group has decided to make cyclomatic complexity part of our coding standards. Both the customer and our internal group have set their (recommendation for an) upper limit at 1... | complexity | coding-style | null | null | null | null | open | What's your/a good limit for cyclomatic complexity?
===
Our customers have begun to impose cyclomatic complexity requirements on the software within our products, and our internal process "improvement" group has decided to make cyclomatic complexity part of our coding standards. Both the customer and our internal grou... | 0 |
20,709 | 08/21/2008 18:23:18 | 1,430 | 08/15/2008 15:29:36 | 18 | 6 | Which PHP Framework will get me to a usable UI the fastest? | There are a lot of php mvc frameworks out there now. Which one will get me to a frontend, a backend, a user system with permissions the fastest.
I like the look of things like [Symfony][1] or [Codeigniter][2] but there seems to be a lot of re-inventing the wheel involved.
Every web application is going to have s... | php | null | null | null | null | null | open | Which PHP Framework will get me to a usable UI the fastest?
===
There are a lot of php mvc frameworks out there now. Which one will get me to a frontend, a backend, a user system with permissions the fastest.
I like the look of things like [Symfony][1] or [Codeigniter][2] but there seems to be a lot of re-inventin... | 0 |
20,718 | 08/21/2008 18:29:42 | 533 | 08/06/2008 15:17:04 | 392 | 24 | Testing .NET code in partial trust environments | I want to test the behavior of a certain piece of .NET code in partial trust environments. What's the fastest way to set this up? Feel free to assume that I (and other readers) are total CAS noobs. | .net | cas | null | null | null | null | open | Testing .NET code in partial trust environments
===
I want to test the behavior of a certain piece of .NET code in partial trust environments. What's the fastest way to set this up? Feel free to assume that I (and other readers) are total CAS noobs. | 0 |
20,722 | 08/21/2008 18:30:49 | 375 | 08/05/2008 09:55:57 | 104 | 4 | Browser version detection with Silverlight | How can I efficiently and effectively detect the version and, for that matter, any available information, of the version of [Silverlight][1] currently running on the browser?
[1]: http://silverlight.net/ | silverlight | internet | browser | ria | null | null | open | Browser version detection with Silverlight
===
How can I efficiently and effectively detect the version and, for that matter, any available information, of the version of [Silverlight][1] currently running on the browser?
[1]: http://silverlight.net/ | 0 |
20,728 | 08/21/2008 18:35:04 | 1,321 | 08/14/2008 14:09:30 | 1 | 0 | What's the best way to create ClickOnce deployments | Our team develops distributed winform apps. We use ClickOnce for deployment and are very pleased with it.
However, we've found the pain point with ClickOnce is in _creating_ the deployments. We have the standard dev/test/production environments and need to be able to create deployments for each of these that insta... | winforms | deployment | clickonce | null | null | null | open | What's the best way to create ClickOnce deployments
===
Our team develops distributed winform apps. We use ClickOnce for deployment and are very pleased with it.
However, we've found the pain point with ClickOnce is in _creating_ the deployments. We have the standard dev/test/production environments and need to b... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.