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
24,734
08/24/2008 00:40:48
1,147
08/12/2008 19:29:43
65
7
SelectNodes not working on stackoverflow feed
I'm trying to add support for stackoverflow feeds in my rss reader but **SelectNodes** and **SelectSingleNode** have no effect. This is probably something to do with ATOM and xml namespaces that I just don't understand yet. I have gotten it to work by removing all attributes from the **feed** tag, but that's a hack ...
c#
atom
rss
.net
null
null
open
SelectNodes not working on stackoverflow feed === I'm trying to add support for stackoverflow feeds in my rss reader but **SelectNodes** and **SelectSingleNode** have no effect. This is probably something to do with ATOM and xml namespaces that I just don't understand yet. I have gotten it to work by removing all a...
0
24,772
08/24/2008 01:26:34
1,490
08/15/2008 21:35:24
389
50
How do I write a Firefox Addon?
What are some resources for getting started writing a Firefox Addon? Is there an API guide somewhere? Is there a getting tarted tutorial somewhere? Is there a developer discussion board somewhere?
firefox
addon
gettingstarted
tutorials
null
null
open
How do I write a Firefox Addon? === What are some resources for getting started writing a Firefox Addon? Is there an API guide somewhere? Is there a getting tarted tutorial somewhere? Is there a developer discussion board somewhere?
0
24,797
08/24/2008 02:08:15
1,950
08/19/2008 14:57:18
68
4
Effectively Converting dates between UTC and Local (ie. PST) time in SQL 2005
What is the best way to convert a UTC datetime into local datetime. It isn't as simple as a getutcdate() and getdate() difference because the difference changes depending on what the date is. CLR integration isn't an option for me either.
sql-server
null
null
null
null
null
open
Effectively Converting dates between UTC and Local (ie. PST) time in SQL 2005 === What is the best way to convert a UTC datetime into local datetime. It isn't as simple as a getutcdate() and getdate() difference because the difference changes depending on what the date is. CLR integration isn't an option for me eit...
0
24,812
08/24/2008 02:40:19
1,921
08/19/2008 14:17:41
69
14
Reccomendations needed for good AI references
I've been asked to help out on an XNA project with the AI. I'm not totally new to the concepts (pathfinding, flocking, etc.) but this would be the first "real" code. I'd be very thankful for any resources (links or books); I want to make sure I do this right.
ai
xna
gamedevelopment
null
null
null
open
Reccomendations needed for good AI references === I've been asked to help out on an XNA project with the AI. I'm not totally new to the concepts (pathfinding, flocking, etc.) but this would be the first "real" code. I'd be very thankful for any resources (links or books); I want to make sure I do this right.
0
24,813
08/24/2008 02:42:07
2,657
08/24/2008 02:14:27
1
2
Automating MSI Build Process
Does anyone have a good way to build MSI (vdproj) projects using MsBuild or Nant? I know [one answer][1] was to install Visual Studio on the build server and just use devenv.exe to build the project, but, I prefer not to install Visual Studio on our build servers. [1]: http://forums.msdn.microsoft.com/en-US/msb...
build-process
build-automation
null
null
null
null
open
Automating MSI Build Process === Does anyone have a good way to build MSI (vdproj) projects using MsBuild or Nant? I know [one answer][1] was to install Visual Studio on the build server and just use devenv.exe to build the project, but, I prefer not to install Visual Studio on our build servers. [1]: http://f...
0
24,816
08/24/2008 02:52:42
2,657
08/24/2008 02:14:27
1
2
Escaping strings with jQuery
Does anyone know of an easy way to escape HTML from strings in [jQuery][1]? I need to be able to pass an arbitrary string and have it properly escaped for display in an HTML page (preventing JavaScript/HTML injection attacks). I'm sure it's possible to extend jQuery to do this, but I don't know enough about the frame...
javascript
jquery
mvc
null
null
null
open
Escaping strings with jQuery === Does anyone know of an easy way to escape HTML from strings in [jQuery][1]? I need to be able to pass an arbitrary string and have it properly escaped for display in an HTML page (preventing JavaScript/HTML injection attacks). I'm sure it's possible to extend jQuery to do this, but I...
0
24,821
08/24/2008 03:02:15
1,953
08/19/2008 15:13:00
91
13
Buffer Output
This problem started [on a different board][1], but [Dave Ward][2], who was very prompt and helpful there is also here, so I'd like to pick up here for hopefully the last remaining piece of the puzzle. Basically, I was looking for a way to do constant updates to a web page from a long process. I thought AJAX was the...
asp.net
javascript
html
null
null
null
open
Buffer Output === This problem started [on a different board][1], but [Dave Ward][2], who was very prompt and helpful there is also here, so I'd like to pick up here for hopefully the last remaining piece of the puzzle. Basically, I was looking for a way to do constant updates to a web page from a long process. I t...
0
24,823
08/24/2008 03:05:47
404
08/05/2008 13:34:59
673
42
Implementing a custom Windows Workflow activity that executes an asynchronous operation
I'm having some conceptual trouble on figuring out how to best implement this... I want to create a custom Activity class for Windows Workflow. The activity has to call out to a third party library method that itself runs another process asynchronously and may take anywhere from seconds to many hours to complete. Thi...
windows
workflow
asynchronous
activity
null
null
open
Implementing a custom Windows Workflow activity that executes an asynchronous operation === I'm having some conceptual trouble on figuring out how to best implement this... I want to create a custom Activity class for Windows Workflow. The activity has to call out to a third party library method that itself runs anot...
0
24,847
08/24/2008 05:00:45
369
08/05/2008 08:33:43
436
33
What's a good linux C/C++ IDE for a low-res screen?
I recently bought an Asus Eee PC 901, on which I am running Ubuntu linux. I was mucking around in C on my old (larger) laptop, and I want to continue to do so on the Eee. However, Anjuta - the IDE that I was using - is not very usable with the Eee's resolution of 1024x600. What with the status pane at the bottom...
linux
ide
c
c++
eeepc
null
open
What's a good linux C/C++ IDE for a low-res screen? === I recently bought an Asus Eee PC 901, on which I am running Ubuntu linux. I was mucking around in C on my old (larger) laptop, and I want to continue to do so on the Eee. However, Anjuta - the IDE that I was using - is not very usable with the Eee's resolutio...
0
24,849
08/24/2008 05:10:57
184
08/03/2008 05:34:19
815
11
Is there some way to introduce a delay in javascript?
Is there some function like delay() or wait() for delaying executing of the JavaScript code for a specific number of milliseconds?
javascript
null
null
null
null
null
open
Is there some way to introduce a delay in javascript? === Is there some function like delay() or wait() for delaying executing of the JavaScript code for a specific number of milliseconds?
0
24,853
08/24/2008 05:19:19
2,128
08/20/2008 13:32:09
80
3
(C) What is the difference between ++i and i++
In C, what is the difference between using ++i and i++. And which should be used in the incrementation block of a for loop?
c
forloop
increment
null
null
null
open
(C) What is the difference between ++i and i++ === In C, what is the difference between using ++i and i++. And which should be used in the incrementation block of a for loop?
0
24,864
08/24/2008 05:46:57
122
08/02/2008 07:56:07
3,760
175
VirtualBox from an existing partition
I installed VirtualBox on my Ubuntu Hardy Heron installation, and I would like to use it to virtualize Windows for those rare occasions that I actually need to do something there. Unfortunately, I don't have an installation disk at the moment, but I do have Vista already installed on a partition (it came with the ma...
windows
linux
virtualization
virtualbox
null
null
open
VirtualBox from an existing partition === I installed VirtualBox on my Ubuntu Hardy Heron installation, and I would like to use it to virtualize Windows for those rare occasions that I actually need to do something there. Unfortunately, I don't have an installation disk at the moment, but I do have Vista already in...
0
24,866
08/24/2008 05:48:22
184
08/03/2008 05:34:19
820
11
Is it essential that I use libraries to manipulate xml?
I am using java back end for creating an xml string which is passed to the browser. Currently I am using simple string manipulation to produce this xml. Is it essential that I use some xml library in java to produce the xml string? I find the libraries very difficult to use compared to what I need.
java
xml
null
null
null
null
open
Is it essential that I use libraries to manipulate xml? === I am using java back end for creating an xml string which is passed to the browser. Currently I am using simple string manipulation to produce this xml. Is it essential that I use some xml library in java to produce the xml string? I find the libraries very ...
0
24,881
08/24/2008 06:30:09
2,128
08/20/2008 13:32:09
117
3
C gcc errors
I'm trying to solve [the 3n+1 problem][1] and I have a for loop that looks like this: for(int i = low; i <= high; ++i) { res = runalg(i); if (res > highestres) { highestres = res; } ...
c
forloop
gcc
null
null
null
open
C gcc errors === I'm trying to solve [the 3n+1 problem][1] and I have a for loop that looks like this: for(int i = low; i <= high; ++i) { res = runalg(i); if (res > highestres) { highestres = res; ...
0
24,885
08/24/2008 06:47:47
834
08/09/2008 07:29:24
140
12
Do you use Amazons Cloud services for your company?
I read a lot about the possibilities of [Amazons Cloud][1] computing, like [S3][2] or [EC2][3] and I wondered if someone actually uses this for mission-critical applications. Do you host your company website in the cloud? Do you store files there? Do you run your build servers in the cloud? There are already some se...
cloud
cloudcomputing
amazon
null
null
null
open
Do you use Amazons Cloud services for your company? === I read a lot about the possibilities of [Amazons Cloud][1] computing, like [S3][2] or [EC2][3] and I wondered if someone actually uses this for mission-critical applications. Do you host your company website in the cloud? Do you store files there? Do you run your...
0
24,886
08/24/2008 06:48:23
116
08/02/2008 05:51:57
3,903
198
Is there a performance difference between i++ and ++i ?
Is there a performance difference between i++ and ++i if the resulting value is not used?
c
performance
optimization
assembler
null
null
open
Is there a performance difference between i++ and ++i ? === Is there a performance difference between i++ and ++i if the resulting value is not used?
0
24,891
08/24/2008 06:50:56
2,128
08/20/2008 13:32:09
119
3
C Memory Management
I've always heard that in C you have to really watch how you manage memory. And I'm still beginning to learn C, but thus far, I have not had to do any memory managing related activities at all.. I always imagined having to release variables and do all sorts of ugly things. But this doesn't seem to be the case. Can s...
memory
c
null
null
null
null
open
C Memory Management === I've always heard that in C you have to really watch how you manage memory. And I'm still beginning to learn C, but thus far, I have not had to do any memory managing related activities at all.. I always imagined having to release variables and do all sorts of ugly things. But this doesn't seem...
0
24,901
08/24/2008 07:14:22
116
08/02/2008 05:51:57
3,913
201
Is there a performance difference between i++ and ++i in C++?
We looked at this answer for C in this question: <http://stackoverflow.com/questions/24886/is-there-a-performance-difference-between-i-and-i-in-c> What's the answer for C++?
c++
optimization
performance
null
null
null
open
Is there a performance difference between i++ and ++i in C++? === We looked at this answer for C in this question: <http://stackoverflow.com/questions/24886/is-there-a-performance-difference-between-i-and-i-in-c> What's the answer for C++?
0
24,915
08/24/2008 07:53:13
2,663
08/24/2008 05:25:57
11
3
BizTalk DB2 adapter connection error
My colleagues are attempting to connect BizTalk 2006 R2 via DB2/MVS adapter to a database hosted on z/OS mainframe. When testing the connecting settings, they are getting the following error Could not connect to data source 'New Data Source': The network connection was terminated because the host failed to ...
db2
biztalk
null
null
null
null
open
BizTalk DB2 adapter connection error === My colleagues are attempting to connect BizTalk 2006 R2 via DB2/MVS adapter to a database hosted on z/OS mainframe. When testing the connecting settings, they are getting the following error Could not connect to data source 'New Data Source': The network connection ...
0
24,929
08/24/2008 08:42:23
2,528
08/22/2008 16:39:39
95
4
Difference between EXISTS and IN in SQL?
I would like to know the difference between the EXIST and IN clause in SQL? When should we use EXIST and when IN should be used? Thank you.
sql
null
null
null
null
null
open
Difference between EXISTS and IN in SQL? === I would like to know the difference between the EXIST and IN clause in SQL? When should we use EXIST and when IN should be used? Thank you.
0
24,931
08/24/2008 08:46:57
1,670
08/17/2008 21:56:17
6
0
How to capture Python interpreter's and/or CMD.EXE's output from a Python script?
1. Is it possible to capture Python interpreter's output from a Python script? 2. Is it possible to capture Windows CMD's output from a Python script? If so, which librar(y|ies) should I look into?
python
pythoninterpreter
cmd.exe
null
null
null
open
How to capture Python interpreter's and/or CMD.EXE's output from a Python script? === 1. Is it possible to capture Python interpreter's output from a Python script? 2. Is it possible to capture Windows CMD's output from a Python script? If so, which librar(y|ies) should I look into?
0
24,941
08/24/2008 09:10:36
276
08/04/2008 10:44:14
73
6
Where can i find extended HTML reporters for Simpletest?
I am using [Simpletest][1] as my unit test framework for the PHP site I am currently working on. I like the fact that it is shipped with a simple HTML reporter, but I would like a bit more advanced reporter. I have read at the reporter api documentation, but it would be nice to be able to use an existing reporter, i...
php
unittesting
simpletest
gui
null
null
open
Where can i find extended HTML reporters for Simpletest? === I am using [Simpletest][1] as my unit test framework for the PHP site I am currently working on. I like the fact that it is shipped with a simple HTML reporter, but I would like a bit more advanced reporter. I have read at the reporter api documentation, ...
0
24,954
08/24/2008 10:05:38
2,669
08/24/2008 09:07:31
1
0
Windows: List and Launch applications associated with an extension
How to determine the applications associated with a particular extension (e.g. .JPG) and then determine where the executable to that application is located so that it can be launched via a call to say System.Diagnostics.Process.Start(...).
windows
registry
.net
null
null
null
open
Windows: List and Launch applications associated with an extension === How to determine the applications associated with a particular extension (e.g. .JPG) and then determine where the executable to that application is located so that it can be launched via a call to say System.Diagnostics.Process.Start(...).
0
24,959
08/24/2008 10:28:10
2,041
08/19/2008 23:02:38
95
7
Debugging asp.net with firefox and visual studio.net - very slow compared to IE
Debugging asp.net websites/web projects in visual studio.net 2005 with Firefox is loads slower than using IE. I've read something somewhere that there is a way of fixing this but i can't for the life of me find it again. Does anyone know what i'm on about and can point me in the right direction please? Cheer...
vs2005
firefox
debugging
null
null
null
open
Debugging asp.net with firefox and visual studio.net - very slow compared to IE === Debugging asp.net websites/web projects in visual studio.net 2005 with Firefox is loads slower than using IE. I've read something somewhere that there is a way of fixing this but i can't for the life of me find it again. Does a...
0
24,963
08/24/2008 10:38:17
1,073
08/12/2008 10:10:14
1
3
How to learn MDX
I am currently learning OLAP & MDX after many years of relational database development. Any tips on getting started in MDX? What are the best books and resources to learn MDX?
olap
ssas
mdx
null
null
null
open
How to learn MDX === I am currently learning OLAP & MDX after many years of relational database development. Any tips on getting started in MDX? What are the best books and resources to learn MDX?
0
24,965
08/24/2008 10:43:17
832
08/09/2008 06:51:40
1,803
138
TDD n00b - Challenges? Solutions? Recommendations?
OK, I know there have already been questions about [getting started with TDD](http://stackoverflow.com/questions/4303/why-should-i-practice-test-driven-development-and-how-should-i-start).. However, I guess I kind of know the general concensus is to _just do it_ , However, I seem to have the following problems getting ...
tdd
experience
null
null
null
10/07/2011 13:02:51
not constructive
TDD n00b - Challenges? Solutions? Recommendations? === OK, I know there have already been questions about [getting started with TDD](http://stackoverflow.com/questions/4303/why-should-i-practice-test-driven-development-and-how-should-i-start).. However, I guess I kind of know the general concensus is to _just do it_ ,...
4
24,968
08/24/2008 10:49:32
1,929
08/19/2008 14:25:01
21
4
What are your most useful Resharper settings configurations and codetemplates?
I find Resharper a must for VS2008 but there are so many options to configure everything. What are the settings you immediately configure in a new Resharper install? Do you share your setting with all your team?
#visualstudio
resharper
null
null
null
null
open
What are your most useful Resharper settings configurations and codetemplates? === I find Resharper a must for VS2008 but there are so many options to configure everything. What are the settings you immediately configure in a new Resharper install? Do you share your setting with all your team?
0
24,986
08/24/2008 11:50:08
2,455
08/22/2008 11:29:07
43
1
How do I profile a Maven Application in Netbeans?
I've got a project using Maven 2 as the build tool. I use Netbeans 6 as my IDE and really want to be able to use the profiler. How can I get this to work?
profiling
maven-2
netbeans
profiler
null
null
open
How do I profile a Maven Application in Netbeans? === I've got a project using Maven 2 as the build tool. I use Netbeans 6 as my IDE and really want to be able to use the profiler. How can I get this to work?
0
24,991
08/24/2008 12:03:28
755
08/08/2008 15:28:16
284
20
Why can't I explicitly pass the type argument to a generic Java method?
I have defined a Java function: static <T> List<T> createEmptyList() { return new ArrayList<T>(); } One way to call it is like so: List<Integer> myList = createEmptyList(); // Compiles Why can't I call it by explicitly passing the generic type argument? : Object myObject = creat...
java
generics
syntax
null
null
null
open
Why can't I explicitly pass the type argument to a generic Java method? === I have defined a Java function: static <T> List<T> createEmptyList() { return new ArrayList<T>(); } One way to call it is like so: List<Integer> myList = createEmptyList(); // Compiles Why can't I call it by e...
0
24,993
08/24/2008 12:11:01
31,505
2008-09-01
451
23
InvalidOperationException while creating wcf web service instance
I have a WCF Web Service which is referenced from a class library. After the project is run, when creating the service client object from inside a class library, I receive an InvalidOperationException with message: Could not find default endpoint element that references contract 'MyServiceReference.IMyService' in th...
wcf
webservices
null
null
null
null
open
InvalidOperationException while creating wcf web service instance === I have a WCF Web Service which is referenced from a class library. After the project is run, when creating the service client object from inside a class library, I receive an InvalidOperationException with message: Could not find default endpoint...
0
24,995
08/24/2008 12:14:14
755
08/08/2008 15:28:16
284
20
Is there a functional language for C++ ecosystem?
Java has [Scala][1] and .NET has [F#][2]. Both of these languages are very highly integrated into the respective Java and .NET platforms. Classes can be written in Scala then extended in Java for example. Does there exist an equivalent functional language that interoperates highly with C++? [1]: http://www.sc...
c++
functional
null
null
null
null
open
Is there a functional language for C++ ecosystem? === Java has [Scala][1] and .NET has [F#][2]. Both of these languages are very highly integrated into the respective Java and .NET platforms. Classes can be written in Scala then extended in Java for example. Does there exist an equivalent functional language that...
0
25,007
08/24/2008 12:33:58
1,199,387
08/06/2008 23:58:10
273
19
Conditional formating - percentage to color conversion
I'm a little bit stuck here - I know this is basics, but it's Sunday and I figured this would be the type of question that get answered in 10min on Stack Overflow, and it might even be a fun one to answer... What's the easiest way to convert a percentage to a color ranging from Green (100%) to Red (0%), with Yellow ...
c#
colors
null
null
null
null
open
Conditional formating - percentage to color conversion === I'm a little bit stuck here - I know this is basics, but it's Sunday and I figured this would be the type of question that get answered in 10min on Stack Overflow, and it might even be a fun one to answer... What's the easiest way to convert a percentage to...
0
25,033
08/24/2008 13:29:20
2,628
08/23/2008 18:34:26
90
1
I Am Not Getting the Result I Expect Using readLine() in Java
I am using the code snippet below, however it's not working quite as I understand it should. public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; try { line = br.readLine(); while(line != null) { System.out....
java
java-io
null
null
null
null
open
I Am Not Getting the Result I Expect Using readLine() in Java === I am using the code snippet below, however it's not working quite as I understand it should. public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; try { ...
0
25,041
08/24/2008 13:40:00
1,693
08/18/2008 02:25:37
417
22
SPAN Height in Firefox
Using CSS, I'm trying to specify the height of a SPAN tag in Firefox, but it's just not accepting it (IE does, funnily enough). Firefox accepts the height if I use a DIV, but the problem with using a DIV is the annoying line break after it, which I can't have in this particular instance. I tried setting the CSS ...
css
firefox
null
null
null
null
open
SPAN Height in Firefox === Using CSS, I'm trying to specify the height of a SPAN tag in Firefox, but it's just not accepting it (IE does, funnily enough). Firefox accepts the height if I use a DIV, but the problem with using a DIV is the annoying line break after it, which I can't have in this particular instance. ...
0
25,042
08/24/2008 13:40:15
1,710
08/18/2008 07:18:54
327
16
Am I allowed to have "incomplete" aggregates in DDD?
DDD states that you should only ever access entities through their aggregate root. So say for instance that you have an aggregate root X which potentially has a *lot* of child Y entities. Now, for some scenario, you only really care about a subset of these Y entities at a time (maybe you're displaying them in a paged l...
domain-driven-design
null
null
null
null
null
open
Am I allowed to have "incomplete" aggregates in DDD? === DDD states that you should only ever access entities through their aggregate root. So say for instance that you have an aggregate root X which potentially has a *lot* of child Y entities. Now, for some scenario, you only really care about a subset of these Y ent...
0
25,046
08/24/2008 13:42:35
2,450
08/22/2008 11:13:30
11
1
Lisp Executable
I've just started learning Lisp and I can't figure out how to compile and link lisp code to an executable. Im using clisp and "clisp -c" produces two files .fas and .lib, what do I do next to get an exeutable?
lisp
clisp
null
null
null
null
open
Lisp Executable === I've just started learning Lisp and I can't figure out how to compile and link lisp code to an executable. Im using clisp and "clisp -c" produces two files .fas and .lib, what do I do next to get an exeutable?
0
25,063
08/24/2008 14:05:31
381
08/05/2008 10:39:26
1,251
25
How to mentor a junior programmer
Does anyone have any suggestions on how to mentor a junior programmer ? If you have mentored someone did you follow any process or was it quite informal ? If you've been mentored in the past what kind of things did you find most helpful ?
teaching
language-agnostic
bestpractice
mentoring
null
null
open
How to mentor a junior programmer === Does anyone have any suggestions on how to mentor a junior programmer ? If you have mentored someone did you follow any process or was it quite informal ? If you've been mentored in the past what kind of things did you find most helpful ?
0
25,116
08/24/2008 15:37:50
2,679
08/24/2008 14:31:44
1
1
Binary buffer in Python
In Python you can use [StringIO][1] for a file-like buffer for character data. [Memory-mapped file][2] basically does similar thing for binary data, but it requires a file that is used as the basis. Does Python have a file object that is intended for binary data and is memory only, equivalent to Java's [ByteArrayOutput...
python
io
binary
buffer
null
null
open
Binary buffer in Python === In Python you can use [StringIO][1] for a file-like buffer for character data. [Memory-mapped file][2] basically does similar thing for binary data, but it requires a file that is used as the basis. Does Python have a file object that is intended for binary data and is memory only, equivale...
0
25,128
08/24/2008 16:01:46
1,384,652
08/01/2008 12:01:23
1,191
67
Images in PHP
Is it possible to create images with PHP (as opposed to simply linking to them via HTML) and if so, where should I go first to learn about such a thing?
php
image
null
null
null
null
open
Images in PHP === Is it possible to create images with PHP (as opposed to simply linking to them via HTML) and if so, where should I go first to learn about such a thing?
0
25,132
08/24/2008 16:04:39
2,077
08/20/2008 07:26:21
76
2
Are named entities in HTML still necessary in the age of Unicode aware browsers?
I did a lot of PHP programming in the last years and one thing that keeps annoying me is the weak support for Unicode and multibyte strings (to be sure, natively there is none). For example, "htmlentities" seems to be a much used funtion in the PHP world and I found it to be absolutely annoying when you've put an effor...
php
unicode
html
internationalization
null
null
open
Are named entities in HTML still necessary in the age of Unicode aware browsers? === I did a lot of PHP programming in the last years and one thing that keeps annoying me is the weak support for Unicode and multibyte strings (to be sure, natively there is none). For example, "htmlentities" seems to be a much used funt...
0
25,137
08/24/2008 16:08:46
290
08/04/2008 12:57:50
368
40
What Is Your Experience With Model Checking?
- What types of applications have you used [model checking][1] for? - What model checking tool did you use? - How would you summarize your experience w/ the technique, specifically in evaluating its effectiveness in delivering higher quality software? In the course of my studies, I had a chance to use [Spin][2...
model-checking
formal-verification
correctness
formal-methods
algorithm
null
open
What Is Your Experience With Model Checking? === - What types of applications have you used [model checking][1] for? - What model checking tool did you use? - How would you summarize your experience w/ the technique, specifically in evaluating its effectiveness in delivering higher quality software? In the co...
0
25,147
08/24/2008 16:21:17
2,118
08/20/2008 12:54:09
185
8
How can I merge PHP arrays?
I have two arrays of animals (for example). $array = array( array( 'id' => 1, 'name' => 'Cat', ), array( 'id' => 2, 'name' => 'Mouse', ) ); $array2 = array( array( 'id' => 2, 'age' => 321, ), array( 'id' =>...
php
arrays
null
null
null
null
open
How can I merge PHP arrays? === I have two arrays of animals (for example). $array = array( array( 'id' => 1, 'name' => 'Cat', ), array( 'id' => 2, 'name' => 'Mouse', ) ); $array2 = array( array( 'id' => 2, 'age' => 321, ...
0
25,156
08/24/2008 16:28:54
2,586
08/23/2008 08:44:06
6
5
New language to learn for a business applications developer
Say, one is a business applications developer (database, UI, 3-layer architecture, you know) working on Java or .NET platform and not going to change his career direction. What new programming language would you recommend him to learn to continue his professional growth and why?
language
null
null
null
null
null
open
New language to learn for a business applications developer === Say, one is a business applications developer (database, UI, 3-layer architecture, you know) working on Java or .NET platform and not going to change his career direction. What new programming language would you recommend him to learn to continue his ...
0
25,158
08/24/2008 16:31:25
2,703
08/24/2008 16:06:02
1
0
Building C# .NET windows application with multiple views
I'm rewriting an old application and use this a a good opportunity to try out C# and .NET development (I usually do a lot of plug-in stuff in C). The application is basically a timer collecting data. It has a start view with a button to start the measurement. During the measurement the app has five different views d...
c#
.net
windows
null
null
null
open
Building C# .NET windows application with multiple views === I'm rewriting an old application and use this a a good opportunity to try out C# and .NET development (I usually do a lot of plug-in stuff in C). The application is basically a timer collecting data. It has a start view with a button to start the measurem...
0
25,174
08/24/2008 16:45:06
2,706
08/24/2008 16:23:08
1
0
How to prevent session timeout in Symfony 1.0?
I've used the PHP MVC framework Symfony to build an on-demand web app. It has an annoying bug - the session expires after about 15-30 minutes of inactivity. There is a config directive to prevent session expiration but it does not work. Even workarounds such as [this one][1] did not help me. I intend not to migra...
php
symfony
null
null
null
null
open
How to prevent session timeout in Symfony 1.0? === I've used the PHP MVC framework Symfony to build an on-demand web app. It has an annoying bug - the session expires after about 15-30 minutes of inactivity. There is a config directive to prevent session expiration but it does not work. Even workarounds such as [th...
0
25,182
08/24/2008 16:53:34
26
08/01/2008 12:18:14
1,874
107
What's optimal? UNION vs WHERE IN (str1, str2, str3)
I'm writing a program that sends an email out at a client's specific local time. I have a .NET method that takes a timezone & time and destination timezone and returns the time in that timezone. So my method is to select every distinct timezone in the database, check if it is the correct time using the method, then sel...
sql
null
null
null
null
null
open
What's optimal? UNION vs WHERE IN (str1, str2, str3) === I'm writing a program that sends an email out at a client's specific local time. I have a .NET method that takes a timezone & time and destination timezone and returns the time in that timezone. So my method is to select every distinct timezone in the database, ...
0
25,184
08/24/2008 16:56:59
269
08/04/2008 10:13:44
1,278
88
Starting out in Consultancy
What extra skills should developers interested in Consulting possess and what is the best way to gain them?
business
personaldevelopment
null
null
null
null
open
Starting out in Consultancy === What extra skills should developers interested in Consulting possess and what is the best way to gain them?
0
25,192
08/24/2008 17:05:40
2,367
08/21/2008 21:14:31
1
1
Java SWIFT Library
I'm looking for a Java library for SWIFT messages. I want to * parse SWIFT messages into an object model * validate SWIFT messages (including SWIFT network validation rules) * build / change SWIFT messages by using an object model So far I've looked at two libraries * AnaSys Message Objects ([link text][1]) ...
java
swift
null
null
null
null
open
Java SWIFT Library === I'm looking for a Java library for SWIFT messages. I want to * parse SWIFT messages into an object model * validate SWIFT messages (including SWIFT network validation rules) * build / change SWIFT messages by using an object model So far I've looked at two libraries * AnaSys Message O...
0
25,200
08/24/2008 17:17:51
2,684
08/24/2008 14:38:27
1
0
C#.NET Winforms: Is it possible to override Label.Autosize ?
I don't like the AutoSize property of the Label control. I have a custom Label that draws a fancy rounded border among other things. I'm placing a AutoSize = false in my constructor, however, when I place it in design mode, the property always is True. I have overridden other properties with success but this one is...
c#
label
winforms
autosize
override
null
open
C#.NET Winforms: Is it possible to override Label.Autosize ? === I don't like the AutoSize property of the Label control. I have a custom Label that draws a fancy rounded border among other things. I'm placing a AutoSize = false in my constructor, however, when I place it in design mode, the property always is True. ...
0
25,224
08/24/2008 17:48:12
2,462
08/22/2008 12:21:34
1
1
joining latest of various usermetadata tags to user rows
I have a postgres database with a user table (userid, firstname, lastname) and a usermetadata table (userid, code, content, created datetime). I store various information about each user in the usermetadata table by code and keep a full history. so for example, a user (userid 15) has the following metadata: 15, 'QHS...
database
postgresql
null
null
null
null
open
joining latest of various usermetadata tags to user rows === I have a postgres database with a user table (userid, firstname, lastname) and a usermetadata table (userid, code, content, created datetime). I store various information about each user in the usermetadata table by code and keep a full history. so for examp...
0
25,225
08/24/2008 17:49:02
1,582
08/16/2008 20:41:09
6
2
Combining values from different files into one CSV file
I have a couple of files containing a value in each line
regex
linux
unix
shell
null
null
open
Combining values from different files into one CSV file === I have a couple of files containing a value in each line
0
25,227
08/24/2008 17:50:23
2,638
08/23/2008 20:10:14
126
6
Your feeling about 'brainteaser'-based interviews
...either as interviewer and/or interviewee! I know lots of people are against them. I'm quite fond of brainteasers (math/CS-based, and I certainly prefer those which don't require any specialized knowledge). In my line of work, 'problem solving' is quite an important requirement when looking for new hires and I...
interview-questions
null
null
null
null
03/11/2012 14:07:48
not constructive
Your feeling about 'brainteaser'-based interviews === ...either as interviewer and/or interviewee! I know lots of people are against them. I'm quite fond of brainteasers (math/CS-based, and I certainly prefer those which don't require any specialized knowledge). In my line of work, 'problem solving' is quite an...
4
9,617,481
03/08/2012 12:13:21
1,256,938
03/08/2012 11:55:26
1
0
JSF2+AJAX: Keep Scrollbar position, plain mojarra
I have a more complex webapp in JSF2 (+EJB3.1 +JPA2 on glassfish 3.1), which only uses standard (mojarra) JSF-components and makes massive use of nested composites and ajax-calls. I want all my scrollbars save and restore their position whenever an ajax-call occurs. I tried different approaches, but none seems re...
jsf-2.0
null
null
null
null
null
open
JSF2+AJAX: Keep Scrollbar position, plain mojarra === I have a more complex webapp in JSF2 (+EJB3.1 +JPA2 on glassfish 3.1), which only uses standard (mojarra) JSF-components and makes massive use of nested composites and ajax-calls. I want all my scrollbars save and restore their position whenever an ajax-call occ...
0
9,617,482
03/08/2012 12:13:23
1,254,554
03/07/2012 11:31:39
1
0
android threading with activity;
In my activity class i created a obj from other java file in the same package , now that the work is finished in runnable , how do i come back to my activity class from where the thread was started. consider this situation; public class myActivity extends activity{ MyThread t; public void onCreate(B...
android-intent
null
null
null
null
null
open
android threading with activity; === In my activity class i created a obj from other java file in the same package , now that the work is finished in runnable , how do i come back to my activity class from where the thread was started. consider this situation; public class myActivity extends activity{ M...
0
9,617,483
03/08/2012 12:13:24
1,256,667
03/08/2012 09:34:16
1
0
Japanese characters in file appearing garbled after changing Formats (Region & Langauge) in Windows English OS to Japanese (Java application))
Whilst investigating an internationalisation issue in some Java code whereby on a Japanese Windows 7 OS, the Japanese titles of media files (images/videos) appear as Chinese characters in excel files exported from a manager application (that records events such as item A started "playing", stopped "playing", item B sta...
java
windows
fonts
japanese
formats
null
open
Japanese characters in file appearing garbled after changing Formats (Region & Langauge) in Windows English OS to Japanese (Java application)) === Whilst investigating an internationalisation issue in some Java code whereby on a Japanese Windows 7 OS, the Japanese titles of media files (images/videos) appear as Chines...
0
9,617,488
03/08/2012 12:13:36
1,003,183
10/19/2011 13:03:58
10
0
IIS7.5 MS Access Authentication
I have IIS7.5 with two websites, and I have an Access database on a server on our network. The first website has anonymous auth on, using a specific network account (lets say 'jim.smith'). The second website has windows auth on. I've written some ASP to use a DSN-Less connection to the Access database, and I'...
ms-access
authentication
iis-7.5
null
null
null
open
IIS7.5 MS Access Authentication === I have IIS7.5 with two websites, and I have an Access database on a server on our network. The first website has anonymous auth on, using a specific network account (lets say 'jim.smith'). The second website has windows auth on. I've written some ASP to use a DSN-Less conn...
0
9,617,490
03/08/2012 12:13:42
494,461
11/02/2010 08:05:55
397
1
how to expose a c# class as a com objects interface?
I have a c# class P2PLib. public int portRecv=10101; public int portSend = 10102; public int multicastPort=10103; int memberNum = 0; string data; string time; List<Member> MemberList = new List<Member>(); public void DisplayMembers(); publ...
c#
c++
com
null
null
null
open
how to expose a c# class as a com objects interface? === I have a c# class P2PLib. public int portRecv=10101; public int portSend = 10102; public int multicastPort=10103; int memberNum = 0; string data; string time; List<Member> MemberList = new List<Membe...
0
9,617,493
03/08/2012 12:13:48
1,256,835
03/08/2012 11:02:51
1
0
Simple php if !empty-function
I want to simply echo a link (set in a custom field in Wordpress), when the corresponding field is not empty. I tried the following, but the output is missing the link. Only the field as plain text gets printed <?php $projekt_link = the_field('link'); if(!empty($projekt_link)){ ...
php
null
null
null
null
null
open
Simple php if !empty-function === I want to simply echo a link (set in a custom field in Wordpress), when the corresponding field is not empty. I tried the following, but the output is missing the link. Only the field as plain text gets printed <?php $projekt_link = the_field('link'); if(...
0
9,617,474
03/08/2012 12:12:49
1,256,944
03/08/2012 11:57:16
1
0
Several collection formats for the same table in Hive
I process data with two maps per records, one is ("&","=")-formatted (id=111&name=...), the other one is (";","=")-formatted. Of course, I could : - replace ";" by "&" in the data - or define * one of them as MAP<STRING,STRING> with "COLLECTION ITEMS TERMINATED BY ..." specified at declaration * and tr...
hive
null
null
null
null
null
open
Several collection formats for the same table in Hive === I process data with two maps per records, one is ("&","=")-formatted (id=111&name=...), the other one is (";","=")-formatted. Of course, I could : - replace ";" by "&" in the data - or define * one of them as MAP<STRING,STRING> with "COLLECTION ITE...
0
9,617,495
03/08/2012 12:13:57
1,161,002
01/20/2012 16:23:58
20
3
Symfony2: should I use JSON Twig templates?
Quick question on best practice. I have an AJAX application where there are 4 routes that all return JSON to be used by jQuery. I'm currently using something like this at the end of the Controller return new Response(json_encode($some_array)); In one place I use JMSSerializer because the object I'm tryi...
php
jquery
ajax
json
symfony-2.0
03/09/2012 19:08:31
not constructive
Symfony2: should I use JSON Twig templates? === Quick question on best practice. I have an AJAX application where there are 4 routes that all return JSON to be used by jQuery. I'm currently using something like this at the end of the Controller return new Response(json_encode($some_array)); In one plac...
4
9,527,760
03/02/2012 03:57:50
370,213
06/18/2010 10:46:28
15
0
MongoDB _id query on capped collection without an _id index, performance will be poor collection
i create a capped collection(`crawl02`) and create an index for this capped. > db.system.indexes.find() { "v" : 1, "key" : { "_id" : 1 }, "ns" : "test.crawl02", "name" : "_id_" } when i runing an application and query capped collection,the `MongoDB Log` ALWAYS output the follow log: `[conn2] warning: ...
c#
mongodb
null
null
null
null
open
MongoDB _id query on capped collection without an _id index, performance will be poor collection === i create a capped collection(`crawl02`) and create an index for this capped. > db.system.indexes.find() { "v" : 1, "key" : { "_id" : 1 }, "ns" : "test.crawl02", "name" : "_id_" } when i runing an applica...
0
25,238
08/24/2008 17:59:04
1,725
08/18/2008 10:57:01
31
2
100% Min Height CSS layout
What's the best way to make an element of 100% minimum height across a wide range of browsers ? In particular if you have a layout with a header and footer of fixed height how do you make the middle content part fill 100% of the space in between with the footer fixed to the bottom ?
html
css
xhtml
valid
null
null
open
100% Min Height CSS layout === What's the best way to make an element of 100% minimum height across a wide range of browsers ? In particular if you have a layout with a header and footer of fixed height how do you make the middle content part fill 100% of the space in between with the footer fixed to the bottom ?
0
25,240
08/24/2008 18:00:47
2,515
08/22/2008 15:49:45
1
0
Inserting at the very end in FCKeditor
FCKeditor has InsertHtml ([JavaScript API document](http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API)) that inserts HTML in the current cursor position. How do I insert at the very end of the document? Do I need to start browser sniffing with something like this if ( element.insertAdjac...
fckeditor
plugins
null
null
null
null
open
Inserting at the very end in FCKeditor === FCKeditor has InsertHtml ([JavaScript API document](http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API)) that inserts HTML in the current cursor position. How do I insert at the very end of the document? Do I need to start browser sniffing with somethi...
0
25,241
08/24/2008 18:00:54
1,725
08/18/2008 10:57:01
31
2
Unit testing IHttpModule
How do you unit test a HttpModule in asp.net given that HttpApplication and HttpContext do no implement an interface ?
c#
asp.net
unit-testing
mvc
mocking
null
open
Unit testing IHttpModule === How do you unit test a HttpModule in asp.net given that HttpApplication and HttpContext do no implement an interface ?
0
25,259
08/24/2008 18:21:11
1,632
08/17/2008 17:09:25
231
20
How do you change a title to be part of the url like Stackoverflow?
What is a good complete Regex or some other process that would take "How do you change a title to be part of the url like Stackoverflow?" and turn it into "how-do-you-change-a-title-to-be-part-of-the-url-like-stackoverflow" that is used in the smart urls? The dev environment is I am using is Rails but if there are...
regex
null
null
null
null
null
open
How do you change a title to be part of the url like Stackoverflow? === What is a good complete Regex or some other process that would take "How do you change a title to be part of the url like Stackoverflow?" and turn it into "how-do-you-change-a-title-to-be-part-of-the-url-like-stackoverflow" that is used in the sma...
0
25,261
08/24/2008 18:23:21
2,727
08/24/2008 18:23:21
1
0
help with sigprocmask()
I haven't completely understood how to use sigprocmask(). Particularly how the set and oldset in its syntax work and how to use them. int sigprocmask(int how, const sigset_t *set, sigset_t *oldset); Please explain with an example used to block, say SIGUSR1 for a few seconds and then unblock and handle it.
c
signals
sigprocmask
null
null
null
open
help with sigprocmask() === I haven't completely understood how to use sigprocmask(). Particularly how the set and oldset in its syntax work and how to use them. int sigprocmask(int how, const sigset_t *set, sigset_t *oldset); Please explain with an example used to block, say SIGUSR1 for a few seconds and then unb...
0
25,268
08/24/2008 18:31:54
1,117
08/12/2008 13:27:15
1,040
74
What are the best practices when using SWIG with C#?
Has anybody out there used the [SWIG][1] library with C#? If you have, what pitfalls did you find and what is the best way to use the library? I am thinking about using it as a wrapper for a program that was written in C and I want to wrap the header files where I can use them in my .NET application. [1]: http...
swig
c#
c
null
null
null
open
What are the best practices when using SWIG with C#? === Has anybody out there used the [SWIG][1] library with C#? If you have, what pitfalls did you find and what is the best way to use the library? I am thinking about using it as a wrapper for a program that was written in C and I want to wrap the header files whe...
0
25,269
08/24/2008 18:32:14
2,086
08/20/2008 10:43:39
40
8
Remotely starting and stopping a service on a W2008 server
I'm having an amazing amount of trouble starting and stopping a service on my remote server from my msbuild script. SC.EXE and the ServiceController MSBuild task don't provide switches to allow a username/password so they won't authenticate, so I'm using RemoteService.exe from www.intelliadmin.com -Authenticating...
services
server2008
null
null
null
null
open
Remotely starting and stopping a service on a W2008 server === I'm having an amazing amount of trouble starting and stopping a service on my remote server from my msbuild script. SC.EXE and the ServiceController MSBuild task don't provide switches to allow a username/password so they won't authenticate, so I'm usin...
0
25,277
08/24/2008 18:47:16
2,134
08/20/2008 13:58:24
624
23
Can you perform an AND search of keywords using FREETEXT() on SQL Server 2005?
There is a [request][1] to make the SO search default to an AND style functionality over the current OR when multiple terms are used. The official response was: > not as simple as it sounds; we use SQL Server 2005's FREETEXT() function, and I can't find a way to specify AND vs. OR -- can you? So, is there a wa...
stackoverflow
search
mssql
sql-server-2005
freetext
null
open
Can you perform an AND search of keywords using FREETEXT() on SQL Server 2005? === There is a [request][1] to make the SO search default to an AND style functionality over the current OR when multiple terms are used. The official response was: > not as simple as it sounds; we use SQL Server 2005's FREETEXT() fun...
0
25,282
08/24/2008 18:58:16
1,797
08/18/2008 15:46:11
746
37
How would you implement a hashtable in language x?
The point of this question is to collect a list of examples of hashtable implementations using arrays in different languages. It would also be nice if someone could throw in a pretty detailed overview of how they work, and what is happening with each example.
hash
array
language-agnostic
null
null
06/17/2012 13:37:47
not constructive
How would you implement a hashtable in language x? === The point of this question is to collect a list of examples of hashtable implementations using arrays in different languages. It would also be nice if someone could throw in a pretty detailed overview of how they work, and what is happening with each example. ...
4
25,297
08/24/2008 19:37:24
2,717
08/24/2008 17:01:00
1
0
Reserved Keyword in Enumeration in C#
I would like to use "as" and "is" as members of an enumeration. I know that this is possible in VB.NET to write it like this: Public Enum Test [as] = 1 [is] = 2 End Enum How do I write the equivalent statement in C#? This: public enum Test { as = 1, ...
c#
vb.net
.net-2.0
null
null
null
open
Reserved Keyword in Enumeration in C# === I would like to use "as" and "is" as members of an enumeration. I know that this is possible in VB.NET to write it like this: Public Enum Test [as] = 1 [is] = 2 End Enum How do I write the equivalent statement in C#? This: public ...
0
25,323
08/24/2008 20:34:10
2,741
08/24/2008 20:17:51
1
0
WCF - Domain Objects and IExtensibleDataObject
OK, so I've been asking this question round and about various places, and never really gotten a good answer. Typical scenario. We use old-school XML Web Services *internally* for communicating between a server farm and several distributed *and* local clients. No third parties involved, only our own applications used...
wcf
domain-driven-design
serialization
soa
soap
null
open
WCF - Domain Objects and IExtensibleDataObject === OK, so I've been asking this question round and about various places, and never really gotten a good answer. Typical scenario. We use old-school XML Web Services *internally* for communicating between a server farm and several distributed *and* local clients. No th...
0
25,331
08/24/2008 20:55:49
2,454
08/22/2008 11:22:25
50
2
Best book/resource for learning Java design patterns?
I know the MVC design pattern but would be a little unclear about other Java design patterns, so I was just wondering if there's any useful books or other resources you could recommend to get up to speed with these patterns?
java
design-patterns
null
null
null
09/15/2011 07:17:45
off topic
Best book/resource for learning Java design patterns? === I know the MVC design pattern but would be a little unclear about other Java design patterns, so I was just wondering if there's any useful books or other resources you could recommend to get up to speed with these patterns?
2
25,332
08/24/2008 20:57:33
1,592
08/17/2008 06:18:13
11
3
What's a good natural language library to use for paraphrasing?
I'm looking for an existing library to summarize or paraphrase content (I'm aiming at blog posts) - any experience with existing natural language processing libraries? I'm open to a variety of languages, so I'm more interested in the abilities & accuracy.
natural-language-process
language-agnostic
null
null
null
null
open
What's a good natural language library to use for paraphrasing? === I'm looking for an existing library to summarize or paraphrase content (I'm aiming at blog posts) - any experience with existing natural language processing libraries? I'm open to a variety of languages, so I'm more interested in the abilities & ac...
0
25,343
08/24/2008 21:10:33
33
08/01/2008 12:32:10
425
26
Is there any way to automate windows forms testing?
I am familiar with nunit for unit testing of the business layer however I am looking now to automate the test of the win forms gui layer. I have seen [watin][1] and the watin recorder for automating tests on web application by accessing the controls and automating them. However I am struggling to find a watin eq...
automated-tests
c#
vb.net
.net
winforms
null
open
Is there any way to automate windows forms testing? === I am familiar with nunit for unit testing of the business layer however I am looking now to automate the test of the win forms gui layer. I have seen [watin][1] and the watin recorder for automating tests on web application by accessing the controls and au...
0
25,349
08/24/2008 21:23:23
2,684
08/24/2008 14:38:27
31
4
What would be the fastest way to remove Newlines from a String in C#?
I have a string that has some Environment.Newline in it. I'd like to strip those from the string and instead, replace the Newline with something like a comma. What would be, in your opinion, the best way to do this using C#.NET 2.0? Thanks in advance.
c#
.net
string
replace
null
null
open
What would be the fastest way to remove Newlines from a String in C#? === I have a string that has some Environment.Newline in it. I'd like to strip those from the string and instead, replace the Newline with something like a comma. What would be, in your opinion, the best way to do this using C#.NET 2.0? Thank...
0
25,355
08/24/2008 21:31:33
2,723
08/24/2008 17:49:45
1
0
Custom Attribute Binding in Silverlight
I've got two Silverlight Controls in my project, both have properties TeamId. I would like to bind these together in XAML in the control hosting both user controls similar to: <agChat:UserTeams x:Name="oUserTeams" /> <agChat:OnlineUser x:Name="oOnlineUsers" TeamId="{Binding ElementName=oUse...
silverlight
null
null
null
null
null
open
Custom Attribute Binding in Silverlight === I've got two Silverlight Controls in my project, both have properties TeamId. I would like to bind these together in XAML in the control hosting both user controls similar to: <agChat:UserTeams x:Name="oUserTeams" /> <agChat:OnlineUser x:Name="oO...
0
25,356
08/24/2008 21:32:21
2,178
08/20/2008 19:05:22
86
1
Flash designer/coder collaboration best practices
I've done several flash projects working as the actionscripter with a designer doing all the pretty things and animation. When starting out i found quite a lot of information about actionscript coding and flash design. Most of the information available seems to focus on one or the other. I didn't find any informatio...
flash
actionscript
null
null
null
null
open
Flash designer/coder collaboration best practices === I've done several flash projects working as the actionscripter with a designer doing all the pretty things and animation. When starting out i found quite a lot of information about actionscript coding and flash design. Most of the information available seems to foc...
0
25,367
08/24/2008 21:42:41
2,755
08/24/2008 21:39:28
1
0
What is the best calendar pop-up for populating a web form?
I want to be able to make an HTTP call updating some select boxes after a date is selected. I would like to be in control of updating the textbox so I know when there has been a "true" change (in the event the same date was selected). Ideally, I would call a function to pop-up the calendar and be able to evaluate the d...
javascript
null
null
null
null
null
open
What is the best calendar pop-up for populating a web form? === I want to be able to make an HTTP call updating some select boxes after a date is selected. I would like to be in control of updating the textbox so I know when there has been a "true" change (in the event the same date was selected). Ideally, I would cal...
0
25,375
08/24/2008 21:51:57
1,595
08/17/2008 08:00:50
485
20
How can I represent an very large integer in .NET?
Does .NET come with a class capable of representing extremely large integers, such as 100 factorial? If not, what are some good third party libraries to accomplish this?
.net
null
null
null
null
null
open
How can I represent an very large integer in .NET? === Does .NET come with a class capable of representing extremely large integers, such as 100 factorial? If not, what are some good third party libraries to accomplish this?
0
25,376
08/24/2008 21:53:16
2,757
08/24/2008 21:53:16
1
0
What is a good use of lambda expressions, and how can I learn to use them?
I've read that Lambda Expressions are an incredibly powerful addition to C#, yet I find myself mystified by them. How can they improve my life or make my code better? Can anyone point to a good resource for learning such expressions? They seem cool as hell, but how do they relate to my day-to-day life as an asp.net ...
lambda
c#
null
null
null
null
open
What is a good use of lambda expressions, and how can I learn to use them? === I've read that Lambda Expressions are an incredibly powerful addition to C#, yet I find myself mystified by them. How can they improve my life or make my code better? Can anyone point to a good resource for learning such expressions? The...
0
25,379
08/24/2008 21:56:17
2,715
08/24/2008 16:57:35
1
1
Family Website CMS
I am looking for a CMS that would be incredibly user-friendly and would have the following features: - really simple message board (no login required) - family tree - story telling area - photo section - news section Is there anything out there like this that is really easily configurable? I've already messed...
plugins
content-management-system
null
null
null
11/19/2011 01:12:53
not constructive
Family Website CMS === I am looking for a CMS that would be incredibly user-friendly and would have the following features: - really simple message board (no login required) - family tree - story telling area - photo section - news section Is there anything out there like this that is really easily configura...
4
25,396
08/24/2008 22:14:43
1,857
08/18/2008 22:24:37
41
2
ASP.NET Forms Authorization
I'm working on a website built with pure html and css, and I need a way to restrict access to pages located within particular directories within the site. The solution I came up with was, of course, ASP.Net Forms Authorization. I created the default Visual Studio log in form and set up the users, roles, and access rest...
asp.net
iis7
null
null
null
null
open
ASP.NET Forms Authorization === I'm working on a website built with pure html and css, and I need a way to restrict access to pages located within particular directories within the site. The solution I came up with was, of course, ASP.Net Forms Authorization. I created the default Visual Studio log in form and set up ...
0
25,432
08/24/2008 23:07:25
1,828
08/18/2008 18:48:27
1
0
Linq 2 SQL on shared host
I recently ran into an issue with linq on a shared host. The host is Shared Intellect and they support v3.5 of the framework. However, I am uncertain to whether they have SP1 installed. My suspicion is that they do not. I have a simple "News" table that has the following structure: NewsID unique...
linq-to-sql
hosting
shared
null
null
null
open
Linq 2 SQL on shared host === I recently ran into an issue with linq on a shared host. The host is Shared Intellect and they support v3.5 of the framework. However, I am uncertain to whether they have SP1 installed. My suspicion is that they do not. I have a simple "News" table that has the following structure...
0
25,449
08/24/2008 23:28:38
2,644
08/23/2008 21:56:47
46
4
How to create a pluginable Java program?
I want to create a Java program that can be extended with plugins. How can I do that and where should I look for? I have a set of interfaces that the plugin must implement, and it should be in a jar. The program should watch for new jars in a relative (to the program) folder and registered them somehow.
java
plugins
null
null
null
null
open
How to create a pluginable Java program? === I want to create a Java program that can be extended with plugins. How can I do that and where should I look for? I have a set of interfaces that the plugin must implement, and it should be in a jar. The program should watch for new jars in a relative (to the program) fo...
0
25,450
08/24/2008 23:33:25
1,666
08/17/2008 21:07:18
238
17
Abstraction away from CSS
Let me make something quite clear. I. **Hate**. CSS. It is a never-ending nightmare. Every minor layout change feels like a hack. Solutions to problems seem to often involve jiggering numbers around like some chef trying to work out exactly how much nutmeg to put in his soon-to-be famous rice pudding. Then comes ...
css
abstraction
null
null
null
null
open
Abstraction away from CSS === Let me make something quite clear. I. **Hate**. CSS. It is a never-ending nightmare. Every minor layout change feels like a hack. Solutions to problems seem to often involve jiggering numbers around like some chef trying to work out exactly how much nutmeg to put in his soon-to-be f...
0
25,455
08/24/2008 23:39:46
1,581
08/16/2008 20:39:26
18
1
Best Practices: What is the most efficient way to populate a time (or time range)?
While plenty of solutions exist for entering dates (such as calendars, drop-down menus, etc.), it doesn't seem like there are too many "standard" ways to ask for a time (or time range). I've personally tried drop-down menus for the hour, minute, and second fields (and sometimes an "AM/PM" field, as well). I've also...
time
input-devices
null
null
null
null
open
Best Practices: What is the most efficient way to populate a time (or time range)? === While plenty of solutions exist for entering dates (such as calendars, drop-down menus, etc.), it doesn't seem like there are too many "standard" ways to ask for a time (or time range). I've personally tried drop-down menus for t...
0
25,458
08/24/2008 23:40:16
392
08/05/2008 12:29:07
541
43
How costly is Reflection? Really.
I constantly hear how bad reflection is to use. While I generally avoid reflection and rarely find situations where it is impossible to solve my problem without it, I was wondering... For those who have used reflection in applications, have you measured performance hits and, is it really so bad?
c#
.net
performance
reflection
null
null
open
How costly is Reflection? Really. === I constantly hear how bad reflection is to use. While I generally avoid reflection and rarely find situations where it is impossible to solve my problem without it, I was wondering... For those who have used reflection in applications, have you measured performance hits and,...
0
25,460
08/24/2008 23:43:00
1,704
08/18/2008 05:42:19
1
0
Asynchronous Stored Procedure Calls
Is it possible to call a stored prodcedure from another stored procedure asynchronously?
sql
stored-procedures
null
null
null
null
open
Asynchronous Stored Procedure Calls === Is it possible to call a stored prodcedure from another stored procedure asynchronously?
0
25,461
08/24/2008 23:44:53
1,675
08/17/2008 22:59:34
1
2
stdbool.h c++
In a project I am interfacing between c++ and a c library that uses stdbool.h defined as such. <pre><code>#ifndef _STDBOOL_H #define _STDBOOL_H /* C99 Boolean types for compilers without C99 support */ /* http://www.opengroup.org/onlinepubs/009695399/basedefs/stdbool.h.html */ #if !defined(__cplusplus) #if ...
c++
c
null
null
null
null
open
stdbool.h c++ === In a project I am interfacing between c++ and a c library that uses stdbool.h defined as such. <pre><code>#ifndef _STDBOOL_H #define _STDBOOL_H /* C99 Boolean types for compilers without C99 support */ /* http://www.opengroup.org/onlinepubs/009695399/basedefs/stdbool.h.html */ #if !defined(_...
0
25,475
08/25/2008 00:03:13
1,190
08/13/2008 12:15:38
633
56
How do I put unicode characters in my Antlr grammar?
I'm trying to build a grammar with the following: NUMERIC: INTEGER | FLOAT | INFINITY | PI ... INFINITY: '∞' PI: 'π' But Antlr refuses to load the grammar.
unicode
internationalization
parsing
antlr
null
null
open
How do I put unicode characters in my Antlr grammar? === I'm trying to build a grammar with the following: NUMERIC: INTEGER | FLOAT | INFINITY | PI ... INFINITY: '∞' PI: 'π' But Antlr refuses to load the grammar.
0
25,481
08/25/2008 00:07:43
1,190
08/13/2008 12:15:38
633
57
Where do I get the Antlr Ant task?
I'm trying to call an Antlr task in my Ant build.xml as follows: <path id="classpath.build"> <fileset dir="${dir.lib.build}" includes="**/*.jar" /> </path> ... <target name="generate-lexer" depends="init"> <antlr target="${file.antlr.lexer}"> <classpath refid="classpath....
ant
parsing
antlr
null
null
null
open
Where do I get the Antlr Ant task? === I'm trying to call an Antlr task in my Ant build.xml as follows: <path id="classpath.build"> <fileset dir="${dir.lib.build}" includes="**/*.jar" /> </path> ... <target name="generate-lexer" depends="init"> <antlr target="${file.antlr.lexer}...
0
25,499
08/25/2008 00:27:50
2,768
08/24/2008 23:52:54
1
0
What's the simplest way to execute a query in Visual C++
I'm using Visual C++ 2005 and would like to know the simplest way to connect to a MS SQL Server and execute a query. I'm looking for something as simple as ADO.NET's SqlCommand class with it's ExecuteNonQuery(), ExecuteScalar() and ExecuteReader(). I don't care if it's MFC, ATL etc. as long as it's unmanaged code...
sql-server-2005
mfc
visual-c++
null
null
null
open
What's the simplest way to execute a query in Visual C++ === I'm using Visual C++ 2005 and would like to know the simplest way to connect to a MS SQL Server and execute a query. I'm looking for something as simple as ADO.NET's SqlCommand class with it's ExecuteNonQuery(), ExecuteScalar() and ExecuteReader(). I d...
0
25,519
08/25/2008 01:00:50
2,121
08/20/2008 13:11:31
16
2
Filtering out anchor tags in a string
I need to filter out anchor tags in a string. For instance, "Check out this site: < a href="http://www.stackoverflow.com">stackoverflow< /a>" I need to be able to filter out the anchor tag to this: Check out this site: http://www.stackoverflow.com (without the link of course). That format may not be constant, ...
asp.net
html
vb.net
null
null
null
open
Filtering out anchor tags in a string === I need to filter out anchor tags in a string. For instance, "Check out this site: < a href="http://www.stackoverflow.com">stackoverflow< /a>" I need to be able to filter out the anchor tag to this: Check out this site: http://www.stackoverflow.com (without the link of ...
0
25,530
08/25/2008 01:11:59
828
08/09/2008 06:12:41
13
2
Best Method to run a Java Application as a *nix Daemon or Windows Service?
I am looking for the best method to run a Java Application as a *NIX daemon or a Windows Service. I've looked in to the [Java Service Wrapper][1], the [Apache Commons project 'jsvc'][2], and the [Apache Commons project 'procrun'][3]. So far, the Java Service Wrapper looks like it's the best option... but, I'm wonderi...
java
daemon
unix
windows
null
null
open
Best Method to run a Java Application as a *nix Daemon or Windows Service? === I am looking for the best method to run a Java Application as a *NIX daemon or a Windows Service. I've looked in to the [Java Service Wrapper][1], the [Apache Commons project 'jsvc'][2], and the [Apache Commons project 'procrun'][3]. So f...
0
25,532
08/25/2008 01:13:04
2,572
08/23/2008 00:38:49
21
1
ASP.NET Master Pages equivalent in Java
What would be the Master Pages equivalent in the Java web development world? I've heard of Tiles, Tapestry and Velocity but don't know anything about them. Are they as easy to use as Master Pages? I want something as easy as set up one template and subsequent pages derive from the template and override content r...
java
mvc
masterpages
null
null
null
open
ASP.NET Master Pages equivalent in Java === What would be the Master Pages equivalent in the Java web development world? I've heard of Tiles, Tapestry and Velocity but don't know anything about them. Are they as easy to use as Master Pages? I want something as easy as set up one template and subsequent pages de...
0
25,546
08/25/2008 01:46:05
2,312
08/21/2008 15:19:59
11
1
Securely sync folders over a public network
I need to keep the files & folders on two Windows-based, non-domain machines synchronized across a public network. I was thinking rsync over SSH - but I was wondering if there is a simpler solution? Any possibility of using the sync framework over SFTP/SCP/SSH? Or I'm open to better ideas?
synchronization
security
rsync
null
null
null
open
Securely sync folders over a public network === I need to keep the files & folders on two Windows-based, non-domain machines synchronized across a public network. I was thinking rsync over SSH - but I was wondering if there is a simpler solution? Any possibility of using the sync framework over SFTP/SCP/SSH? ...
0
25,550
08/25/2008 01:49:22
2,775
08/25/2008 01:49:22
1
0
What's the best way to import/read data from pdf files?
We get a large amount of data from our clients in pdf files in varying formats [layout-wise], these files are typically report output, and are typically properly annotated [they don't usually need OCR], but not formatted well enough that simply copying several hundred pages of text out of acrobat is not going to work. ...
pdf
import
null
null
null
null
open
What's the best way to import/read data from pdf files? === We get a large amount of data from our clients in pdf files in varying formats [layout-wise], these files are typically report output, and are typically properly annotated [they don't usually need OCR], but not formatted well enough that simply copying severa...
0
25,552
08/25/2008 01:49:55
1,693
08/18/2008 02:25:37
448
23
Using Java to get OS-level system information
I'm currently building a Java app that could end up being run on many different platforms, but primarily variants of Solaris, Linux and Windows. Has anyone been able to successfully extract information such as the current disk space used, CPU utilisation and memory used in the underlying OS? What about just what the...
java
null
null
null
null
null
open
Using Java to get OS-level system information === I'm currently building a Java app that could end up being run on many different platforms, but primarily variants of Solaris, Linux and Windows. Has anyone been able to successfully extract information such as the current disk space used, CPU utilisation and memory ...
0
25,561
08/25/2008 01:59:45
2,754
08/24/2008 21:39:01
11
3
Capturing a repeated group
I am attempting to parse a string like the following using a .NET regular expression: H3Y5NC8E-TGA5B6SB-2NVAQ4E0 and return the following using Split: H3Y5NC8E TGA5B6SB 2NVAQ4E0 The number of characters in each group can vary and the number of groups can also vary. I am using the following e...
regex
.net-2.0
null
null
null
null
open
Capturing a repeated group === I am attempting to parse a string like the following using a .NET regular expression: H3Y5NC8E-TGA5B6SB-2NVAQ4E0 and return the following using Split: H3Y5NC8E TGA5B6SB 2NVAQ4E0 The number of characters in each group can vary and the number of groups can also ...
0