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
52,821
09/09/2008 20:25:10
5,236
09/08/2008 16:36:03
6
1
In LINQ to SQL how can I make it so I can add items to a collection of an entity without saving the entity first?
var e1 = new E1(); e1.e2s.Add(new e2()); //e2s is null until e1 is saved, i want to save them all at the same time context.e1s.imsertonsubmit(e1); context.submitchanges();
linq-to-sql
null
null
null
null
null
open
In LINQ to SQL how can I make it so I can add items to a collection of an entity without saving the entity first? === var e1 = new E1(); e1.e2s.Add(new e2()); //e2s is null until e1 is saved, i want to save them all at the same time context.e1s.imsertonsubmit(e1); context.submitchanges();
0
52,822
09/09/2008 20:26:12
4,685
09/05/2008 07:49:27
43
4
How to import a DBF file in SQL Server
How can you import a foxpro DBF file in SQL Server?
sql-server
foxpro
dbf
null
null
null
open
How to import a DBF file in SQL Server === How can you import a foxpro DBF file in SQL Server?
0
52,824
09/09/2008 20:26:47
5,416
09/09/2008 13:41:43
11
3
Cross-Branch merging in TFS?
Is it possible to merge to a branch that is not a direct parent or child in TFS? I suspect that the answer is no as this is what I've experienced while using it. However, it seems that at certain times it would be really useful when there are different features being worked on that may have different approval cycles ...
version-control
tfs
branch
null
null
null
open
Cross-Branch merging in TFS? === Is it possible to merge to a branch that is not a direct parent or child in TFS? I suspect that the answer is no as this is what I've experienced while using it. However, it seems that at certain times it would be really useful when there are different features being worked on that m...
0
52,830
09/09/2008 20:29:15
4,903
09/06/2008 14:16:54
199
12
Inform potential clients about security vulnerabilities?
We have a lot of open discussions with potential clients, and they ask frequently about our level of technical expertise, including the scope of work for our current projects. The first thing I do in order to gauge the level of expertise on staff they have now or have previously used is to check for security vulnerabil...
sql
xss
injection
null
null
null
open
Inform potential clients about security vulnerabilities? === We have a lot of open discussions with potential clients, and they ask frequently about our level of technical expertise, including the scope of work for our current projects. The first thing I do in order to gauge the level of expertise on staff they have n...
0
52,831
09/09/2008 20:29:43
5,252
09/08/2008 17:54:32
76
1
What are the best RSS feeds for software project/program managers?
ENG or RUS Language only.
language-agnostic
project-management
null
null
null
null
open
What are the best RSS feeds for software project/program managers? === ENG or RUS Language only.
0
52,842
09/09/2008 20:33:41
3,043
08/26/2008 13:24:14
1,561
158
Sorting Directory.GetFiles()
System.IO.Directory.GetFiles() returns a string[]. What is the default sort order for the returned values? I'm assuming by name, but if so how much does the current culture effect it? Can you change it to something like creation date? **Update:** while MSDN points out that the sort order is not guaranteed for .N...
.net
.net-2.0
null
null
null
null
open
Sorting Directory.GetFiles() === System.IO.Directory.GetFiles() returns a string[]. What is the default sort order for the returned values? I'm assuming by name, but if so how much does the current culture effect it? Can you change it to something like creation date? **Update:** while MSDN points out that the s...
0
52,844
09/09/2008 20:34:02
3,051
08/26/2008 13:43:22
180
7
Hide directories in wxGenericDirCtrl
I am using a wxGenericDirCtrl, and I would like to know if there is a way to hide directories, I'd especially like to hide siblings of parent nodes. For example if my directory structure looks like this: +-a | +-b | | | +-whatever | +-c | | | +-d ...
wxwidgets
wxpython
null
null
null
null
open
Hide directories in wxGenericDirCtrl === I am using a wxGenericDirCtrl, and I would like to know if there is a way to hide directories, I'd especially like to hide siblings of parent nodes. For example if my directory structure looks like this: +-a | +-b | | | +-whatever | ...
0
52,873
09/09/2008 20:50:03
2,536
08/22/2008 17:37:07
756
32
CSS overflow table row positioning
I have table inside a div tab. The table has 40 rows in it and the div's height is set to show 10 rows of that table. CSS's overflow:auto lets me scroll through the 40 rows. All is well there. How can I, with JavaScript cause the table to programatically position to a given row (ie, programmatically scroll the tabl...
javascript
html
css
table
null
null
open
CSS overflow table row positioning === I have table inside a div tab. The table has 40 rows in it and the div's height is set to show 10 rows of that table. CSS's overflow:auto lets me scroll through the 40 rows. All is well there. How can I, with JavaScript cause the table to programatically position to a given r...
0
52,874
09/09/2008 20:50:12
338
08/04/2008 18:34:44
1,160
64
How do you keep the machine awake?
I have a piece of server-ish software written in Java to run on Windows and OS X. I would like the software to signal to the OS to keep the machine awake (prevent it from going into sleep mode) while it is active. Of course I don't expect there to be a cross platform solution, but I would love to have some very mini...
osx
windows
operating-system
java
crossplatform
null
open
How do you keep the machine awake? === I have a piece of server-ish software written in Java to run on Windows and OS X. I would like the software to signal to the OS to keep the machine awake (prevent it from going into sleep mode) while it is active. Of course I don't expect there to be a cross platform solution,...
0
52,880
09/09/2008 20:53:57
383
08/05/2008 10:46:37
2,657
248
Google Reader API Unread Count
Does Google Reader have an API and if so, how can I get the count of the number of unread posts for a specific user knowing their username and password?
api
google-reader
null
null
null
null
open
Google Reader API Unread Count === Does Google Reader have an API and if so, how can I get the count of the number of unread posts for a specific user knowing their username and password?
0
52,883
09/09/2008 20:54:55
3,146
08/27/2008 00:25:15
825
38
Graph searching algorithm
I'm looking for a graph algorithm with some unusual properties. Each edge in the graph is either an "up" edge or a "down" edge. A valid path can go an indefinite number of "up"'s followed by an indefinite number of "down"'s, or vice versa. However it cannot change direction more than once. E.g., a valid path m...
graph
algorithm
null
null
null
null
open
Graph searching algorithm === I'm looking for a graph algorithm with some unusual properties. Each edge in the graph is either an "up" edge or a "down" edge. A valid path can go an indefinite number of "up"'s followed by an indefinite number of "down"'s, or vice versa. However it cannot change direction more tha...
0
52,898
09/09/2008 21:02:24
5,433
09/09/2008 15:02:32
13
2
SQL syntax curiousity
I've noticed that Visual Studio 2008 is placing square brackets around column names in sql. Do the brackets offer any advantage? When I hand code T-SQL I've never bothered with them. Example: Visual Studio: SELECT [column1], [column2] etc... My own way: SELECT column1, column2 etc...
sql2005
syntax
brackets
null
null
null
open
SQL syntax curiousity === I've noticed that Visual Studio 2008 is placing square brackets around column names in sql. Do the brackets offer any advantage? When I hand code T-SQL I've never bothered with them. Example: Visual Studio: SELECT [column1], [column2] etc... My own way: SELECT column1, column2 etc......
0
52,917
09/09/2008 21:12:45
4,615
09/04/2008 20:36:16
28
8
How do you delete wild card cookies in Rails?
How do you delete a cookie in rails that was set with a wild card domain: cookies[:foo] = {:value => 'bar', :domain => '.acme.com'} When, following the docs, you do: cookies.delete :foo the logs say Cookie set: foo=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT Notice that the domain is m...
ruby-on-rails
null
null
null
null
null
open
How do you delete wild card cookies in Rails? === How do you delete a cookie in rails that was set with a wild card domain: cookies[:foo] = {:value => 'bar', :domain => '.acme.com'} When, following the docs, you do: cookies.delete :foo the logs say Cookie set: foo=; path=/; expires=Thu, 01 J...
0
52,924
09/09/2008 21:17:55
4,636
09/04/2008 22:44:17
66
5
Separating CSS deployment from rest of site
Where I work, the design and development departments are totally separated, however we (the design department) are responsible for managing the CSS for our sites. Typically, new CSS needs to be released to the production server far more often than new website code. Because of this, we are deploying the CSS separately, ...
css
design
version-control
project-management
deployment
null
open
Separating CSS deployment from rest of site === Where I work, the design and development departments are totally separated, however we (the design department) are responsible for managing the CSS for our sites. Typically, new CSS needs to be released to the production server far more often than new website code. Becau...
0
52,926
09/09/2008 21:19:41
2,025
08/19/2008 20:59:50
1,572
136
Beginning C#
On recommendation I've decided to learn C# as my first desktop language. I've a good experience with PHP and MySQL under my belt but I'm completely new to desktop programming. What I'm looking for is a good introductory tutorial into C# from the perspective of a new programmer. For example I've never done any memory...
c#
null
null
null
null
null
open
Beginning C# === On recommendation I've decided to learn C# as my first desktop language. I've a good experience with PHP and MySQL under my belt but I'm completely new to desktop programming. What I'm looking for is a good introductory tutorial into C# from the perspective of a new programmer. For example I've nev...
0
52,927
09/09/2008 21:19:44
4,593
09/04/2008 19:05:18
21
4
Console.WriteLine and generic List
I frequently find myself writing code like this: List<int> list = new List<int> { 1, 3, 5 }; foreach (int i in list) { Console.Write("{0}\t", i.ToString()); } Console.WriteLine(); Better would be something like this: List<int> list = new List<int> { 1, 3, 5 }; Console.WriteLine(...
c#
list
generics
console
null
null
open
Console.WriteLine and generic List === I frequently find myself writing code like this: List<int> list = new List<int> { 1, 3, 5 }; foreach (int i in list) { Console.Write("{0}\t", i.ToString()); } Console.WriteLine(); Better would be something like this: List<int> list = new List<i...
0
52,931
09/09/2008 21:19:53
4,933
09/06/2008 18:57:56
11
4
Open Source Actionscript 3 or Javascript date utility classes?
I was wondering if anyone could point to an Open Source date utility class that is fairly robust. I find myself rolling my own when I want to do a lot of things I take for granted in C# and Java. For instance I did find a decent example of a DateDiff() function that I tore apart and another DatePart() function. Another...
javascript
flex
actionscript-3
null
null
null
open
Open Source Actionscript 3 or Javascript date utility classes? === I was wondering if anyone could point to an Open Source date utility class that is fairly robust. I find myself rolling my own when I want to do a lot of things I take for granted in C# and Java. For instance I did find a decent example of a DateDiff()...
0
52,933
09/09/2008 21:20:38
1,228
08/13/2008 13:58:55
1,388
106
How can I modify a Work Item type to include additional information in TFS?
TFS2008. I'd like to track task points on a Task work item, but there isn't anywhere (other than the description) to record this. I'd like to add a dropdown with 0, 1, 2, 3, 5, 8, etc, so these task points can be exported in reports.
teamfoundationserver
workitem
null
null
null
null
open
How can I modify a Work Item type to include additional information in TFS? === TFS2008. I'd like to track task points on a Task work item, but there isn't anywhere (other than the description) to record this. I'd like to add a dropdown with 0, 1, 2, 3, 5, 8, etc, so these task points can be exported in reports.
0
52,945
09/09/2008 21:23:46
1,228
08/13/2008 13:58:55
1,388
106
Best way to search data stored as XML in Sql Server?
Say I have data structures stored as XML (XML data type) within Sql Server. A user wishes to pull out a record if, within the data, a certain string is found. What are my options for implementing this, and which is the best way to do it? Note that each record can have different XML data structures
sql-server
xml
search
null
null
null
open
Best way to search data stored as XML in Sql Server? === Say I have data structures stored as XML (XML data type) within Sql Server. A user wishes to pull out a record if, within the data, a certain string is found. What are my options for implementing this, and which is the best way to do it? Note that each re...
0
52,950
09/09/2008 21:24:53
3,146
08/27/2008 00:25:15
830
39
How to make git ignore changes in case?
I'm not too sure what is going on here, but sometimes a particular file in my repository will change the case of it's name. e.g.,: before: File.h after: file.h I don't really care why this is happening, but this causes git to think it is a new file, and then I have to go and change the file name back. Can yo...
git
windows
null
null
null
null
open
How to make git ignore changes in case? === I'm not too sure what is going on here, but sometimes a particular file in my repository will change the case of it's name. e.g.,: before: File.h after: file.h I don't really care why this is happening, but this causes git to think it is a new file, and then I hav...
0
52,952
09/09/2008 21:25:43
4,541
09/04/2008 17:37:04
159
3
Detecting if an IDataReader contains a certain field before iteration.
So I'm using an IDataReader to hydrate some business objects, but I don't know at runtime exactly what fields will be in the reader. Any fields that aren't in the reader would be left null on the resulting object. How do you test if a reader contains a specific field without just wrapping it in a try/catch?
c#
null
null
null
null
null
open
Detecting if an IDataReader contains a certain field before iteration. === So I'm using an IDataReader to hydrate some business objects, but I don't know at runtime exactly what fields will be in the reader. Any fields that aren't in the reader would be left null on the resulting object. How do you test if a reader ...
0
52,954
09/09/2008 21:26:33
5,118
09/08/2008 00:23:26
4
1
How do I get javadoc to link to the Java API using an Ant task?
Right now my ant task looks like. <javadoc sourcepath="${source}" destdir="${doc}"> <link href="http://java.sun.com/j2se/1.5.0/docs/api/" /> </javadoc> And I'm getting this warning: javadoc: warning - Error fetching URL: http://java.sun.com/j2se/1.5.0/docs/api/package-list How do I get...
ant
javadoc
null
null
null
null
open
How do I get javadoc to link to the Java API using an Ant task? === Right now my ant task looks like. <javadoc sourcepath="${source}" destdir="${doc}"> <link href="http://java.sun.com/j2se/1.5.0/docs/api/" /> </javadoc> And I'm getting this warning: javadoc: warning - Error fetching URL:...
0
52,964
09/09/2008 21:31:07
5,466
09/09/2008 20:38:17
11
1
SQL Server Random Sort
What is the best way to sort the results of a sql query into a random order within a stored procedure?
sql-server
null
null
null
null
null
open
SQL Server Random Sort === What is the best way to sort the results of a sql query into a random order within a stored procedure?
0
52,965
09/09/2008 21:31:12
2,701
08/24/2008 15:51:24
286
21
Is business logic subjective?
I have a team lead who seems to think that business logic is very subjective, to the point that if my stored procedure has a "WHERE ID = @ID" -- he would call this *business logic* What approach should I take to define *business logic* in a very objective way without offending my team lead?
business-logic
null
null
null
null
null
open
Is business logic subjective? === I have a team lead who seems to think that business logic is very subjective, to the point that if my stored procedure has a "WHERE ID = @ID" -- he would call this *business logic* What approach should I take to define *business logic* in a very objective way without offending my t...
0
52,981
09/09/2008 21:36:35
122
08/02/2008 07:56:07
4,144
191
Cannot delete from the database...?
So, I have 2 database instances, one is for development in general, another was copied from development for unit tests. Something changed in the development database that I can't figure out, and I don't know how to see what is different. When I try to delete from a particular table, with for example: delet...
database
db2
null
null
null
null
open
Cannot delete from the database...? === So, I have 2 database instances, one is for development in general, another was copied from development for unit tests. Something changed in the development database that I can't figure out, and I don't know how to see what is different. When I try to delete from a particu...
0
52,984
09/09/2008 21:37:43
5,118
09/08/2008 00:23:26
4
1
How do I generate Emma code coverage reports using Ant?
How do I setup an Ant task to generate [Emma](http://emma.sourceforge.net) code coverage reports?
ant
code-analysis
emma
null
null
null
open
How do I generate Emma code coverage reports using Ant? === How do I setup an Ant task to generate [Emma](http://emma.sourceforge.net) code coverage reports?
0
52,989
09/09/2008 21:43:55
4,160
09/02/2008 07:15:12
123
2
Using generic classes with ObjectDataSource
I have a generic Repository&lt;T&gt; class I want to use with an ObjectDataSource. Repository&lt;T&gt; lives in a separate project called DataAccess. According to <a href="http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/767f1a821d9b23da/b1e045958ae427a5?lnk=st#b1e045958ae427...
asp.net
generics
objectdatasource
null
null
null
open
Using generic classes with ObjectDataSource === I have a generic Repository&lt;T&gt; class I want to use with an ObjectDataSource. Repository&lt;T&gt; lives in a separate project called DataAccess. According to <a href="http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/767f1a...
0
53,002
09/09/2008 21:56:27
5,473
09/09/2008 21:20:03
1
0
How do I create tri-state checkboxes with a TreeView control in .NET?
I have a treeview control with checkboxes turned on. Because the treeview control has nested nodes, I need the checkboxes to be able to have some sort of tri-mode selection. I can't find a way to do this (I can only have the checkboxes fully checked or unchecked).
vb.net
null
null
null
null
null
open
How do I create tri-state checkboxes with a TreeView control in .NET? === I have a treeview control with checkboxes turned on. Because the treeview control has nested nodes, I need the checkboxes to be able to have some sort of tri-mode selection. I can't find a way to do this (I can only have the checkboxes fully che...
0
53,012
09/09/2008 22:04:02
4,308
09/02/2008 19:27:46
43
3
Algorithm to decide if digital audio data is clipping?
Is there an algorithm or some heuristic to decide whether digital audio data is [clipping][1]? [1]: http://en.wikipedia.org/wiki/Clipping_(audio)#Digital_clipping
algorithm
audio
heuristics
null
null
null
open
Algorithm to decide if digital audio data is clipping? === Is there an algorithm or some heuristic to decide whether digital audio data is [clipping][1]? [1]: http://en.wikipedia.org/wiki/Clipping_(audio)#Digital_clipping
0
53,019
09/09/2008 22:10:43
4,298
09/02/2008 18:17:28
12
0
What kind of technologies are available for sending text messages?
I'm looking into sending regular automated text-messages to a list of subscribed users. Having played with Windows Mobile devices, I could easily implement this using the compact .Net framework + a device hooked up to usb and send the messages through this. I would like to explore other solutions like having a server o...
c#
mobile
messaging
null
null
null
open
What kind of technologies are available for sending text messages? === I'm looking into sending regular automated text-messages to a list of subscribed users. Having played with Windows Mobile devices, I could easily implement this using the compact .Net framework + a device hooked up to usb and send the messages thro...
0
53,025
09/09/2008 22:13:54
4,111
09/01/2008 20:34:03
98
12
Best way to implement 1:1 asynchronous callbacks/events in ActionScript 3 / Flex?
I've been utilizing the [command pattern][1] in my Flex projects, with asynchronous callback routes required between: - whoever instantiated a given command object and the command object, - the command object and the "data access" object (i.e. someone who handles the remote procedure calls over the network to the...
actionscript-3
flex
asynchronous
null
null
null
open
Best way to implement 1:1 asynchronous callbacks/events in ActionScript 3 / Flex? === I've been utilizing the [command pattern][1] in my Flex projects, with asynchronous callback routes required between: - whoever instantiated a given command object and the command object, - the command object and the "data acce...
0
53,026
09/09/2008 22:14:25
1,363
08/14/2008 18:24:19
136
4
How to easily edit SQL XML column in SQL Management Studio
I have a table with an XML column. This column is storing some values I keep for configuring my application. I created it to have a more flexible schema. I can't find a way to update this column directly from the table view in SQL Management Studio. Other (INT or Varchar for example) columns are editable. I know I can...
sql
xml
null
null
null
null
open
How to easily edit SQL XML column in SQL Management Studio === I have a table with an XML column. This column is storing some values I keep for configuring my application. I created it to have a more flexible schema. I can't find a way to update this column directly from the table view in SQL Management Studio. Other...
0
53,027
09/09/2008 22:15:09
1,384,652
08/01/2008 12:01:23
1,914
83
Large Python Includes
I have a file that I want to include in Python but the included file is fairly long and it'd be much neater to be able to split them into several files but then I have to use several include statements. Is there some way to group together several files and include all at once?
python
null
null
null
null
null
open
Large Python Includes === I have a file that I want to include in Python but the included file is fairly long and it'd be much neater to be able to split them into several files but then I have to use several include statements. Is there some way to group together several files and include all at once?
0
53,041
09/09/2008 22:23:36
1,965
08/19/2008 15:51:08
3,738
220
GUID's in a SLN file
Visual Studio Solution files contain two GUID's per project entry. I figure one of them is from the AssemblyInfo.cs Does anyone know for sure where these come from, and what they are used for?
.net
visual-studio
sln
null
null
null
open
GUID's in a SLN file === Visual Studio Solution files contain two GUID's per project entry. I figure one of them is from the AssemblyInfo.cs Does anyone know for sure where these come from, and what they are used for?
0
53,045
09/09/2008 22:26:28
5,236
09/08/2008 16:36:03
11
2
linq to sql stack overflow with self-referencing entity
I have an entity that contains many of itself, how do I map this in LINQ to SQl such that it does not do an infinite loop of getting e1 then all its children then their parents (e1) then its children and repeat? Now I know I can do this if I set the child property to false, however that is the most important property (...
linq-to-sql
lazy-loading
null
null
null
null
open
linq to sql stack overflow with self-referencing entity === I have an entity that contains many of itself, how do I map this in LINQ to SQl such that it does not do an infinite loop of getting e1 then all its children then their parents (e1) then its children and repeat? Now I know I can do this if I set the child pro...
0
53,046
09/09/2008 22:27:11
4,883
09/06/2008 10:24:59
452
5
How do you get double-underscores to display in markdown?
In python, there are some special variables and filenames that are surrounded by double-underscores. For example, there is the __file__ variable. I am only able to get them to show up correctly inside of a code block. What do I need to enter to get double underscores in regular text without having them in...
markdown
null
null
null
null
null
open
How do you get double-underscores to display in markdown? === In python, there are some special variables and filenames that are surrounded by double-underscores. For example, there is the __file__ variable. I am only able to get them to show up correctly inside of a code block. What do I need to enter ...
0
53,057
09/09/2008 22:36:35
31,505
2008-09-01
1,416
40
How to add a dll to gac in vista
When I drag & drop a dll to the assembly folder on vista, I get the error "Access is denied: mydll.dll". How can I bypass the error message and add my dll to gac?
windows-vista
gac
null
null
null
null
open
How to add a dll to gac in vista === When I drag & drop a dll to the assembly folder on vista, I get the error "Access is denied: mydll.dll". How can I bypass the error message and add my dll to gac?
0
53,064
09/09/2008 22:39:58
5,234
09/08/2008 16:25:48
1
0
Embed asp page without iframe
I want to embed an .asp page on an html page. I cannot use an iframe. I tried: <object width="100%" height="1500" type="text/html" data="url.asp"> alt : <a href="url.asp">url</a> </object>" works great in ff but not ie7. Any ideas?
asp.net
iframe
null
null
null
null
open
Embed asp page without iframe === I want to embed an .asp page on an html page. I cannot use an iframe. I tried: <object width="100%" height="1500" type="text/html" data="url.asp"> alt : <a href="url.asp">url</a> </object>" works great in ff but not ie7. Any ideas?
0
53,065
09/09/2008 22:40:00
2,701
08/24/2008 15:51:24
291
22
Enterprise Library Application Blocks OR Home Grown Framework?
We are currently looking to adopt some type of "standard" developer framework and have looked into using the Enterprise Library. Would you recommend using these blocks as the foundation for software development, or should we do something *home grown*?
framework
enterprise-library
null
null
null
null
open
Enterprise Library Application Blocks OR Home Grown Framework? === We are currently looking to adopt some type of "standard" developer framework and have looked into using the Enterprise Library. Would you recommend using these blocks as the foundation for software development, or should we do something *home grown*?
0
53,069
09/09/2008 22:43:57
4,872
09/06/2008 09:14:55
68
2
In SQL Server, how do I identify *all* dependencies for a specific table using system tables/views?
I am writing a DDL script to drop a number of tables but need to identify all dependencies for those tables first. Those dependencies include foreign key constraints, stored procedures, views, etc. Preferably, I want to programmatically script out dropping those dependencies using the system tables/views before droppin...
sql-server
database
mssql
scripting
null
null
open
In SQL Server, how do I identify *all* dependencies for a specific table using system tables/views? === I am writing a DDL script to drop a number of tables but need to identify all dependencies for those tables first. Those dependencies include foreign key constraints, stored procedures, views, etc. Preferably, I wan...
0
53,070
09/09/2008 22:44:05
2,701
08/24/2008 15:51:24
291
22
Examples for coding against the PayPal API in .NET 2.0+?
Can anyone point me to a good introduction to coding against the paypal API?
.net
asp.net
paypal
null
null
null
open
Examples for coding against the PayPal API in .NET 2.0+? === Can anyone point me to a good introduction to coding against the paypal API?
0
53,081
09/09/2008 22:51:25
1,897
08/19/2008 07:54:49
223
31
HTML meta keyword/description element, useful or not?
Does filling out HTML meta description/keyword tags matter for SEO?
html
seo
null
null
null
null
open
HTML meta keyword/description element, useful or not? === Does filling out HTML meta description/keyword tags matter for SEO?
0
53,086
09/09/2008 22:52:32
1,368
08/14/2008 18:57:47
153
10
Can I depend on the values of GetHashCode() to be consistant?
Is the return value of GetHashCode() guaranteed to be consistent assuming the same string value is being used? (C#/ASP.NET) I uploaded my code to a server today and to my surprise I had to reindex some data because my server (win2008 64-bit) was returning different values compared to my desktop computer.
hash
c#
null
null
null
null
open
Can I depend on the values of GetHashCode() to be consistant? === Is the return value of GetHashCode() guaranteed to be consistent assuming the same string value is being used? (C#/ASP.NET) I uploaded my code to a server today and to my surprise I had to reindex some data because my server (win2008 64-bit) was retu...
0
53,102
09/09/2008 23:05:06
3,798
08/30/2008 22:09:59
207
15
Why Does Path.Combine not properly concatenate filenames that start with Path.DirectorySeparatorChar
In the Immediate Window ? System.IO.Path.Combine(@"C:\test",@"test") "C:\\test\\test" ? System.IO.Path.Combine(@"C:\test",@"\test") "\\test" It seems that they should both be the same. The old FileSystemObject.BuildPath() didn't work this way...
c#
.net
null
null
null
null
open
Why Does Path.Combine not properly concatenate filenames that start with Path.DirectorySeparatorChar === In the Immediate Window ? System.IO.Path.Combine(@"C:\test",@"test") "C:\\test\\test" ? System.IO.Path.Combine(@"C:\test",@"\test") "\\test" It seems that they should both be the same....
0
53,108
09/09/2008 23:08:24
5,324
09/09/2008 06:49:51
11
1
Is it possible to make a recursive SQL query ?
I have a table similar to this: CREATE TABLE example ( id integer primary key, name char(200), parentid integer, value integer); I can use the parentid field to arrange data into a tree structure. Now here's the bit I can't work out. Given a parentid, is it possible to write an ...
sql
null
null
null
null
null
open
Is it possible to make a recursive SQL query ? === I have a table similar to this: CREATE TABLE example ( id integer primary key, name char(200), parentid integer, value integer); I can use the parentid field to arrange data into a tree structure. Now here's the bit I can't wor...
0
53,112
09/09/2008 23:09:10
277
08/04/2008 10:55:22
513
18
Good Ways to Use Source Control and an IDE for Plugin Code?
What are good ways of dealing with the issues surrounding plugin code that interacts with outside system? To give a concrete and representative example, suppose I would like to use Subversion and Eclipse to develop plugins for WordPress. The main code body of WordPress is installed on the webserver, and the plugin c...
ide
plugin-development
null
null
null
null
open
Good Ways to Use Source Control and an IDE for Plugin Code? === What are good ways of dealing with the issues surrounding plugin code that interacts with outside system? To give a concrete and representative example, suppose I would like to use Subversion and Eclipse to develop plugins for WordPress. The main code ...
0
53,128
09/09/2008 23:22:23
3,147
08/27/2008 01:00:22
80
12
Java ConnectionPool connection not closing, stuck in 'sleep'
I have a webapp that uses JNDI lookups to get a connection to the database. The connection works fine and returns the query no problems. The issue us that the connection does not close properly and is stuck in the 'sleep' mode (according to mysql administrator). This means that they become unusable nad then I run ou...
java
database
tomcat
null
null
null
open
Java ConnectionPool connection not closing, stuck in 'sleep' === I have a webapp that uses JNDI lookups to get a connection to the database. The connection works fine and returns the query no problems. The issue us that the connection does not close properly and is stuck in the 'sleep' mode (according to mysql admi...
0
53,132
09/09/2008 23:26:19
1,196
08/13/2008 12:33:04
2,897
207
Mouse for programmer
We have [discussed][1] keyboards. But take a look at the small piece of plastic to the right (or left :) ) of your beloved keyboard! This humble creature helps use to draw nice forms, and click all around the web. Real programmer mouse must be precise and comfortable, so which mouse would you make a companion to your k...
peripherals
hardware
productivity
ergonomics
health
09/28/2011 11:16:25
not constructive
Mouse for programmer === We have [discussed][1] keyboards. But take a look at the small piece of plastic to the right (or left :) ) of your beloved keyboard! This humble creature helps use to draw nice forms, and click all around the web. Real programmer mouse must be precise and comfortable, so which mouse would you ...
4
53,135
09/09/2008 23:29:25
3,798
08/30/2008 22:09:59
212
15
What registry access can you get without Administrator privleges?
I know that we shouldn't being using the registry to store Application Data anymore, but in updating a Legacy application (and wanting to do the fewest changes), what Registry Hives are non-administrators allowed to use? Can I access all of HKEY_LOCAL_USER (the application currently access HKEY_LOCAL_MACHINE) without ...
registry
null
null
null
null
null
open
What registry access can you get without Administrator privleges? === I know that we shouldn't being using the registry to store Application Data anymore, but in updating a Legacy application (and wanting to do the fewest changes), what Registry Hives are non-administrators allowed to use? Can I access all of HKEY_LO...
0
53,136
09/09/2008 23:30:09
122
08/02/2008 07:56:07
4,144
192
How to find all database references
In trying to figure out [this problem][1] (which is still unsolved and I still have no clue what is going on), I am wondering if maybe an external reference to the table in question is causing the problem. For example, a trigger or view or some other such thing. Is there an easy way to find all references to a give...
database
db2
null
null
null
null
open
How to find all database references === In trying to figure out [this problem][1] (which is still unsolved and I still have no clue what is going on), I am wondering if maybe an external reference to the table in question is causing the problem. For example, a trigger or view or some other such thing. Is there an ...
0
53,139
09/09/2008 23:30:52
4,786
09/05/2008 15:29:10
92
6
What do you use to capture webpages, diagram/pictures and code snippets for later reference?
What do you use to capture webpages, diagram/pictures and code snippets for later reference?
productivity
null
null
null
null
null
open
What do you use to capture webpages, diagram/pictures and code snippets for later reference? === What do you use to capture webpages, diagram/pictures and code snippets for later reference?
0
53,161
09/09/2008 23:44:33
1,057
08/11/2008 22:41:35
73
9
Find the highest order bit in C
what I'm after is something I can feed a number into and it will return the highest order bit. I'm sure there's a simple way. Below is an example output (left is the input) <pre>1 -> 1 2 -> 2 3 -> 2 4 -> 4 5 -> 4 6 -> 4 7 -> 4 8 -> 8 9 -> 8 ... 63 -> 32</pre>
c
null
null
null
null
null
open
Find the highest order bit in C === what I'm after is something I can feed a number into and it will return the highest order bit. I'm sure there's a simple way. Below is an example output (left is the input) <pre>1 -> 1 2 -> 2 3 -> 2 4 -> 4 5 -> 4 6 -> 4 7 -> 4 8 -> 8 9 -> 8 ... 63 -> 32</pre>
0
53,162
09/09/2008 23:45:30
4,872
09/06/2008 09:14:55
68
2
How can I do a line continuation of code in Python?
I have a long line of code that I want to break up among multiple lines. What do I use and what is the syntax?
python
syntax
null
null
null
null
open
How can I do a line continuation of code in Python? === I have a long line of code that I want to break up among multiple lines. What do I use and what is the syntax?
0
53,164
09/09/2008 23:45:56
5,488
09/09/2008 23:24:32
11
3
Fixed vs. variable frame rates in games: what is best, and when?
After working for a while developing games, I've been exposed to both variable frame rates (where you work out how much time has passed since the last tick and update actor movement accordingly) and fixed frame rates (where you work out how much time has passed and choose either to tick a fixed amount of time or sleep ...
frame-rate
null
null
null
null
null
open
Fixed vs. variable frame rates in games: what is best, and when? === After working for a while developing games, I've been exposed to both variable frame rates (where you work out how much time has passed since the last tick and update actor movement accordingly) and fixed frame rates (where you work out how much time...
0
53,167
09/09/2008 23:47:20
5,056
09/07/2008 15:43:17
352
38
Looking for experiences working with Qt
I had an idea for a plug-in for my favorite program runner [Launchy][1], however after downloading the source code I found that it makes heavy use of the Qt library. The bulk of my experience is in C# and PHP and until that moment I had never really even heard of this library. Which leads me to ask, does anyone h...
.net
qt
vc++
null
null
null
open
Looking for experiences working with Qt === I had an idea for a plug-in for my favorite program runner [Launchy][1], however after downloading the source code I found that it makes heavy use of the Qt library. The bulk of my experience is in C# and PHP and until that moment I had never really even heard of this libra...
0
53,172
09/09/2008 23:48:26
3,900
08/31/2008 19:21:25
1
0
On Disk Substring index
I have a file (fasta file to be specific) that I would like to index, so that I can quickly locate any substring within the file and then find the location within the original fasta file. This would be easy to do in many cases, using a Trie or substring array, unfortunately the strings I need to index are 800+ MBs w...
indexing
on-disk
substring
null
null
null
open
On Disk Substring index === I have a file (fasta file to be specific) that I would like to index, so that I can quickly locate any substring within the file and then find the location within the original fasta file. This would be easy to do in many cases, using a Trie or substring array, unfortunately the strings I...
0
53,178
09/09/2008 23:51:03
320
08/04/2008 16:17:25
1
0
Prompt for Database Connection String
I would like to offer a database connection prompt to the user. I can build my own, but it would be nice if I can use something that somebody else has already built (maybe something built into Windows or a free library available on the Internet). Anybody know how to do this in .Net?
.net
database
connection-string
null
null
null
open
Prompt for Database Connection String === I would like to offer a database connection prompt to the user. I can build my own, but it would be nice if I can use something that somebody else has already built (maybe something built into Windows or a free library available on the Internet). Anybody know how to do this in...
0
53,198
09/10/2008 00:04:15
1,389
08/15/2008 01:29:00
31
5
HelpInsight documentation in Delphi 2007
I am using D2007 and am trying to document my source code, using the HelpInsight feature (provided since D2005). I am mainly interested in getting the HelpInsight tool-tips working. From various Web-surfing and experimentation I have found the following: 1. Using the triple slash (///) comment style works more of...
documentation
delphi
ndoc
null
null
null
open
HelpInsight documentation in Delphi 2007 === I am using D2007 and am trying to document my source code, using the HelpInsight feature (provided since D2005). I am mainly interested in getting the HelpInsight tool-tips working. From various Web-surfing and experimentation I have found the following: 1. Using the ...
0
53,208
09/10/2008 00:13:35
814
08/09/2008 04:07:15
184
13
How do I automatically destroy child processes in Windows?
In C++ Windows app, I launch several long running child processes (currently I use CreateProcess(...) to do this. I want the child processes to be automatically closed if my main processes crashes or is closed. How do I do this?
windows
processes
null
null
null
null
open
How do I automatically destroy child processes in Windows? === In C++ Windows app, I launch several long running child processes (currently I use CreateProcess(...) to do this. I want the child processes to be automatically closed if my main processes crashes or is closed. How do I do this?
0
53,220
09/10/2008 00:29:07
2,975
08/26/2008 09:40:04
1,240
52
Is there an ASP.NET pagination control (Not MVC)?
I've got a search results page that basically consists of a repeater with content in it. What I need is a way to paginate the results. Getting paginated results isn't the problem, what I'm after is a web control that will display a list of the available paged data, preferably by providing the number of results and a ...
asp.net
pagination
null
null
null
null
open
Is there an ASP.NET pagination control (Not MVC)? === I've got a search results page that basically consists of a repeater with content in it. What I need is a way to paginate the results. Getting paginated results isn't the problem, what I'm after is a web control that will display a list of the available paged dat...
0
53,224
09/10/2008 00:30:42
5,346
09/09/2008 10:01:45
109
9
Getting international characters from a web page?
I want to scrape some information off a football (soccer) web page using simple python regexp's. The problem is that players such as the first chap, ÄÄRITALO, comes out as &amp;#196;&amp;#196;RITALO! That is, html uses escaped markup for the special characters, such as &amp;#196; Is there a simple way of reading...
python
html
unicode
parse
null
null
open
Getting international characters from a web page? === I want to scrape some information off a football (soccer) web page using simple python regexp's. The problem is that players such as the first chap, ÄÄRITALO, comes out as &amp;#196;&amp;#196;RITALO! That is, html uses escaped markup for the special characters,...
0
53,225
09/10/2008 00:31:11
4,883
09/06/2008 10:24:59
461
5
How do you check whether a python method is bound or not?
Given a reference to a method, is there a way to check whether the method is bound to an object or not? Can you also access the instance that it's bound to?
python
null
null
null
null
null
open
How do you check whether a python method is bound or not? === Given a reference to a method, is there a way to check whether the method is bound to an object or not? Can you also access the instance that it's bound to?
0
53,232
09/10/2008 00:37:52
445,087
09/02/2008 17:25:48
318
7
How can I run a Windows GUI application on as a service?
I have an existing GUI application that should have been implemented as a service. Basically, I need to be able to remotely log onto and off of the Windows 2003 server and still keep this program running. Is this even possible?
windows
gui
legacy
windows-services
null
null
open
How can I run a Windows GUI application on as a service? === I have an existing GUI application that should have been implemented as a service. Basically, I need to be able to remotely log onto and off of the Windows 2003 server and still keep this program running. Is this even possible?
0
53,249
09/10/2008 00:51:13
1,811
08/18/2008 17:11:10
160
14
Are there any good Javascript code coverage tools?
Looking for a Javascript code coverage tool. Ideally, I'd be able to easily integrate with continuous builds. Looking for something that I can run cross-platform, but Windows only tools may be able to work. Does anybody have any good recommendations of tools to use or what tools to avoid? **Note**: I've al...
javascript
qa
code-coverage
software-quality
coverage
06/29/2012 01:54:35
not constructive
Are there any good Javascript code coverage tools? === Looking for a Javascript code coverage tool. Ideally, I'd be able to easily integrate with continuous builds. Looking for something that I can run cross-platform, but Windows only tools may be able to work. Does anybody have any good recommendations of tools...
4
53,253
09/10/2008 00:56:49
3,915
08/31/2008 21:34:28
18
0
Should we stop using Zend WinEnabler?
Our system uses Zend WinEnabler. Do you use it? Is it obsolete? Should we stop using it? Is it known to cause handle/memory leaks? Here is an (old) introduction to it: "PHP Creators Unveil New Product that Makes PHP Truly Viable for Windows Environments" <http://personalweb.about.com/b/2004/03/29/zend-announces-win...
php
zend
null
null
null
null
open
Should we stop using Zend WinEnabler? === Our system uses Zend WinEnabler. Do you use it? Is it obsolete? Should we stop using it? Is it known to cause handle/memory leaks? Here is an (old) introduction to it: "PHP Creators Unveil New Product that Makes PHP Truly Viable for Windows Environments" <http://personalwe...
0
53,256
09/10/2008 00:59:46
429
08/05/2008 16:44:40
1,424
48
Getting closest element by id
I have two elements: <input a> <input b onclick="..."> When b is clicked, I want to access a and manipulate some of its data. A does not have a globally unique name, so document.getElementsByName is out. Looking into the event object, I thought event.target.parentNode would have some function like get...
javascript
html
dom
null
null
null
open
Getting closest element by id === I have two elements: <input a> <input b onclick="..."> When b is clicked, I want to access a and manipulate some of its data. A does not have a globally unique name, so document.getElementsByName is out. Looking into the event object, I thought event.target.parentNod...
0
53,257
09/10/2008 01:02:42
5,479
09/09/2008 22:28:56
11
3
Case Tools
Anyone here using a case tool for programming in a corporate environment? I am using AllFusion Gen aka IEF\Composer\Cool:Gen from Computer Associates.
casetools
null
null
null
null
null
open
Case Tools === Anyone here using a case tool for programming in a corporate environment? I am using AllFusion Gen aka IEF\Composer\Cool:Gen from Computer Associates.
0
53,260
09/10/2008 01:08:20
797
08/09/2008 02:14:04
2,102
85
Retaining HTTP POST data when a request is interrupted by a login page
Say a user is browsing a website, and then performs some action which changes the database (let's say they add a comment). When the request to actually add the comment comes in, however, we find we need to force them to login before they can continue. Assume the login page asks for a username and password, and redir...
language-agnostic
null
null
null
null
null
open
Retaining HTTP POST data when a request is interrupted by a login page === Say a user is browsing a website, and then performs some action which changes the database (let's say they add a comment). When the request to actually add the comment comes in, however, we find we need to force them to login before they can co...
0
53,290
09/10/2008 01:36:21
117
08/02/2008 05:54:20
686
24
How could I get my SVN-only host to pull from a git repository?
I'd really like to get our host to pull from our Git repository instead of uploading files manually, but it doesn't have Git installed. So is there a way to trick Subversion (which they do have) into checking out a Git repository? I think I already know the answer, namely bug my host to add Git and live with it u...
svn
git
build-automation
capistrano
null
null
open
How could I get my SVN-only host to pull from a git repository? === I'd really like to get our host to pull from our Git repository instead of uploading files manually, but it doesn't have Git installed. So is there a way to trick Subversion (which they do have) into checking out a Git repository? I think I alre...
0
53,292
09/10/2008 01:36:47
422
08/05/2008 15:11:55
1,097
52
Ruby Package Include Problems
I'm trying to use the [Optiflag][1] package in my Ruby code and whenever I try to do the necessary `require optiflag.rb`, my program fails with the standard `no such file to load -- optiflag` message. I added the directory with that library to my $PATH variable, but it's still not working. Any ideas? [1]: http:/...
ruby
null
null
null
null
null
open
Ruby Package Include Problems === I'm trying to use the [Optiflag][1] package in my Ruby code and whenever I try to do the necessary `require optiflag.rb`, my program fails with the standard `no such file to load -- optiflag` message. I added the directory with that library to my $PATH variable, but it's still not wor...
0
53,295
09/10/2008 01:39:55
5,054
09/07/2008 15:33:08
1
0
Java Web Services API, however I can't run Tomcat on my server
I'm trying to use some data from a PlanPlusOnline account. They only provide a java web services API. The server for the site where the data will be used does not allow me to install Tomcat. I'm not going to lie, I am a Java software engineer, and I do some web work on the side. I'm not familiar with web services o...
web-services
json
null
null
null
null
open
Java Web Services API, however I can't run Tomcat on my server === I'm trying to use some data from a PlanPlusOnline account. They only provide a java web services API. The server for the site where the data will be used does not allow me to install Tomcat. I'm not going to lie, I am a Java software engineer, and I...
0
53,301
09/10/2008 01:47:08
708
08/08/2008 06:10:02
557
18
Can you bind a DataTrigger to an Attached Property?
In WPF, is it possible for a DataTrigger to bind to an attached property? I essentially want to use a converter on an attached property to provide a style when a particular validation rule has been broken. I am using markup like the following: <DataTrigger Binding="{Binding Path=Validation.Errors, ...
wpf
null
null
null
null
null
open
Can you bind a DataTrigger to an Attached Property? === In WPF, is it possible for a DataTrigger to bind to an attached property? I essentially want to use a converter on an attached property to provide a style when a particular validation rule has been broken. I am using markup like the following: <DataTrig...
0
53,309
09/10/2008 01:52:52
1,891
08/19/2008 05:37:52
258
7
Best way to draw text with OpenGL and Cocoa?
Does anyone know an easy way to draw arbitrary text in a Cocoa NSOpenGLView? I have a couple of constraints. - The text on screen may change from frame to frame (for example, a framerate display in the corner) - I would like to be able to select any font installed on the system at any size
cocoa
opengl
null
null
null
null
open
Best way to draw text with OpenGL and Cocoa? === Does anyone know an easy way to draw arbitrary text in a Cocoa NSOpenGLView? I have a couple of constraints. - The text on screen may change from frame to frame (for example, a framerate display in the corner) - I would like to be able to select any font install...
0
53,316
09/10/2008 02:09:02
1,666
08/17/2008 21:07:18
958
58
Hibernate crops clob values oddly
I have a one to many relationship between two tables. The many table contains a clob column. The clob column looks like this in hibernate: @CollectionOfElements(fetch = EAGER) @JoinTable(name = NOTE_JOIN_TABLE, joinColumns = @JoinColumn(name = "note")) @Column(name = "substitution") @IndexColumn(name = "listI...
java
oracle
hibernate
null
null
null
open
Hibernate crops clob values oddly === I have a one to many relationship between two tables. The many table contains a clob column. The clob column looks like this in hibernate: @CollectionOfElements(fetch = EAGER) @JoinTable(name = NOTE_JOIN_TABLE, joinColumns = @JoinColumn(name = "note")) @Column(name = "subs...
0
53,338
09/10/2008 02:41:32
5,408
09/09/2008 13:23:01
11
1
What are the disadvantages of Typed DataSets
I come from a world that favors building your own rather than rely on libraries and frameworks built by others. After escaping this world I have found the joy, and ease, of using such tools as Typed DataSets within Visual Studio. So besides the loss of flexibility what else do you lose? Are there performance factors (d...
.net
dataset
dal
null
null
null
open
What are the disadvantages of Typed DataSets === I come from a world that favors building your own rather than rely on libraries and frameworks built by others. After escaping this world I have found the joy, and ease, of using such tools as Typed DataSets within Visual Studio. So besides the loss of flexibility what ...
0
53,347
09/10/2008 02:55:05
242
08/03/2008 22:55:19
480
29
Crystal Report icons/toolbar not working when deployed on web server
I have built a web page which contains a Crystal Report built using the Crystal libraries included in Visual Studio 2008. It 'works on my machine' but when deployed to the web server the icons (Export, Print etc) on the Crystal Report toolbar do not display or work. Just seeing the 'red X' where the button image ...
deployment
crystal-reports
null
null
null
null
open
Crystal Report icons/toolbar not working when deployed on web server === I have built a web page which contains a Crystal Report built using the Crystal libraries included in Visual Studio 2008. It 'works on my machine' but when deployed to the web server the icons (Export, Print etc) on the Crystal Report toolba...
0
53,355
09/10/2008 03:07:41
1,965
08/19/2008 15:51:08
3,804
223
How do you create a shortcut to a directory so that it opens in explorer
Better yet, how can I make My Computer always open in Explorer as well? I usually make a shortcut to my programming directories on my quick launch bar, but I'd love for them to open in Explorer.
windows
explorer
generic
null
null
null
open
How do you create a shortcut to a directory so that it opens in explorer === Better yet, how can I make My Computer always open in Explorer as well? I usually make a shortcut to my programming directories on my quick launch bar, but I'd love for them to open in Explorer.
0
53,364
09/10/2008 03:18:13
4,959
09/07/2008 02:03:07
1
1
Printing in Adobe AIR - Standalone PDF Generation
<p>Is it possible to generate PDF Documents in an Adobe AIR application without resorting to a round trip web service for generating the PDF? I've looked at the initial Flex Reports on GoogleCode but it requires a round trip for generating the actual PDF.</p> <p>Given that AIR is supposed to be the Desktop end for RIA...
flex
air
printing
ria
null
null
open
Printing in Adobe AIR - Standalone PDF Generation === <p>Is it possible to generate PDF Documents in an Adobe AIR application without resorting to a round trip web service for generating the PDF? I've looked at the initial Flex Reports on GoogleCode but it requires a round trip for generating the actual PDF.</p> <p>G...
0
53,365
09/10/2008 03:19:38
1,666
08/17/2008 21:07:18
958
58
Getting hibernate to log clob parameters
*(see [here][1] for the problem I'm trying to solve)* How do you get hibernate to log clob values it's going to insert. It is logging other value types, such as Integer etc. I have the following in my log4j config: log4j.logger.net.sf.hibernate.SQL=DEBUG log4j.logger.org.hibernate.SQL=DEBUG log4j...
hibernate
oracle
java
null
null
null
open
Getting hibernate to log clob parameters === *(see [here][1] for the problem I'm trying to solve)* How do you get hibernate to log clob values it's going to insert. It is logging other value types, such as Integer etc. I have the following in my log4j config: log4j.logger.net.sf.hibernate.SQL=DEBUG l...
0
53,370
09/10/2008 03:28:04
361
08/05/2008 04:20:27
549
23
Where are people getting that rotaty loading image?
I keep running across this loading image <http://georgia.ubuntuforums.com/images/misc/lightbox_progress.gif> which seems to have entered into existence in the last 18 months. All of a sudden it is in every application and is on every web site. Not wanting to be left out is there somewhere I can get this logo, p...
image
animation
null
null
null
null
open
Where are people getting that rotaty loading image? === I keep running across this loading image <http://georgia.ubuntuforums.com/images/misc/lightbox_progress.gif> which seems to have entered into existence in the last 18 months. All of a sudden it is in every application and is on every web site. Not wanting...
0
53,379
09/10/2008 03:37:33
3,839
08/31/2008 10:11:12
563
35
using DBMS_APPLICATION_INFO with Jboss
Does anyone have examples of how to use [DBMS_APPLICATION_INFO][1] package with JBOSS? We have a various applications which run within JBOSS and share db pools. I would like, at the start of each session these applications to identify themselves to the database using DBMS_APPLICATION_INFO so I can more easily trac...
java
oracle
jboss
null
null
null
open
using DBMS_APPLICATION_INFO with Jboss === Does anyone have examples of how to use [DBMS_APPLICATION_INFO][1] package with JBOSS? We have a various applications which run within JBOSS and share db pools. I would like, at the start of each session these applications to identify themselves to the database using DBM...
0
53,391
09/10/2008 03:54:15
5,496
09/10/2008 02:49:33
1
0
Centralizing/controlling arbitrary builds of .NET projects and solutions.
Over the years I have created and tweaked a set of NAnt scripts to perform complete project builds. The main script takes a single application end point (a web application project for example) and does a complete, from source control, build of it. The scripts are preconfigured with the necessary information regarding...
.net
visual-studio
build-automation
null
null
null
open
Centralizing/controlling arbitrary builds of .NET projects and solutions. === Over the years I have created and tweaked a set of NAnt scripts to perform complete project builds. The main script takes a single application end point (a web application project for example) and does a complete, from source control, build...
0
53,395
09/10/2008 04:03:08
5,302
09/08/2008 22:49:47
16
4
Suggestions wanted with Lists or Enumerators of T when inheriting from generic classes
I know the answer is not going to be simple, and I already use a couple of (I think ugly) cludges. I am simply looking for some elegant answers. Abstract class: public interface IOtherObjects; public abstract class MyObjects<T> where T : IOtherObjects { ... public List<T> ToL...
c#
generics
suggestions
null
null
null
open
Suggestions wanted with Lists or Enumerators of T when inheriting from generic classes === I know the answer is not going to be simple, and I already use a couple of (I think ugly) cludges. I am simply looking for some elegant answers. Abstract class: public interface IOtherObjects; public abstract cl...
0
53,404
09/10/2008 04:13:38
223
08/03/2008 16:58:07
11
4
Managed OleDB provider written in C#
An OleDB provider is a binary implementing COM interfaces provided by Microsoft. From that it seems to be possible to create a provider using C#. Is that correct? Is there a sample demonstrating that? If not, would you discourage me from doing that? I see that there are multiple unmanaged samples but I can't find any m...
c#
com
oledb
null
null
null
open
Managed OleDB provider written in C# === An OleDB provider is a binary implementing COM interfaces provided by Microsoft. From that it seems to be possible to create a provider using C#. Is that correct? Is there a sample demonstrating that? If not, would you discourage me from doing that? I see that there are multipl...
0
53,411
09/10/2008 04:21:42
5,503
09/10/2008 04:13:18
1
0
wav <> mp3 for flash(as3)
I'm wondering about MP3 decoding/encoding, and I was hoping to pull this off in Flash using AS3 I'm sure it'll be a right pain... I have no idea where to start, can anyone offer any pointers? reference material?
mp3
as3
decode
wav
null
null
open
wav <> mp3 for flash(as3) === I'm wondering about MP3 decoding/encoding, and I was hoping to pull this off in Flash using AS3 I'm sure it'll be a right pain... I have no idea where to start, can anyone offer any pointers? reference material?
0
53,417
09/10/2008 04:38:19
2,847
08/25/2008 14:12:52
595
45
NHibernate or LINQ to SQL
If starting a new project what would you use for your ORM NHibernate or LINQ and why. What are the pros and cons of each. edit: LINQ to SQL not just LINQ (thanks @Jon Limjap)
nhibernate
linq
c#
.net
null
07/22/2012 02:42:19
not constructive
NHibernate or LINQ to SQL === If starting a new project what would you use for your ORM NHibernate or LINQ and why. What are the pros and cons of each. edit: LINQ to SQL not just LINQ (thanks @Jon Limjap)
4
53,426
09/10/2008 04:47:57
2,064
08/20/2008 03:39:44
155
2
Memory leak detectors for C?
What memory leak detectors have people had a good experience with?
c
memory-leaks
null
null
null
null
open
Memory leak detectors for C? === What memory leak detectors have people had a good experience with?
0
53,428
09/10/2008 04:49:32
5,499
09/10/2008 03:15:54
1
1
What are some good Python ORM solutions?
I'm evaluating and looking at using CherryPy for a project that's basically a javascript front-end from the client-side (browser) that talks to a Python web service on the back-end. So, I really need something fast and lightweight on the back-end that I can implement using Python that then speaks to the PostgreSQL db v...
python
orm
null
null
null
07/14/2012 14:12:05
not constructive
What are some good Python ORM solutions? === I'm evaluating and looking at using CherryPy for a project that's basically a javascript front-end from the client-side (browser) that talks to a Python web service on the back-end. So, I really need something fast and lightweight on the back-end that I can implement using ...
4
53,435
09/10/2008 04:52:58
209
08/03/2008 13:54:19
70
6
Getting IIS Worker Process Crash dumps
I'm doing something bad in my ASP.NET app. It could be the any number of CTP libraries I'm using or I'm just not disposing something properly. But when I redeploy my ASP.NET to my Vista IIS7 install or my server's IIS6 install I crash an IIS worker process. I've narrowed the problem down to my HTTP crawler, which is...
c#
asp.net
debugging
multithreading
null
null
open
Getting IIS Worker Process Crash dumps === I'm doing something bad in my ASP.NET app. It could be the any number of CTP libraries I'm using or I'm just not disposing something properly. But when I redeploy my ASP.NET to my Vista IIS7 install or my server's IIS6 install I crash an IIS worker process. I've narrowed t...
0
53,439
09/10/2008 04:55:21
266
08/04/2008 10:02:44
1,146
30
Is it possible to unit test p/invoke calls?
I want to wrap a piece of code that uses the Windows Impersonation API into a neat little helper class, and as usual, I'm looking for a way to go test-first. However, while WindowsIdentity is a managed class, the LogonUser call that is required to actually perform the logging in as another user is an unmanaged function...
c#
unit-testing
impersonation
unmanaged
null
null
open
Is it possible to unit test p/invoke calls? === I want to wrap a piece of code that uses the Windows Impersonation API into a neat little helper class, and as usual, I'm looking for a way to go test-first. However, while WindowsIdentity is a managed class, the LogonUser call that is required to actually perform the lo...
0
53,444
09/10/2008 04:59:45
157
08/02/2008 17:42:25
773
45
donation services
A friend came to me about a donation service on his website. We want to go as cheap as possible, and when I suggested paypal he said he wants to go an "independent" route --I think this means he doesn't want a gateway service, but I don't think that is possible without collecting the data and going old school with pape...
e-commerce
payment
donation
null
null
null
open
donation services === A friend came to me about a donation service on his website. We want to go as cheap as possible, and when I suggested paypal he said he wants to go an "independent" route --I think this means he doesn't want a gateway service, but I don't think that is possible without collecting the data and goi...
0
53,450
09/10/2008 05:07:25
4,239
09/02/2008 13:46:59
53
6
When building a Handler, should it be .ashx or .axd?
Say I'm building an ASP.Net class that inherits from IHttpHandler, should I wire this up to a URL ending in .ashx, or should I use the .axd extension? Does it matter as long as there's no naming conflict?
asp.net
null
null
null
null
null
open
When building a Handler, should it be .ashx or .axd? === Say I'm building an ASP.Net class that inherits from IHttpHandler, should I wire this up to a URL ending in .ashx, or should I use the .axd extension? Does it matter as long as there's no naming conflict?
0
53,464
09/10/2008 05:20:54
959
08/11/2008 05:23:02
143
13
How to stop IIS asking authentication for default website on localhost
I have IIS 5.1 installed on Windows XP Pro SP2. Besides I have installed VS 2008 Express with .NET 3.5. So obviously IIS is configured for ASP.NET automatically for .NET 3.5 The problem is whenever I access http://localhost IE & Firefox both presents authentication box. Even if I enter Administrator user and its pas...
iis
null
null
null
null
null
open
How to stop IIS asking authentication for default website on localhost === I have IIS 5.1 installed on Windows XP Pro SP2. Besides I have installed VS 2008 Express with .NET 3.5. So obviously IIS is configured for ASP.NET automatically for .NET 3.5 The problem is whenever I access http://localhost IE & Firefox both...
0
53,472
09/10/2008 05:28:46
4,121
09/01/2008 21:29:49
20
1
Best way to convert a Ruby string range to a Range object
I have some Ruby code which takes dates on the command line in the format: -d 20080101,20080201..20080229,20080301 Which means I want to run for all dates between 20080201 and 20080229 (inclusive) and the other dates present in the list. Given I can get the string 20080201..20080229 what is the best way to con...
ruby
null
null
null
null
null
open
Best way to convert a Ruby string range to a Range object === I have some Ruby code which takes dates on the command line in the format: -d 20080101,20080201..20080229,20080301 Which means I want to run for all dates between 20080201 and 20080229 (inclusive) and the other dates present in the list. Given I ca...
0
53,473
09/10/2008 05:29:40
5,512
09/10/2008 05:29:40
1
0
Javascript - Applying class to an HTML tag given an attribute/value
I am trying to apply styles to HTML tags dynamically by reading in the value of certain HTML attributes and applying a class name based on their values. For instance, if I have: `<p height="30">` I want to apply a `class="h30"` to that paragraph so that I can style it in my style sheet. I can't find any informati...
javascript
html
attributes
null
null
null
open
Javascript - Applying class to an HTML tag given an attribute/value === I am trying to apply styles to HTML tags dynamically by reading in the value of certain HTML attributes and applying a class name based on their values. For instance, if I have: `<p height="30">` I want to apply a `class="h30"` to that parag...
0
53,479
09/10/2008 05:37:26
5,110
09/07/2008 22:57:07
8
5
ASP.NET MVC vs. Web client software factory (WCSF)
I have recently been doing a bit of investigation into the different types of Model View architectures, and need to decide which one to pursue for future in-house development. As I'm currently working in a Microsoft shop that has ASP.NET skills, it seems my options are between ASP.NET MVC and WCSF (Monorail is probably...
asp.net
asp.net-mvc
wcsf
null
null
null
open
ASP.NET MVC vs. Web client software factory (WCSF) === I have recently been doing a bit of investigation into the different types of Model View architectures, and need to decide which one to pursue for future in-house development. As I'm currently working in a Microsoft shop that has ASP.NET skills, it seems my option...
0
53,480
09/10/2008 05:37:30
5,369
09/09/2008 11:14:39
46
9
Fuzzy text (sentences/titles) matching in C#
Hey, I'm using [Levenshteins][1] algorithm to get distance between source and target string. also I have method which returns value from 0 to 1: /// <summary> /// Gets the similarity between two strings. /// All relation scores are in the [0, 1] range, /// which means that if the score gets a ...
c#
algorithm
string
fuzzy-search
null
null
open
Fuzzy text (sentences/titles) matching in C# === Hey, I'm using [Levenshteins][1] algorithm to get distance between source and target string. also I have method which returns value from 0 to 1: /// <summary> /// Gets the similarity between two strings. /// All relation scores are in the [0, 1] rang...
0
53,482
09/10/2008 05:41:34
4,960
09/07/2008 02:07:20
286
14
How do I change the password of the root user in MySQL?
I have long since forgotten the password for the root user on one of my boxes. Is there a way I can change it without having to log in to the instance, or will I have to reinstall?
mysql
null
null
null
null
null
open
How do I change the password of the root user in MySQL? === I have long since forgotten the password for the root user on one of my boxes. Is there a way I can change it without having to log in to the instance, or will I have to reinstall?
0
53,489
09/10/2008 05:50:39
4,883
09/06/2008 10:24:59
504
5
How do you list all processes on the command line in Windows?
Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine?
windows
command-line
null
null
null
null
open
How do you list all processes on the command line in Windows? === Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine?
0
53,491
09/10/2008 05:52:21
4,960
09/07/2008 02:07:20
291
15
How do I enable external access to MySQL Server?
How do I enable external access to MySQL Server? I can connect locally but I cannot connect from another box on the network. I just tried grant all privileges on *.* to root@'%' identified by '*****' with grant option; And restarted MySQL Server with no success.
mysql
null
null
null
null
null
open
How do I enable external access to MySQL Server? === How do I enable external access to MySQL Server? I can connect locally but I cannot connect from another box on the network. I just tried grant all privileges on *.* to root@'%' identified by '*****' with grant option; And restarted MySQL Server with no...
0