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
46,930
09/05/2008 21:29:34
4,794
09/05/2008 16:11:30
41
4
Reference material for LabVIEW
I'm supposed to learn how to use [LabVIEW][1] for my new job, and I'm wondering if anybody can recommend some good books or reference/tutorial web sites. I'm a senior developer with lots of Java/C#/C++ experience. I realize that this question is perhaps more vague than is intended on stack overflow, so how about ...
tutorials
labview
null
null
null
null
open
Reference material for LabVIEW === I'm supposed to learn how to use [LabVIEW][1] for my new job, and I'm wondering if anybody can recommend some good books or reference/tutorial web sites. I'm a senior developer with lots of Java/C#/C++ experience. I realize that this question is perhaps more vague than is inten...
0
46,938
09/05/2008 21:33:48
1,463
08/15/2008 17:26:44
434
33
How do you convert an aspx or master page file to page and code behind?
I have a project where a .master page was created without a code behind page. Now I want to add a code behind page for this .master page and move the "in page" code to the code behind file. What is the best/easiest way to go about doing this? I'm using Visual Studio 2008.
vs2008
null
null
null
null
null
open
How do you convert an aspx or master page file to page and code behind? === I have a project where a .master page was created without a code behind page. Now I want to add a code behind page for this .master page and move the "in page" code to the code behind file. What is the best/easiest way to go about doing this? ...
0
46,960
09/05/2008 21:46:57
829
08/09/2008 06:18:18
25
3
What your favorite desk for a developer's home office?
I'd like to know what you think the best desk for a developer is. Size and price aren't a huge factor. I recently started working from home and am in need of a new desk solution. I already got my HM Mirra (sooooo yummy!), but wanted to trade up my CostCo folding table for something better. I'm thinking [adjustable][...
desk
homeoffice
workfromhome
null
null
10/24/2011 14:15:29
not constructive
What your favorite desk for a developer's home office? === I'd like to know what you think the best desk for a developer is. Size and price aren't a huge factor. I recently started working from home and am in need of a new desk solution. I already got my HM Mirra (sooooo yummy!), but wanted to trade up my CostCo fo...
4
46,981
09/05/2008 22:04:39
580
08/06/2008 22:30:28
1,227
93
Silverlight DataBinding cross thread issue
I have an Image control with it's source bound to a property on an object(string url to an image). After making a service call, i update the data object with a new URL. The exception is thrown after it leaves my code, after invoking the PropertyChanged event. The data structure and the service logic are all done...
silverlight
data-binding
null
null
null
null
open
Silverlight DataBinding cross thread issue === I have an Image control with it's source bound to a property on an object(string url to an image). After making a service call, i update the data object with a new URL. The exception is thrown after it leaves my code, after invoking the PropertyChanged event. The d...
0
46,982
09/05/2008 22:04:39
2,649
08/23/2008 22:57:29
26
3
Javascript and CSS parsing performance
I am trying to improve the performance of a web application. I have metrics that I can use to optimise the time taken to return the main HTML page, but I'm concerned about the external CSS and Javascript files that are included from these HTML pages. These are served statically, with HTTP Expires headers, but are sha...
javascript
css
performance
null
null
null
open
Javascript and CSS parsing performance === I am trying to improve the performance of a web application. I have metrics that I can use to optimise the time taken to return the main HTML page, but I'm concerned about the external CSS and Javascript files that are included from these HTML pages. These are served static...
0
46,987
09/05/2008 22:12:32
255
08/04/2008 05:46:02
539
18
Rotate Windows XP Desktop
My LCD rotates. The software that comes with my ATI card to rotate the desktop just crashes. Is there any other way to rotate a Windows XP Desktop by 90 degree increments? I am looking for either software or code (any language is fine.) I know I have seen this before, but I can't find it now. I realize this may ...
productivity
desktop
monitor
windows-xp
null
null
open
Rotate Windows XP Desktop === My LCD rotates. The software that comes with my ATI card to rotate the desktop just crashes. Is there any other way to rotate a Windows XP Desktop by 90 degree increments? I am looking for either software or code (any language is fine.) I know I have seen this before, but I can't find...
0
47,005
09/05/2008 22:32:26
4,563
09/04/2008 18:02:58
11
3
MySQL UTF/Unicode migration tips
Does anyone have any tips or gotcha moments to look out for when trying to migrate MySQL tables from the the default case-insenstive swedish or ascii charsets to utf-8? Some of the projects that I'm involved in are striving for better internationalization and the database is going to be a significant part of this chang...
mysql
unicode
utf8
internationalization
null
null
open
MySQL UTF/Unicode migration tips === Does anyone have any tips or gotcha moments to look out for when trying to migrate MySQL tables from the the default case-insenstive swedish or ascii charsets to utf-8? Some of the projects that I'm involved in are striving for better internationalization and the database is going ...
0
47,007
09/05/2008 22:36:02
2,102
08/20/2008 11:37:35
164
19
Determining the last changelist synced to in Perforce
A question that occasionally arises is what is the best way to determine the changelist that you last synced to in Perforce. This is often needed for things like injecting the changelist number into the revision info by the automatic build system.
perforce
null
null
null
null
null
open
Determining the last changelist synced to in Perforce === A question that occasionally arises is what is the best way to determine the changelist that you last synced to in Perforce. This is often needed for things like injecting the changelist number into the revision info by the automatic build system.
0
47,009
09/05/2008 22:37:23
327
08/04/2008 17:08:49
643
43
What languages support covariance on inherited methods' return types?
I discovered that the cause of my problems (see [question][1]) was the lack of support in C# for covariance on inherited methods' return types. Now I'm curious what languages support this feature. Accepted answer will be whoever can name the most. [1]: http://stackoverflow.com/questions/46933/why-doesnt-inheri...
oop
c#
java
programming-languages
null
null
open
What languages support covariance on inherited methods' return types? === I discovered that the cause of my problems (see [question][1]) was the lack of support in C# for covariance on inherited methods' return types. Now I'm curious what languages support this feature. Accepted answer will be whoever can name the m...
0
47,022
09/05/2008 22:47:46
1,412
08/15/2008 15:05:57
591
39
"Phantom" directories in an SVN repository
I've somehow managed to get an SVN repository into a bad state. I've moved a directory and now I can't commit it in its new location. As far as `svn status` is concerned, the directory is unknown (the name of the directory is `type`). <pre> $ svn status ? type </pre> When I try to add the directory, the ...
svn
null
null
null
null
null
open
"Phantom" directories in an SVN repository === I've somehow managed to get an SVN repository into a bad state. I've moved a directory and now I can't commit it in its new location. As far as `svn status` is concerned, the directory is unknown (the name of the directory is `type`). <pre> $ svn status ? type ...
0
47,026
09/05/2008 22:49:28
1,368
08/14/2008 18:57:47
162
10
Recursive function for an xml file (hierarchial data).
I want to recursively traverse an XML file, and need a little help with the C# code. My XML file looks like: <pre> @categories@ @category id="1"@ @/category@ @category id="2"@ @category id="3"@ @/category@ @category id="4"@ @category id="5"# #/category# #/category# @/category@ @/cate...
xml
recursion
null
null
null
null
open
Recursive function for an xml file (hierarchial data). === I want to recursively traverse an XML file, and need a little help with the C# code. My XML file looks like: <pre> @categories@ @category id="1"@ @/category@ @category id="2"@ @category id="3"@ @/category@ @category id="4"@ @cat...
0
47,045
09/05/2008 23:05:35
4,498
09/04/2008 08:55:23
11
3
Sprintf in Java
Printf got added to Java with the 1.5 release but I can't seem to find how to send the output to a string rather than a file (which is what sprintf does in C). Does anyone know how to do this?
java
null
null
null
null
null
open
Sprintf in Java === Printf got added to Java with the 1.5 release but I can't seem to find how to send the output to a string rather than a file (which is what sprintf does in C). Does anyone know how to do this?
0
47,052
09/05/2008 23:08:06
4,843
09/05/2008 23:02:34
1
0
What code would I use to convert a SQL like expression to a regex on the fly?
I'm looking to convert a SQL like statement on the fly to the equivalent regex i.e. LIKE '%this%' LIKE 'Sm_th' LIKE '[C-P]arsen' What's the best approach to doing this?
sql
regex
tsql
like
null
null
open
What code would I use to convert a SQL like expression to a regex on the fly? === I'm looking to convert a SQL like statement on the fly to the equivalent regex i.e. LIKE '%this%' LIKE 'Sm_th' LIKE '[C-P]arsen' What's the best approach to doing this?
0
47,066
09/05/2008 23:21:18
159
08/02/2008 18:20:52
353
6
"getting" path in linux
I am writing a c program in linux. Commands like execv() require a path in the form of a c string. Is there a command that will return the current path in the form of a c style string?
c
linux
operating-system
null
null
null
open
"getting" path in linux === I am writing a c program in linux. Commands like execv() require a path in the form of a c string. Is there a command that will return the current path in the form of a c style string?
0
47,089
09/05/2008 23:34:53
4,846
09/05/2008 23:21:25
1
0
Best way in asp.net to force https for an entire site?
About 6 months ago I rolled out a site where every request needed to be over https. The only way at the time I could find to ensure that every request to a page was over https was to check it in the page load event. If the request was not over http I would response.redirect("https://mysite.com") Is there a better ...
c#
asp.net
vb.net
webforms
https
null
open
Best way in asp.net to force https for an entire site? === About 6 months ago I rolled out a site where every request needed to be over https. The only way at the time I could find to ensure that every request to a page was over https was to check it in the page load event. If the request was not over http I would r...
0
47,104
09/05/2008 23:53:47
4,407
09/03/2008 14:57:06
123
10
Slow SQL Query due to inner and left join?
Can anyone explain this behavior or how to get around it? If you execute this query: select * from TblA left join freetexttable ( TblB, *, 'query' ) on TblA.ID = [Key] inner join DifferentDbCatalog.dbo.TblC on TblA.ID = TblC.TblAID It will be very very very slow. If you change that query...
sql-server
performance
freetext
null
null
null
open
Slow SQL Query due to inner and left join? === Can anyone explain this behavior or how to get around it? If you execute this query: select * from TblA left join freetexttable ( TblB, *, 'query' ) on TblA.ID = [Key] inner join DifferentDbCatalog.dbo.TblC on TblA.ID = TblC.TblAID It will be ...
0
47,107
09/05/2008 23:57:14
3,641
08/29/2008 16:32:49
585
31
ClickOnce disallow publishing of Debug builds
Is there any way to disallow publishing of debug builds with ClickOnce? I only want to allow Release builds through, but right now human error causes a debug build to slip in once in a while.
clickonce
null
null
null
null
null
open
ClickOnce disallow publishing of Debug builds === Is there any way to disallow publishing of debug builds with ClickOnce? I only want to allow Release builds through, but right now human error causes a debug build to slip in once in a while.
0
47,133
09/06/2008 00:30:17
3,749
08/30/2008 14:35:49
1
1
Migrating to a GUI witout losing business logic written in COBOL
We maintain a system that has over a million lines of COBOL code. Does someone have suggestions about how to migrate to a GUI (probably Windows based) without losing all the business logic we have written in COBOL? And yes, some of the business logic is buried inside of the current user interface.
gui
cobol
busines-logic
code-migration
null
null
open
Migrating to a GUI witout losing business logic written in COBOL === We maintain a system that has over a million lines of COBOL code. Does someone have suggestions about how to migrate to a GUI (probably Windows based) without losing all the business logic we have written in COBOL? And yes, some of the business logic...
0
47,137
09/06/2008 00:37:41
1,556
08/16/2008 16:41:03
465
18
Can you recommend "Software Masterpiece"?
I found there is "Software Masterpiece" from [c2.com][1]. Reading and studying these kinds of software codes will be great step being better programmer. But I want to know more softwares not just listed ones - Qmail, Emacs, Python and etc. Can you recommend "Software Masterpiece"? [1]: http://c2.com/cgi/w...
untagged
null
null
null
null
03/03/2012 01:50:42
not constructive
Can you recommend "Software Masterpiece"? === I found there is "Software Masterpiece" from [c2.com][1]. Reading and studying these kinds of software codes will be great step being better programmer. But I want to know more softwares not just listed ones - Qmail, Emacs, Python and etc. Can you recommend "Softw...
4
47,138
09/06/2008 00:39:01
456,786
09/04/2008 17:42:59
1
1
Who, what, when, where, and why should you codereview?
- Who should be reviewed? - Who should do the reviewing? - What code should be reviewed? (all code? Big changes? Etc) - Where should the review take place? (Does it have to take place in person?) - When should reviews take place? (Incrementally? Before check-ins?) ...
code-review
teamwork
remote-working
personal
null
null
open
Who, what, when, where, and why should you codereview? === - Who should be reviewed? - Who should do the reviewing? - What code should be reviewed? (all code? Big changes? Etc) - Where should the review take place? (Does it have to take place in person?) - When should reviews t...
0
47,144
09/06/2008 00:59:14
4,850
09/06/2008 00:59:14
1
0
Is there a way to ensure entire code block execution in a .NET thread?
In my C# program, I have a thread that represents a running test, which can be aborted by a click on a button labeled "Interrupt execution". In order for the thread (and therefore the test) to terminate in an elegant manner (and do some vital work beforehand), this button is enabled only in some well-defined moments, i...
.net
multithreading
null
null
null
null
open
Is there a way to ensure entire code block execution in a .NET thread? === In my C# program, I have a thread that represents a running test, which can be aborted by a click on a button labeled "Interrupt execution". In order for the thread (and therefore the test) to terminate in an elegant manner (and do some vital w...
0
47,145
09/06/2008 00:59:54
3,147
08/27/2008 01:00:22
65
10
Customising log4j adapter
I want to build my own custom log4j (network) adapter to solve my problem [that I posted here.][1] I have looked at the documentation on the log4j and I cant see where/if the developers go into how to do this. Can anyone point me in the right direction to get started? [1]: http://stackoverflow.com/questions/...
java
log4j
null
null
null
null
open
Customising log4j adapter === I want to build my own custom log4j (network) adapter to solve my problem [that I posted here.][1] I have looked at the documentation on the log4j and I cant see where/if the developers go into how to do this. Can anyone point me in the right direction to get started? [1]: http...
0
47,163
09/06/2008 01:24:19
577
08/06/2008 21:36:25
345
14
How to set the order in subnodes of a tree structure.
I have a tree representation of pages in a CMS application. However, I don't have a good way to: A) Reorder subpages under a prticular parent page. B) Provide a UI implementation that allows the user to change the order. Any suggestions?
treeview
tree
null
null
null
null
open
How to set the order in subnodes of a tree structure. === I have a tree representation of pages in a CMS application. However, I don't have a good way to: A) Reorder subpages under a prticular parent page. B) Provide a UI implementation that allows the user to change the order. Any suggestions?
0
47,167
09/06/2008 01:31:37
4,639
09/04/2008 23:07:22
1
1
Do you know of any "best practice" or "what works" vi tutorial for programmers?
There are thousands of vi tutorials on the web, most of them generically listing all the commands. There are even videos on youtube which show basic functionality. But does anyone know of a vi tutorial which focuses on the needs of programmers? For example when I program in Perl with vi, moving to the "next paragraph"...
vim
null
null
null
null
null
open
Do you know of any "best practice" or "what works" vi tutorial for programmers? === There are thousands of vi tutorials on the web, most of them generically listing all the commands. There are even videos on youtube which show basic functionality. But does anyone know of a vi tutorial which focuses on the needs of pro...
0
47,169
09/06/2008 01:37:52
3,191
08/27/2008 12:32:21
345
18
Is there an event that triggers if the number of ListViewItems in a ListView changes? (Windows Forms)
I'd like to enable/disable some other controls based on how many items are in my `ListView` control. I can't find any event that would do this, either on the `ListView` itself or on the `ListViewItemCollection`. Maybe there's a way to generically watch any collection in C# for changes? I'd be happy with other events...
events
listview
winforms
null
null
null
open
Is there an event that triggers if the number of ListViewItems in a ListView changes? (Windows Forms) === I'd like to enable/disable some other controls based on how many items are in my `ListView` control. I can't find any event that would do this, either on the `ListView` itself or on the `ListViewItemCollection`. M...
0
47,177
09/06/2008 01:44:06
2,783
08/25/2008 03:10:18
403
27
How to monitor the computer's cpu, memory, and disk usage in Java?
I would like to monitor the following system information in Java: - current cpu usage (percent) - available memory* (free/total) - available disk space (free/total) *note that I mean overall memory available to the whole system, not just the JVM I'm looking for a cross-platform solution (Linux, Mac, W...
java
memory
crossplatform
cpu
diskspace
null
open
How to monitor the computer's cpu, memory, and disk usage in Java? === I would like to monitor the following system information in Java: - current cpu usage (percent) - available memory* (free/total) - available disk space (free/total) *note that I mean overall memory available to the whole system, not ...
0
47,198
09/06/2008 02:22:50
680
08/07/2008 17:29:04
504
14
Which Version of Python to Use for Maximum Compatibility
If I was going to start an open source project using Python what version should I use to ensure that the vast majority of users can use it on their system? I'm the kind of person who quickly jumps to the next version (which I'll do when Python 3 comes out) but many people may be more conservative if their current ve...
python
compatibility
null
null
null
null
open
Which Version of Python to Use for Maximum Compatibility === If I was going to start an open source project using Python what version should I use to ensure that the vast majority of users can use it on their system? I'm the kind of person who quickly jumps to the next version (which I'll do when Python 3 comes out...
0
47,203
09/06/2008 02:31:47
2,148
08/20/2008 15:20:13
427
25
SQL Server, nvarchar(MAX) or ntext, image or varbinary?
When should I choose one or the other? What are the implications regarding space and (full-text) indexing? BTW: I'm currently using SQL Server 2005 planing to upgrade to 2008 in the following months. Thanks
tsql
sql-server
sql-types
null
null
null
open
SQL Server, nvarchar(MAX) or ntext, image or varbinary? === When should I choose one or the other? What are the implications regarding space and (full-text) indexing? BTW: I'm currently using SQL Server 2005 planing to upgrade to 2008 in the following months. Thanks
0
47,204
09/06/2008 02:35:41
4,826
09/05/2008 19:45:07
11
1
Best free online Computer Science college courses
I have found the [MIT Open Courseware][1] to be a great resource for free computer science college courses. Every software engineer should be required to take the [Structure and Interpretation of Computer Programs class][2]. [Berkeley][3] and [Carnegie Mellon][4] also provide some great online courses. Are there any...
software-engineering
classes
college
mit
cmu
null
open
Best free online Computer Science college courses === I have found the [MIT Open Courseware][1] to be a great resource for free computer science college courses. Every software engineer should be required to take the [Structure and Interpretation of Computer Programs class][2]. [Berkeley][3] and [Carnegie Mellon][4]...
0
47,206
09/06/2008 02:39:33
3,137
08/26/2008 23:31:53
1
1
How many rows should be in the (main) buffer of a virtual Listview control? (win32, 'c')
How many rows should be in the (main) buffer of a virtual Listview control? I am witting an application in pure 'c' to the Win32 API. There is an ODBC connection to a database which will retrieve the items (actually rows). The sample code implies a fixed size buffer of 30. My thinking is that the buffer s...
winapi
c
null
null
null
null
open
How many rows should be in the (main) buffer of a virtual Listview control? (win32, 'c') === How many rows should be in the (main) buffer of a virtual Listview control? I am witting an application in pure 'c' to the Win32 API. There is an ODBC connection to a database which will retrieve the items (actually rows)....
0
47,207
09/06/2008 02:42:49
2,592
08/23/2008 12:32:00
74
4
Django: Print url of view without hardcoding the url
Can i print out a url (/admin/manage/products/add) of a certain view in a template? Here is the rule i want to create a link for (r'^manage/products/add/$', create_object, {'model': Product, 'post_save_redirect': ''}), I would like to have /manage/products/add in a template without hardcoding it. How can i...
django
python
null
null
null
null
open
Django: Print url of view without hardcoding the url === Can i print out a url (/admin/manage/products/add) of a certain view in a template? Here is the rule i want to create a link for (r'^manage/products/add/$', create_object, {'model': Product, 'post_save_redirect': ''}), I would like to have /manage/p...
0
47,210
09/06/2008 02:47:19
4,161
09/02/2008 07:55:46
407
15
Is there a good Fogbugz client for Mac OS X?
And/or: do I need one? I've recently started using FogBugz for my hobby projects, and I'm very happy with things so far. Having read more about it, especially the evidence-based scheduling, I'd like to start using it for my PhD as well. (Heh; something tells me my supervisors won't be opening tickets for me, though....
osx
fogbugz
null
null
null
null
open
Is there a good Fogbugz client for Mac OS X? === And/or: do I need one? I've recently started using FogBugz for my hobby projects, and I'm very happy with things so far. Having read more about it, especially the evidence-based scheduling, I'd like to start using it for my PhD as well. (Heh; something tells me my su...
0
47,217
09/06/2008 02:55:19
3,123
08/26/2008 19:29:02
16
3
"Cannot change DataType of a column once it has data" error in Visual Studio 2005 DataSet Designer
I've got a DataSet in VisualStudio 2005. I need to change the datatype of a column in one of the datatables from System.Int32 to System.Decimal. When I try to change the datatype in the DataSet Designer I receive the following error: "Property value is not valid. Cannot change DataType of a column once it has dat...
visual-studio
.net-2.0
null
null
null
null
open
"Cannot change DataType of a column once it has data" error in Visual Studio 2005 DataSet Designer === I've got a DataSet in VisualStudio 2005. I need to change the datatype of a column in one of the datatables from System.Int32 to System.Decimal. When I try to change the datatype in the DataSet Designer I receive t...
0
47,225
09/06/2008 03:25:44
4,134
09/01/2008 23:40:41
71
11
How would you migrate hundreds of MS Access databases to a central service?
We have literally 100's of Access databases floating around the network. Some with light usage and some with quite heavy usage, and some no usage whatsoever. What we would like to do is centralise these databases onto a managed database and retain as much as possible of the reports and forms within them. The benefit...
oracle
mssql
ms-access
null
null
null
open
How would you migrate hundreds of MS Access databases to a central service? === We have literally 100's of Access databases floating around the network. Some with light usage and some with quite heavy usage, and some no usage whatsoever. What we would like to do is centralise these databases onto a managed database an...
0
47,234
09/06/2008 03:39:52
4,318
09/02/2008 20:17:30
1
0
Best ASP.NET E-Commerce Framework (aspDotNetStoreFront, AbleCommerce, BVCommerce, MediaChase,...)
I need a full-featured asp.net E-Commerce solution for a project. It needs to be easily extensible as I need to extend it to integrate with a custom Flash based personalization engine. It should also have a great administrative back-end that handles inventory tracking, report, labels, shipping, ... so that the client c...
e-commerce
online
reviews
store
ablecommerce
09/15/2011 07:17:59
not constructive
Best ASP.NET E-Commerce Framework (aspDotNetStoreFront, AbleCommerce, BVCommerce, MediaChase,...) === I need a full-featured asp.net E-Commerce solution for a project. It needs to be easily extensible as I need to extend it to integrate with a custom Flash based personalization engine. It should also have a great admi...
4
47,235
09/06/2008 03:44:23
1,965
08/19/2008 15:51:08
2,997
177
What is .MSPX?
I've noticed a lot of microsoft sites have the *.MSPX extension. While I'm very familiar with ASP.NET, I've not seen this extension before. Does anyone know what this identifies?
.net
asp.net
microsoft
null
null
null
open
What is .MSPX? === I've noticed a lot of microsoft sites have the *.MSPX extension. While I'm very familiar with ASP.NET, I've not seen this extension before. Does anyone know what this identifies?
0
47,239
09/06/2008 03:52:15
4,550
09/04/2008 17:50:43
47
8
How can I generate database tables from C# classes?
Does anyone know a way to auto-generate database tables for a given class? I'm not looking for an entire persistence layer - I already have a data access solution I'm using, but I suddenly have to store a lot of information from a large number of classes and I really don't want to have to create all these tables by ha...
c#
code-generation
data-access
null
null
null
open
How can I generate database tables from C# classes? === Does anyone know a way to auto-generate database tables for a given class? I'm not looking for an entire persistence layer - I already have a data access solution I'm using, but I suddenly have to store a lot of information from a large number of classes and I r...
0
47,248
09/06/2008 04:13:57
4,639
09/04/2008 23:07:22
16
1
Is there a Firefox 3 addon similar to View Source Chart?
Before I upgraded to Firefox 3 I used to constantly use the [View Source Chart Firefox Addon][1] which shows the source HTML in a very organized, graphical form. Unfortunately, this addon is only for Firefox 2 and the beta version for Firefox 3 now costs $10 on the author's site. Anyone know of a similar addon that...
html
css
firefox
addon
null
null
open
Is there a Firefox 3 addon similar to View Source Chart? === Before I upgraded to Firefox 3 I used to constantly use the [View Source Chart Firefox Addon][1] which shows the source HTML in a very organized, graphical form. Unfortunately, this addon is only for Firefox 2 and the beta version for Firefox 3 now costs $10...
0
47,249
09/06/2008 04:17:58
4,859
09/06/2008 03:26:03
1
1
Best programming language to write a Windows File Manager app.
I would like to write my own file manager i.e. something like what XYplorer or Free Commander does but with a feature set that's more helpful to programmers. What's the best language to write this. I'm basically looking for a language that has both rich GUI libraries and a nice wrapper library over the Windows Shell...
c#
windows
winapi
pinvoke
shell32
null
open
Best programming language to write a Windows File Manager app. === I would like to write my own file manager i.e. something like what XYplorer or Free Commander does but with a feature set that's more helpful to programmers. What's the best language to write this. I'm basically looking for a language that has both ...
0
47,253
09/06/2008 04:26:49
4,491
09/04/2008 06:44:23
45
2
How do you set up a python wsgi server under IIS with fastcgi?
I work in a windows environment and would prefer to deploy code to IIS. At the same time I would like to code in python. Having read that IIS can run fastCGI application, I went to the IIS site where it describes in detail how to get PHP up and running but not much about anything else. Does anyone have experience gett...
python
iis
fastcgi
null
null
null
open
How do you set up a python wsgi server under IIS with fastcgi? === I work in a windows environment and would prefer to deploy code to IIS. At the same time I would like to code in python. Having read that IIS can run fastCGI application, I went to the IIS site where it describes in detail how to get PHP up and runnin...
0
47,262
09/06/2008 05:02:37
2,383
08/22/2008 00:17:14
11
2
Storing Windows passwords.
I'm writing an administrative application which will poll multiple Windows systems for various bits of data. In many cases it will use WMI, but in some cases it may need to read remote registry or remotely execute some command or script on the polled system. These functions will require admin-level access to the polled...
windows
password
security
null
null
null
open
Storing Windows passwords. === I'm writing an administrative application which will poll multiple Windows systems for various bits of data. In many cases it will use WMI, but in some cases it may need to read remote registry or remotely execute some command or script on the polled system. These functions will require ...
0
47,278
09/06/2008 06:16:34
3,839
08/31/2008 10:11:12
292
28
How to get the most of out laptop batteries
What strategies should you employ to make laptop batteries last?
osx
laptop
hardware
null
null
08/14/2011 23:29:14
off topic
How to get the most of out laptop batteries === What strategies should you employ to make laptop batteries last?
2
47,279
09/06/2008 06:19:13
3,839
08/31/2008 10:11:12
288
28
Is there any good oracle podcasts
Is there any good oracle podcasts around? The only ones I've found hard been produced by oracle corp, and as such are little more than advertising pieces pushing their technology of the moment.
oracle
podcasts
null
null
null
09/18/2011 02:59:08
not constructive
Is there any good oracle podcasts === Is there any good oracle podcasts around? The only ones I've found hard been produced by oracle corp, and as such are little more than advertising pieces pushing their technology of the moment.
4
47,297
09/06/2008 06:46:02
3,499
08/28/2008 19:39:37
229
21
What's the best way to pass data into a Flex chart from a Ruby on Rails application?
There's at least three ways of passing data into a Flex binary from a Rails application. Right now, I'm using the old e4x resultFormat with a xml.erb template. I've done AMF before, but I feel like inlining parameters into the embed itself is a better solution because you don't have to wait for the browser to load a ...
flex
ruby
ruby-on-rails
null
null
null
open
What's the best way to pass data into a Flex chart from a Ruby on Rails application? === There's at least three ways of passing data into a Flex binary from a Rails application. Right now, I'm using the old e4x resultFormat with a xml.erb template. I've done AMF before, but I feel like inlining parameters into the e...
0
47,309
09/06/2008 07:36:31
157
08/02/2008 17:42:25
656
39
GODI installation issue
I'm trying to install [GODI][1] on linux (Ubuntu). It's a library management tool for the ocaml language. I've actually installed this before --twice, but awhile ago-- with no issues --that I can remember-- but this time I just can't figure out what I'm missing. $ ./bootstrap --prefix <<path>>/godi $ ./boot...
linux
ocaml
godi
null
null
null
open
GODI installation issue === I'm trying to install [GODI][1] on linux (Ubuntu). It's a library management tool for the ocaml language. I've actually installed this before --twice, but awhile ago-- with no issues --that I can remember-- but this time I just can't figure out what I'm missing. $ ./bootstrap --prefi...
0
47,323
09/06/2008 08:21:35
1,583
08/16/2008 20:54:12
257
10
Top tips for secure web applications
I am looking for easy steps that are simple and effective in making a web application more secure. What are your top tips for secure web applications, and what kind of attack will they stop?
security
web-application
null
null
null
null
open
Top tips for secure web applications === I am looking for easy steps that are simple and effective in making a web application more secure. What are your top tips for secure web applications, and what kind of attack will they stop?
0
47,329
09/06/2008 08:30:22
3,263
08/27/2008 15:33:09
48
7
UserControl rendering: write link to current page?
I'm implementing a custom control and in this control I need to write a bunch of links to the current page, each one with a different query parameter. I need to keep existing query string intact, and add (or modify the value of ) an extra query item (eg. "page"): "Default.aspx?page=1" "Default.aspx?page=2"...
asp.net
web-applications
custom-server-controls
null
null
null
open
UserControl rendering: write link to current page? === I'm implementing a custom control and in this control I need to write a bunch of links to the current page, each one with a different query parameter. I need to keep existing query string intact, and add (or modify the value of ) an extra query item (eg. "page"):...
0
47,338
09/06/2008 08:49:26
1,812
08/18/2008 06:17:54
11
6
ASP.NET MVC Preview 5 routing ambiguity
I have a problem with a sample routing with the preview 5 of asp.net mvc. In the AccountController I have 2 actions: public ActionResult Delete() public ActionResult Delete(string username) While trying to look for Account/Delete or Account/Delete?username=davide the ControllerActionInvoker throws a excepti...
asp.net-mvc
routing
null
null
null
null
open
ASP.NET MVC Preview 5 routing ambiguity === I have a problem with a sample routing with the preview 5 of asp.net mvc. In the AccountController I have 2 actions: public ActionResult Delete() public ActionResult Delete(string username) While trying to look for Account/Delete or Account/Delete?username=davide...
0
47,340
09/06/2008 08:52:34
4,869
09/06/2008 08:52:34
1
0
Versioning library like SQLite database library?
I like how SQLite library can be included into an application and the application has a full-fledged database to use. Similarly, is there an open source versioning library that I can include into my application so that I can save versions of files as well as do diffs and merges?
version-control
opensource
null
null
null
null
open
Versioning library like SQLite database library? === I like how SQLite library can be included into an application and the application has a full-fledged database to use. Similarly, is there an open source versioning library that I can include into my application so that I can save versions of files as well as do d...
0
47,343
09/06/2008 09:00:17
1,196
08/13/2008 12:33:04
2,056
138
Do you know any WPF based text editor control?
Note that I'm not looking for something based on TextBox or RichTextBox. What I'm interested in is a text editing control written from scratch using [WPF typography][1] features. Open source would be a plus. [1]: http://msdn.microsoft.com/en-us/library/ms742190.aspx
wpf
usercontrols
null
null
null
null
open
Do you know any WPF based text editor control? === Note that I'm not looking for something based on TextBox or RichTextBox. What I'm interested in is a text editing control written from scratch using [WPF typography][1] features. Open source would be a plus. [1]: http://msdn.microsoft.com/en-us/library/ms74219...
0
47,363
09/06/2008 10:02:26
4,704
09/05/2008 10:18:28
56
4
How do you list all triggers in a MySQL database?
What is the MySQL command to list all triggers in a MySQL database?
mysql
null
null
null
null
null
open
How do you list all triggers in a MySQL database? === What is the MySQL command to list all triggers in a MySQL database?
0
47,366
09/06/2008 10:06:32
3,389
08/28/2008 11:59:00
1
0
SQL Compare-Like tool for Oracle?
We're a .NET team which uses the Oracle DB for a lot of reasons that I won't get into. But deployment has been a bitch. We are manually keeping track of all the changes to the schema in each version, by keeping a record of all the scripts that we run during development. Now, if a developer forgets to check-in his s...
oracle
sql-compare
null
null
null
null
open
SQL Compare-Like tool for Oracle? === We're a .NET team which uses the Oracle DB for a lot of reasons that I won't get into. But deployment has been a bitch. We are manually keeping track of all the changes to the schema in each version, by keeping a record of all the scripts that we run during development. Now, i...
0
47,374
09/06/2008 10:43:39
4,160
09/02/2008 07:15:12
96
2
Best practices re: LINQ To SQL as a data access layer
Part of the web application I'm working on is an area displaying messages from management to 1...n users. I have a DataAccess project that contains the LINQ to SQL classes, and a website project that is the UI. My database looks like this: User -> MessageDetail <- Message <- MessageCategory MessageDetail is a joi...
linq-to-sql
asp.net
linq
null
null
null
open
Best practices re: LINQ To SQL as a data access layer === Part of the web application I'm working on is an area displaying messages from management to 1...n users. I have a DataAccess project that contains the LINQ to SQL classes, and a website project that is the UI. My database looks like this: User -> MessageDet...
0
47,376
09/06/2008 10:48:06
46
08/01/2008 13:13:21
822
42
How can I monitor the executed sql statements on a ms SQL server 2005
In a project of mine the SQL statements that are executed against a ms SQL server are failing for some unknown reason. Some of the code is already used in production so debugging it is not an easy task. Therefore I need a way to see in the database itself what SQL statements are used, as the statements are generated at...
sql
sql-server
sql2005
query
monitoring
null
open
How can I monitor the executed sql statements on a ms SQL server 2005 === In a project of mine the SQL statements that are executed against a ms SQL server are failing for some unknown reason. Some of the code is already used in production so debugging it is not an easy task. Therefore I need a way to see in the datab...
0
47,387
09/06/2008 11:24:53
115
08/02/2008 05:44:40
933
105
Setting Up MySQL Triggers
I've been hearing about triggers, and I have a few questions.<br /> What are triggers?<br /> How do I set them up?<br /> Are there any precautions, aside from typical SQL stuff, that should be taken?
mysql
triggers
null
null
null
null
open
Setting Up MySQL Triggers === I've been hearing about triggers, and I have a few questions.<br /> What are triggers?<br /> How do I set them up?<br /> Are there any precautions, aside from typical SQL stuff, that should be taken?
0
47,394
09/06/2008 11:36:34
4,061
09/01/2008 15:48:37
38
1
Are there any Open Source / Free Software alternatives to ATG?
ATG is a suite services built on top of J2EE which uses it's own proprietary flavor of ORM (like Hibernate but not), dependency injection (like Spring but not), and JSP tag libraries to offer and integrate services like customer profiling and targeting, e-commerce (shopping cart, billing, inventory, etc.), e-mail blast...
java-ee
foss
atg
null
null
null
open
Are there any Open Source / Free Software alternatives to ATG? === ATG is a suite services built on top of J2EE which uses it's own proprietary flavor of ORM (like Hibernate but not), dependency injection (like Spring but not), and JSP tag libraries to offer and integrate services like customer profiling and targeting...
0
47,400
09/06/2008 11:58:29
3,811
08/31/2008 00:05:35
51
3
Best way to test a MS Access application?
With the code, forms and data inside the same database I am wondering what are the best practices to design a suite of tests for a Microsoft Access application (say for Access 2007). One of the main issues with testing forms is that only a few controls have a hwnd handle and other controls only get one they have foc...
database
unit-testing
ms-access
vba
null
null
open
Best way to test a MS Access application? === With the code, forms and data inside the same database I am wondering what are the best practices to design a suite of tests for a Microsoft Access application (say for Access 2007). One of the main issues with testing forms is that only a few controls have a hwnd handl...
0
47,402
09/06/2008 12:09:57
4,279
09/02/2008 16:10:17
1
0
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.
taken from [here][1] >>> reversewords = lambda s: " ".join(reversed(s.split())) #NOTE: it does not meet the requirements! >>> reversewords("this is a string") string a is this It should be O(N) in time and O(1) in space (no *split* allowed). [1]: http://halcyon.usc.edu/~kiran/msqs.html#pr...
language-agnostic
algorithm
microsoft
interview-questions
puzzle
null
open
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it. === taken from [here][1] >>> reversewords = lambda s: " ".join(reversed(s.split())) #NOTE: it does not meet the requirements! >>> reversewords("this is a string...
0
47,405
09/06/2008 12:15:50
1,709
08/18/2008 07:05:30
697
64
Where can I find (old) scientific articles (and books)?
Often when reading books I find references to old studies, essays and articles that I would like to take a closer look at. Now, the problem is, how do I find them? Popular and semi-popular books can often be found on Amazon or other book stores, but what about that out-of-print book from 1945, or the classic study o...
reference
research
null
null
null
03/24/2012 23:16:37
off topic
Where can I find (old) scientific articles (and books)? === Often when reading books I find references to old studies, essays and articles that I would like to take a closer look at. Now, the problem is, how do I find them? Popular and semi-popular books can often be found on Amazon or other book stores, but what a...
2
47,413
09/06/2008 12:37:41
4,873
09/06/2008 09:14:56
11
4
MS-Access design pattern for last value for a grouping
It's common to have a table where for example the the fields are account, value, and time. What's the best design pattern for retrieving the last value for each account? Unfortunately the last keyword in a grouping gives you the last physical record in the database, not the last record by any sorting. Which means IM...
ms-access
null
null
null
null
null
open
MS-Access design pattern for last value for a grouping === It's common to have a table where for example the the fields are account, value, and time. What's the best design pattern for retrieving the last value for each account? Unfortunately the last keyword in a grouping gives you the last physical record in the d...
0
47,414
09/06/2008 12:37:55
3,854
08/31/2008 11:41:21
1
2
Standard way to merge Entities in LlblGenPro
I start with an entity A with primary key A1, it has child collections B and C, but they are empty, because I haven't prefetched them. I now get a new occurrence of A (A prime) with primary key A1 with the child collections B and C filled. What is a good way to get the A and A prime to be the same object and to get...
c#
orm
llblgenpro
null
null
null
open
Standard way to merge Entities in LlblGenPro === I start with an entity A with primary key A1, it has child collections B and C, but they are empty, because I haven't prefetched them. I now get a new occurrence of A (A prime) with primary key A1 with the child collections B and C filled. What is a good way to get ...
0
47,420
09/06/2008 12:45:21
4,891
09/06/2008 12:41:07
1
0
How can I break on exception using ddbg
I'm using the d programing language to write a program, and I'm trying to use ddbg to debug it. When there is an exception, I want to have the program break whenever there is an exception thrown so that I can inspect the stack. Alternatively, is there another debugger that works with d? Is there another way to get...
d
null
null
null
null
null
open
How can I break on exception using ddbg === I'm using the d programing language to write a program, and I'm trying to use ddbg to debug it. When there is an exception, I want to have the program break whenever there is an exception thrown so that I can inspect the stack. Alternatively, is there another debugger th...
0
47,427
09/06/2008 13:00:32
3,171
08/27/2008 06:27:02
887
22
Why do some websites add "Slugs" to the end of URLs?
Many websites, including this one, add what are apparently called *slugs* - descriptive but as far as I can tell useless bits of text - to the end of URLs. For example, the URL the site gives for the FAQ is: http://beta.stackoverflow.com/questions/18557/how-does-stackoverflow-work-the-unofficial-faq But th...
web
null
null
null
null
null
open
Why do some websites add "Slugs" to the end of URLs? === Many websites, including this one, add what are apparently called *slugs* - descriptive but as far as I can tell useless bits of text - to the end of URLs. For example, the URL the site gives for the FAQ is: http://beta.stackoverflow.com/questions/1855...
0
47,432
09/06/2008 13:05:24
4,694
09/05/2008 09:30:26
11
2
Would you recommend using "The C5 Generic Collection Library for C# and CLI" based on your experience with it ?
This free collection library comes from IT University of Copenhagen. [http://www.itu.dk/research/c5/][1] There is a video with one of the authors on Channel 9. I am trying to learn how to use these collections and I was wondering whether anyone has more experiences or what are your thoughts on this specific col...
.net
collections
null
null
null
null
open
Would you recommend using "The C5 Generic Collection Library for C# and CLI" based on your experience with it ? === This free collection library comes from IT University of Copenhagen. [http://www.itu.dk/research/c5/][1] There is a video with one of the authors on Channel 9. I am trying to learn how to use th...
0
47,433
09/06/2008 13:05:42
292
08/04/2008 13:14:31
538
30
subselect vs outer join
Consider the following 2 queries: select tblA.a,tblA.b,tblA.c,tblA.d from tblA where tblA.a not in (select tblB.a from tblB) select tblA.a,tblA.b,tblA.c,tblA.d from tblA left outer join tblB on tblA.a = tblB.a where tblB.a is null Which will perform better? My assumption is that in general the j...
sql-server
database
performance
null
null
null
open
subselect vs outer join === Consider the following 2 queries: select tblA.a,tblA.b,tblA.c,tblA.d from tblA where tblA.a not in (select tblB.a from tblB) select tblA.a,tblA.b,tblA.c,tblA.d from tblA left outer join tblB on tblA.a = tblB.a where tblB.a is null Which will perform better? My assump...
0
47,436
09/06/2008 13:07:36
3,854
08/31/2008 11:41:21
1
2
What is the shortcut key for Run to cursor
What is the shortcut key for Run to cursor in visual studio 2008?
visual-studio
shortcut
null
null
null
null
open
What is the shortcut key for Run to cursor === What is the shortcut key for Run to cursor in visual studio 2008?
0
47,447
09/06/2008 13:15:49
3,894
08/31/2008 18:32:32
23
0
Child spans of the same width
I am trying to create a horizontal menu with the elements represented by &lt;span&gt;s. The menu itself (parent &lt;div&gt;) has a fixed width, but the elements number is always different. I would like to have child spans of the same width, independently of how many of them are there. What I've done so far: added...
html
css
null
null
null
null
open
Child spans of the same width === I am trying to create a horizontal menu with the elements represented by &lt;span&gt;s. The menu itself (parent &lt;div&gt;) has a fixed width, but the elements number is always different. I would like to have child spans of the same width, independently of how many of them are the...
0
47,468
09/06/2008 13:47:54
4,494
09/04/2008 07:05:41
77
8
A Well-Designed Web App GUI Framework?
As one of those people that never got around to properly learning design (or having no talent for it), the design seems to be the step always holding me back. It's not a problem for rich-clients, as the standard GUI toolkits provide some acceptable ways to design a good-looking interface, but the web is another story. ...
html
css
design
framework
user-interface
null
open
A Well-Designed Web App GUI Framework? === As one of those people that never got around to properly learning design (or having no talent for it), the design seems to be the step always holding me back. It's not a problem for rich-clients, as the standard GUI toolkits provide some acceptable ways to design a good-looki...
0
47,475
09/06/2008 13:59:55
4,642
09/04/2008 23:22:08
193
9
Are unit-test names important?
If unit-test names can become outdated over time and if you consider that the test itself is the most important thing, then is it important to choose wise test names? ie [Test] public void ShouldValidateUserNameIsLessThan100Characters() {} verse [Test] public void UserNameTestValidation1...
unit-testing
null
null
null
null
null
open
Are unit-test names important? === If unit-test names can become outdated over time and if you consider that the test itself is the most important thing, then is it important to choose wise test names? ie [Test] public void ShouldValidateUserNameIsLessThan100Characters() {} verse [Test] ...
0
47,483
09/06/2008 14:11:38
4,233
09/02/2008 13:24:50
1
0
Passing switches to Xcode 3.1 user scripts
I have a user script that would be much more useful if it could dynamically change some of its execution dependent on what the user wanted. Passing simple switches would easily solve this problem but I don't see any way to do it. I also tried embedding a keyword in the script name, but Xcode copies the script to a ...
script
xcode
user
arguments
null
null
open
Passing switches to Xcode 3.1 user scripts === I have a user script that would be much more useful if it could dynamically change some of its execution dependent on what the user wanted. Passing simple switches would easily solve this problem but I don't see any way to do it. I also tried embedding a keyword in th...
0
47,486
09/06/2008 14:16:50
2,841
08/25/2008 13:38:48
131
11
Tips for database design in a web application
Does someone have any tips/advice on database design for a web application? The kind of stuff that can save me a lot of time/effort in the future when/if the application I'm working on takes off and starts having a lot of usage. To be a bit more specific, the application is a strategy game (browser based, just text)...
database-design
web-application
null
null
null
null
open
Tips for database design in a web application === Does someone have any tips/advice on database design for a web application? The kind of stuff that can save me a lot of time/effort in the future when/if the application I'm working on takes off and starts having a lot of usage. To be a bit more specific, the applic...
0
47,487
09/06/2008 14:21:25
4,906
09/06/2008 14:21:25
1
0
Create a variable in .CSS file for use within that .CSS file
We have some "theme colors" that are reused in our CSS sheet. Is there a way to set a variable and then reuse it? E.g., .css OurColor: Blue { H1 color:OurColor; }
css
null
null
null
null
null
open
Create a variable in .CSS file for use within that .CSS file === We have some "theme colors" that are reused in our CSS sheet. Is there a way to set a variable and then reuse it? E.g., .css OurColor: Blue { H1 color:OurColor; }
0
47,495
09/06/2008 14:29:47
4,903
09/06/2008 14:16:54
1
0
What language do I use to program behavior for electronic devices?
It is very difficult to find information on programming hardware or electronic devices that are not an actual desktop computer, laptop or server. A few instances that I am speaking of are kid's toys like Bop It, or how about a control system for the home, or even something like Pleo or a mobile phone? I mean, if I want...
hardware
electronics
behavior
null
null
null
open
What language do I use to program behavior for electronic devices? === It is very difficult to find information on programming hardware or electronic devices that are not an actual desktop computer, laptop or server. A few instances that I am speaking of are kid's toys like Bop It, or how about a control system for th...
0
47,519
09/06/2008 14:52:07
3,206
08/27/2008 13:08:13
1
1
How to make your website look the same on Linux
I have a fairly standards compliant XHTML+CSS site that looks great on all browsers on PC and Mac. The other day I saw it on FF3 on Linux and the letter spacing was slightly larger, throwing everything out of whack and causing unwanted wrapping and clipping of text. The CSS in question has font-size: 11px; ...
linux
css
null
null
null
null
open
How to make your website look the same on Linux === I have a fairly standards compliant XHTML+CSS site that looks great on all browsers on PC and Mac. The other day I saw it on FF3 on Linux and the letter spacing was slightly larger, throwing everything out of whack and causing unwanted wrapping and clipping of text. ...
0
47,521
09/06/2008 14:53:45
4,789
09/05/2008 15:45:19
11
2
Using yield to iterate over a datareader might not close the connection?
Here is a sample code to retrieve data from a database using the yield keyword that I found in a few place while googling around : public IEnumerable<object> ExecuteSelect(string commandText) { using (IDbConnection connection = CreateConnection()) { using (IDbCommand cmd = Cr...
.net-2.0
yield
null
null
null
null
open
Using yield to iterate over a datareader might not close the connection? === Here is a sample code to retrieve data from a database using the yield keyword that I found in a few place while googling around : public IEnumerable<object> ExecuteSelect(string commandText) { using (IDbConnection conne...
0
47,522
09/06/2008 14:53:55
4,901
09/06/2008 13:57:56
1
1
Maven2 Eclipse integration
There seem to be two rival Eclipse plugins for integrating with Maven: [m2Eclipse][1] and [q4e][2]. Has anyone recently evaluated or used these plugins? Why would I choose one or the other? [1]: http://m2eclipse.codehaus.org/ [2]: http://code.google.com/p/q4e/
eclipse
maven2
null
null
null
null
open
Maven2 Eclipse integration === There seem to be two rival Eclipse plugins for integrating with Maven: [m2Eclipse][1] and [q4e][2]. Has anyone recently evaluated or used these plugins? Why would I choose one or the other? [1]: http://m2eclipse.codehaus.org/ [2]: http://code.google.com/p/q4e/
0
47,524
09/06/2008 14:57:31
292
08/04/2008 13:14:31
548
33
JUnit for database code
I've been trying to implement unit testing and currently have some code that does the following: 1. query external database, loading into a feed table 2. query a view, which is a delta of my feed and data tables, updating data table to match feed table my unit testing strategy is this: ...
java
database
unit-testing
junit
null
null
open
JUnit for database code === I've been trying to implement unit testing and currently have some code that does the following: 1. query external database, loading into a feed table 2. query a view, which is a delta of my feed and data tables, updating data table to match feed table my unit ...
0
47,526
09/06/2008 15:00:06
2,915
08/25/2008 23:15:12
1,552
70
Simple encryption implementation in C
I've used a nice public domain [C++ DES implementation][1] before, but now I need some simple, basic, fast cryptography for an embedded system. It doesn't need to be unbreakable, but it does need to thwart the casual hacker (ie, nothing that could be used for money or identity theft, but other personal info transfer...
c
encryption
intermediate
des
publicdomain
null
open
Simple encryption implementation in C === I've used a nice public domain [C++ DES implementation][1] before, but now I need some simple, basic, fast cryptography for an embedded system. It doesn't need to be unbreakable, but it does need to thwart the casual hacker (ie, nothing that could be used for money or ident...
0
47,533
09/06/2008 15:07:36
3,110
08/26/2008 17:46:57
1
0
Reading from a socket in C#
I am trying to read ASCII text response from a tcp open streaming socket This is what I have come up with so far. I want to know what is the best way to do this that includes error handling. Should I also be checking the SocketError after the Receive call in the do loop? IPEndPoint ep = new IPEndPoint(IPAddr...
c#
sockets
null
null
null
null
open
Reading from a socket in C# === I am trying to read ASCII text response from a tcp open streaming socket This is what I have come up with so far. I want to know what is the best way to do this that includes error handling. Should I also be checking the SocketError after the Receive call in the do loop? IPEn...
0
47,535
09/06/2008 15:08:35
137
08/02/2008 10:46:12
2,089
120
SQL to add column with default value - Access 2003
Updating an old ASP/Access site for a client (and hating it) - I need SQL to add a column to an existing table and set a default value. Doesn't work - any ideas? This works fine ALTER TABLE documents ADD COLUMN membersOnly NUMBER I want this to work: ALTER TABLE documents ADD COLUMN membersOnly NUMB...
sql
ms-access
null
null
null
null
open
SQL to add column with default value - Access 2003 === Updating an old ASP/Access site for a client (and hating it) - I need SQL to add a column to an existing table and set a default value. Doesn't work - any ideas? This works fine ALTER TABLE documents ADD COLUMN membersOnly NUMBER I want this to work: ...
0
47,537
09/06/2008 15:08:57
1,965
08/19/2008 15:51:08
3,096
179
C# Console?
Does anyone know if there is a c# Console app, similar to the Python or Ruby console? I know the whole "Compiled versus Interpreted" difference, but with C#'s reflection power I think it could be done.
c#
.net
console
null
null
null
open
C# Console? === Does anyone know if there is a c# Console app, similar to the Python or Ruby console? I know the whole "Compiled versus Interpreted" difference, but with C#'s reflection power I think it could be done.
0
47,538
09/06/2008 15:09:10
4,910
09/06/2008 14:49:31
1
0
Win32 HCURSOR
I am building a custom win32 control/widget and would like to change the cursor to a horizontal "splitter" symbol when hovering over a particular vertical line in the control. IE: I want to drag this vertical line (splitter bar) left and right (WEST and EAST). Of the the system cursors (OCR_*), the only cursor that ...
c++
winapi
native
null
null
null
open
Win32 HCURSOR === I am building a custom win32 control/widget and would like to change the cursor to a horizontal "splitter" symbol when hovering over a particular vertical line in the control. IE: I want to drag this vertical line (splitter bar) left and right (WEST and EAST). Of the the system cursors (OCR_*), th...
0
47,555
09/06/2008 15:24:24
4,890
09/06/2008 12:37:32
21
3
Practical Experience using Stripes?
I am coming from an Enterprise Java background which involves a fairly heavyweight software stack, and have recently discovered the [Stripes framework](http://www.stripesframework.org/); my initial impression is that this seems to do a good job of minimising the unpleasant parts of building a web application in Java....
java
stripes
null
null
null
null
open
Practical Experience using Stripes? === I am coming from an Enterprise Java background which involves a fairly heavyweight software stack, and have recently discovered the [Stripes framework](http://www.stripesframework.org/); my initial impression is that this seems to do a good job of minimising the unpleasant par...
0
47,563
09/06/2008 15:30:34
4,013
09/01/2008 10:58:24
53
11
How to code an iPhone app that will send predefined smses to predefined numbers?
Many people I am sure use a smart netbank that lets you transfer money from your savings account to your credit card account, or just ask for the saldo, using just SMS. I have been doing this for a few years now on my 10 year old nokia phone. It was a sad day when I discovered that the smart feature of storing the temp...
iphone
sms
null
null
null
null
open
How to code an iPhone app that will send predefined smses to predefined numbers? === Many people I am sure use a smart netbank that lets you transfer money from your savings account to your credit card account, or just ask for the saldo, using just SMS. I have been doing this for a few years now on my 10 year old noki...
0
47,589
09/06/2008 15:51:51
2,056
08/20/2008 01:28:00
121
2
Can I detect and handle MySQL Warnings with PHP?
I'm dealing with a MySQL table that defines the JobName column as UNIQUE. If somebody tries to save a new Job to the database using a JobName that is already in the database, MySQL throws a warning. I would like to be able to detect this warning, just like an error, in my PHP script and deal with it appropriately. ...
mysql
warning
warnings
php
error-handling
null
open
Can I detect and handle MySQL Warnings with PHP? === I'm dealing with a MySQL table that defines the JobName column as UNIQUE. If somebody tries to save a new Job to the database using a JobName that is already in the database, MySQL throws a warning. I would like to be able to detect this warning, just like an er...
0
47,605
09/06/2008 16:08:54
292
08/04/2008 13:14:31
549
33
java String concatenation
I'm curious and wasn't sure, so i thought id ask: assuming String a and b. a+=b a.concat(b) Under the hood are they the same thing?
java
string
null
null
null
null
open
java String concatenation === I'm curious and wasn't sure, so i thought id ask: assuming String a and b. a+=b a.concat(b) Under the hood are they the same thing?
0
47,612
09/06/2008 16:12:48
3,568
08/29/2008 06:19:36
1
3
How to do C++ style destructors in C#?
I've got a C# class with a Dispose function via IDisposable. Its intended to be used inside a using block so the expensive resource it handles can be released right away. Problem is that a bug occurred when an exception was thrown before Dispose was called, and the programmer neglected to use using or finally. &l...
c#
using
dispose
idisposable
automatic
null
open
How to do C++ style destructors in C#? === I've got a C# class with a Dispose function via IDisposable. Its intended to be used inside a using block so the expensive resource it handles can be released right away. Problem is that a bug occurred when an exception was thrown before Dispose was called, and the program...
0
47,625
09/06/2008 16:23:55
4,906
09/06/2008 14:21:25
16
1
Simple third party Captcha I can add to my website.
Just something simple like showing an image and asking the user to type in the number on the image.
captcha
null
null
null
null
null
open
Simple third party Captcha I can add to my website. === Just something simple like showing an image and asking the user to type in the number on the image.
0
47,639
09/06/2008 16:37:23
370,899
08/22/2008 12:32:04
66
8
What are the advantages of installing programs in AppData like Google Chrome?
I just noticed that Chromium was installed in AppData in both Vista and XP. If Google does that and if other applications does this, than is that becuase there is some form of protection? Should we write installers that does the same thing as Google?
windows-installer
null
null
null
null
null
open
What are the advantages of installing programs in AppData like Google Chrome? === I just noticed that Chromium was installed in AppData in both Vista and XP. If Google does that and if other applications does this, than is that becuase there is some form of protection? Should we write installers that does the same thi...
0
47,656
09/06/2008 16:51:21
4,028
09/01/2008 13:10:12
11
1
How do I do full-text searching in Ruby on Rails?
I would like to do full-text searching of data in my Ruby on Rails application. What options exist?
ruby-on-rails
full-text-search
null
null
null
null
open
How do I do full-text searching in Ruby on Rails? === I would like to do full-text searching of data in my Ruby on Rails application. What options exist?
0
47,658
09/06/2008 16:52:32
4,910
09/06/2008 14:49:31
1
2
Standards Document
I am with writing a coding standards document for a team of about 15 with a load of between 10 and 15 projects a year. Amongst other sections (which I may post here as I get to them) I am writing a section on code formatting. So to start with, I think it wise that, for whatever reason, we establish some basic, consiste...
coding-style
null
null
null
null
null
open
Standards Document === I am with writing a coding standards document for a team of about 15 with a load of between 10 and 15 projects a year. Amongst other sections (which I may post here as I get to them) I am writing a section on code formatting. So to start with, I think it wise that, for whatever reason, we establ...
0
47,676
09/06/2008 17:13:14
4,910
09/06/2008 14:49:31
1
2
Tomcat vs Weblogic JNDI Lookup
The Weblogic servers we are using have been configured to allow JNDI datasource names like "appds". For development (localhost), we might be running Tomcat and when declared in the &lt;context&gt; section of server.xml, Tomcat will hang JNDI datasources on "java:comp/env/jdbc/*" in the JNDI tree. **Problem:** in ...
java
tomcat
java-ee
jndi
weblogic
null
open
Tomcat vs Weblogic JNDI Lookup === The Weblogic servers we are using have been configured to allow JNDI datasource names like "appds". For development (localhost), we might be running Tomcat and when declared in the &lt;context&gt; section of server.xml, Tomcat will hang JNDI datasources on "java:comp/env/jdbc/*" i...
0
47,683
09/06/2008 17:33:00
3,098
08/26/2008 16:22:49
191
6
Reconnecting JMS listener to JBossMQ
We have a Java listener that reads text messages off of a queue in JBossMQ. If we have to reboot JBoss, the listener will not reconnect and start reading messages again. We just get messages in the listener's log file every 2 minutes saying it can't connect. Is there something we're not setting in our code or in JBossM...
java
jboss
jms
jbossmq
null
null
open
Reconnecting JMS listener to JBossMQ === We have a Java listener that reads text messages off of a queue in JBossMQ. If we have to reboot JBoss, the listener will not reconnect and start reading messages again. We just get messages in the listener's log file every 2 minutes saying it can't connect. Is there something ...
0
47,685
09/06/2008 17:33:38
4,918
09/06/2008 15:54:41
1
3
How can I reformat XAML efficiently?
Visual Studio 2008's XAML editor (SP1) cannot reformat the XML into a consistent style. Which tools can I use to get a nicely formatted XAML file? Studio integration preferred.
.net
wpf
formatting
xaml
null
null
open
How can I reformat XAML efficiently? === Visual Studio 2008's XAML editor (SP1) cannot reformat the XML into a consistent style. Which tools can I use to get a nicely formatted XAML file? Studio integration preferred.
0
47,692
09/06/2008 17:57:51
2,455
08/22/2008 11:29:07
128
7
How do I become "test infected" with TDD?
I keep reading about people who are "test infected", meaning that they don't just "get" TDD but also can't live without it. They've "had the makeover" as it were. The question is, how do I get like that?
unit-testing
testing
tdd
null
null
null
open
How do I become "test infected" with TDD? === I keep reading about people who are "test infected", meaning that they don't just "get" TDD but also can't live without it. They've "had the makeover" as it were. The question is, how do I get like that?
0
47,701
09/06/2008 18:14:05
4,883
09/06/2008 10:24:59
1
0
Is there a way to attach a debugger to a multi-threaded python process?
I'm trying to debug a deadlock in a multi-threaded python app after it has locked up. Is there a way to attach a debugger to inspect the state of the process?
python
debugging
null
null
null
null
open
Is there a way to attach a debugger to a multi-threaded python process? === I'm trying to debug a deadlock in a multi-threaded python app after it has locked up. Is there a way to attach a debugger to inspect the state of the process?
0
47,703
09/06/2008 18:21:09
4,883
09/06/2008 10:24:59
1
0
Multiple threads and performance on a single CPU.
Is here any performance benefit to using multiple threads on a computer with a single CPU that does not having hyperthreading?
performance
multithreading
null
null
null
null
open
Multiple threads and performance on a single CPU. === Is here any performance benefit to using multiple threads on a computer with a single CPU that does not having hyperthreading?
0
47,707
09/06/2008 18:26:18
4,854
09/06/2008 01:43:05
1
2
How to start coding the "Dining Philosophers Problem" simulation?
I'm not a beginner at C# but I really need to increase my understanding, so I've picked a classic deadlock problem to code to help teach myself some of the more advanced concepts of C#. The [Dining Philosophers Problem][1] seems like a good one, but I need a little help to get started. I know I need to approach the "...
c#
puzzle
deadlock
homework
null
null
open
How to start coding the "Dining Philosophers Problem" simulation? === I'm not a beginner at C# but I really need to increase my understanding, so I've picked a classic deadlock problem to code to help teach myself some of the more advanced concepts of C#. The [Dining Philosophers Problem][1] seems like a good one, bu...
0
47,708
09/06/2008 18:26:53
445,087
09/02/2008 17:25:48
11
3
What are the best practices embedded systems development?
Embedded software development has its own set of unique development challenges. What best practices have you found that work and what practices do not work so well? For example, I have found that: 1. a well layered approach is essential for testing embedded systems. This allows some code to be unit tested on ...
embedded
null
null
null
null
null
open
What are the best practices embedded systems development? === Embedded software development has its own set of unique development challenges. What best practices have you found that work and what practices do not work so well? For example, I have found that: 1. a well layered approach is essential for testin...
0
47,709
09/06/2008 18:28:22
4,835
09/05/2008 20:35:57
1
0
How does google make make those awesome PDF reports in Analytics and when you print a Google Doc etc?
When you print from Google Docs (using the "print" link, not File/Print) you end up printing a nicely formated PDF file instead of relying on the print engine of the browser. Same is true for some of the reports in Google Analytics . . . the printed reports as PDF's are beautiful. How do they do that? I can't imag...
pdf
google
pdf-generation
null
null
null
open
How does google make make those awesome PDF reports in Analytics and when you print a Google Doc etc? === When you print from Google Docs (using the "print" link, not File/Print) you end up printing a nicely formated PDF file instead of relying on the print engine of the browser. Same is true for some of the report...
0