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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
44,757 | 09/04/2008 20:54:32 | 648 | 08/07/2008 13:22:00 | 503 | 37 | How to cache ASP.NET user controls? | I heard on a recent podcast (Polymorphic) that it is possible to cache a user control as opposed to the entire page.
I think my header control which displays static content and my footer control could benefit from being cached.
How can I go about caching just those controls? | asp.net | caching | usercontrols | null | null | null | open | How to cache ASP.NET user controls?
===
I heard on a recent podcast (Polymorphic) that it is possible to cache a user control as opposed to the entire page.
I think my header control which displays static content and my footer control could benefit from being cached.
How can I go about caching just those con... | 0 |
44,760 | 09/04/2008 20:54:41 | 4,223 | 09/02/2008 12:31:58 | 385 | 17 | Eclipse "Share Project" by hand? | What actually happens to the file system when you do a Subclipse Share Project on an Eclipse project that was externally checked out from Subversion? All the .svn folders are already in place. I get an error when I try to Share Project the right way, and I'd rather not delete and re-checkout the projects from the SVN... | svn | eclipse | subclipse | null | null | null | open | Eclipse "Share Project" by hand?
===
What actually happens to the file system when you do a Subclipse Share Project on an Eclipse project that was externally checked out from Subversion? All the .svn folders are already in place. I get an error when I try to Share Project the right way, and I'd rather not delete and... | 0 |
44,763 | 09/04/2008 20:56:56 | 1,412 | 08/15/2008 15:05:57 | 546 | 38 | Where can I download the jQuery API documentation? | Since I pound API docs pretty hard when I'm coding, I like to have them on my local disk. jQuery.com lists a lot of sources for browsing the API documentation online, but I haven't found anywhere I can download the whole bundle as a TAR or ZIP file. Is such a bundle available> | jquery | javascript | api | documentation | null | null | open | Where can I download the jQuery API documentation?
===
Since I pound API docs pretty hard when I'm coding, I like to have them on my local disk. jQuery.com lists a lot of sources for browsing the API documentation online, but I haven't found anywhere I can download the whole bundle as a TAR or ZIP file. Is such a bund... | 0 |
44,771 | 09/04/2008 21:01:42 | 4,140 | 09/02/2008 01:10:54 | 117 | 16 | Ajax Autocomplete Webservice Call - Service Method, am I calling this correctly? |
Ok, so my method in my webservice requires a type to be passed, it is called in the ServiceMethod property of the AutoCompleteExtender, I am fuzzy about how I should do that so I called it like this:
ServiceMethod="DropDownLoad<<%=(typeof)subCategory%>>"
where subCategory is a page property that looks like ... | c# | asp.net | ajax | null | null | null | open | Ajax Autocomplete Webservice Call - Service Method, am I calling this correctly?
===
Ok, so my method in my webservice requires a type to be passed, it is called in the ServiceMethod property of the AutoCompleteExtender, I am fuzzy about how I should do that so I called it like this:
ServiceMethod="DropDownLo... | 0 |
44,778 | 09/04/2008 21:04:04 | 4,285 | 09/02/2008 16:46:29 | 91 | 9 | How would you make a comma-separated string from a list? | What would be your preferred way to concatenate strings from a sequence such that between each two consecutive pair a comma is added. That is, how do you map, for instance, `[ 'a', 'b', 'c' ]` to `'a,b,c'`? (The cases `[ s ]` and `[]` should be mapped to `s` and `''`, respectively.)
I usually end up using something ... | python | null | null | null | null | null | open | How would you make a comma-separated string from a list?
===
What would be your preferred way to concatenate strings from a sequence such that between each two consecutive pair a comma is added. That is, how do you map, for instance, `[ 'a', 'b', 'c' ]` to `'a,b,c'`? (The cases `[ s ]` and `[]` should be mapped to `s`... | 0 |
44,780 | 09/04/2008 21:05:31 | 3,475 | 08/28/2008 17:53:18 | 61 | 4 | What's the best way to implement a SQL script that will grant select, references, insert, update, and delete permissions to a database role on all the user tables in a database? | Ideally, this script could be run multiple times, as new tables were added to the database. SQL Server Management Studio generates scripts for individual database objects, but I'm looking for more of a "fire-and-forget" script. | sql | sql-server | tsql | permissions | null | null | open | What's the best way to implement a SQL script that will grant select, references, insert, update, and delete permissions to a database role on all the user tables in a database?
===
Ideally, this script could be run multiple times, as new tables were added to the database. SQL Server Management Studio generates scrip... | 0 |
44,787 | 09/04/2008 21:08:28 | 4,298 | 09/02/2008 18:17:28 | 8 | 0 | How do you get the current image name from an ASP.Net website? | Scenario: You have an ASP.Net webpage that should display the next image in a series of images. If 1.jpg is currently loaded, the refresh should load 2.jpg.
Assuming I would use this code, where do you get the current images name.
<code>
string currImage = MainPic.ImageUrl.Replace(".jpg", "");
currImage = c... | c# | asp.net | null | null | null | null | open | How do you get the current image name from an ASP.Net website?
===
Scenario: You have an ASP.Net webpage that should display the next image in a series of images. If 1.jpg is currently loaded, the refresh should load 2.jpg.
Assuming I would use this code, where do you get the current images name.
<code>
strin... | 0 |
44,789 | 09/04/2008 21:09:31 | 4,055 | 09/01/2008 14:58:25 | 23 | 6 | What are the most common programming tasks? | I have recently begun working on a project to establish how best to leverage the processing power available in modern graphics cards for general programming. It seems that the field general purpose GPU programming (GPGPU) has a large bias towards scientific applications with a lot of heavy math as this fits well with t... | gpgpu | null | null | null | null | null | open | What are the most common programming tasks?
===
I have recently begun working on a project to establish how best to leverage the processing power available in modern graphics cards for general programming. It seems that the field general purpose GPU programming (GPGPU) has a large bias towards scientific applications ... | 0 |
44,795 | 09/04/2008 21:11:43 | 2,688 | 08/24/2008 14:48:05 | 904 | 30 | How can I determine whether a given date is in Daylight Saving Time for a given timezone in .NET 2.0? | I'm on .NET 2.0, running under Medium Trust (so [TimeZoneInfo][1] and the Registry are not allowed options). I'm asking the user for two dates and a time zone, and would really love to be able to automatically determine whether I need to adjust the time zone for DST.
This probably isn't even a valid scenario unle... | .net-2.0 | timezone | medium-trust | null | null | null | open | How can I determine whether a given date is in Daylight Saving Time for a given timezone in .NET 2.0?
===
I'm on .NET 2.0, running under Medium Trust (so [TimeZoneInfo][1] and the Registry are not allowed options). I'm asking the user for two dates and a time zone, and would really love to be able to automatically de... | 0 |
44,799 | 09/04/2008 21:12:50 | 1,931 | 08/19/2008 14:28:16 | 188 | 4 | Preventing Command Line Injection Attacks | We're currently building an application that executes a number of external tools. We often have to pass information entered into our system by users to these tools.
Obviously, this is a big security nightmare waiting to happen.
Unfortunately, we've not yet found any classes in the .NET Framework that execute com... | security | command-line | hacks | injection | commandline | null | open | Preventing Command Line Injection Attacks
===
We're currently building an application that executes a number of external tools. We often have to pass information entered into our system by users to these tools.
Obviously, this is a big security nightmare waiting to happen.
Unfortunately, we've not yet found any... | 0 |
44,803 | 09/04/2008 21:13:31 | 4,544 | 09/04/2008 17:42:09 | 1 | 0 | How do I read/write Person metadata from a Word doc stored in SharePoint using VBA or VSTO? | Scenerio: Document library in SharePoint with column x of "Person or Group" type. From within a VBA macro (or VSTO add-in) we're trying to access the MetaProperty on the document to set/get the user name. Any attempt to access the value via the ContentTypeProperties collection throws a Type MisMatch error (13).
Th... | sharepoint | vba | com | vsto | office | null | open | How do I read/write Person metadata from a Word doc stored in SharePoint using VBA or VSTO?
===
Scenerio: Document library in SharePoint with column x of "Person or Group" type. From within a VBA macro (or VSTO add-in) we're trying to access the MetaProperty on the document to set/get the user name. Any attempt to a... | 0 |
44,817 | 09/04/2008 21:20:27 | 4,541 | 09/04/2008 17:37:04 | 6 | 1 | Flex and ADO.NET Data Services...anyone done it? | Has anyone used ADO.NET Data Services as a data source for Adobe Flex applications? If so, any success stories or tragedies to avoid? If you did use it, how did you handle security? | flex | ado.net | null | null | null | null | open | Flex and ADO.NET Data Services...anyone done it?
===
Has anyone used ADO.NET Data Services as a data source for Adobe Flex applications? If so, any success stories or tragedies to avoid? If you did use it, how did you handle security? | 0 |
44,821 | 09/04/2008 21:20:43 | 3,575 | 08/29/2008 06:54:39 | 31 | 3 | Default smart device project can't find dependencies. | When running the default c++ project in Visual Studios for a Windows CE 5.0 device, I get an error complaining about missing resources. Depends says that my executable needs ayghsell.dll (the Windows Mobile shell), and CoreDll.dll. Does this mean that my executable can only be run on Windows Mobile devices, instead o... | c++ | visual-studio | windows-mobile | wince | null | null | open | Default smart device project can't find dependencies.
===
When running the default c++ project in Visual Studios for a Windows CE 5.0 device, I get an error complaining about missing resources. Depends says that my executable needs ayghsell.dll (the Windows Mobile shell), and CoreDll.dll. Does this mean that my exec... | 0 |
44,822 | 09/04/2008 21:20:59 | 4,618 | 09/04/2008 20:59:38 | 1 | 1 | What's your favorite shared whiteboard tool? | I like to draw -- well, scribble -- while working with other people; that works well in my office, where I have a huge whiteboard. But if the other people are on the other end of a phone line, it's not so good.
I played with skrbl.com, which isn't bad (though I couldn't make it work with Safari or Chrome), but it's... | whiteboard | remote-working | null | null | null | null | open | What's your favorite shared whiteboard tool?
===
I like to draw -- well, scribble -- while working with other people; that works well in my office, where I have a huge whiteboard. But if the other people are on the other end of a phone line, it's not so good.
I played with skrbl.com, which isn't bad (though I co... | 0 |
44,824 | 09/04/2008 21:22:03 | 4,223 | 09/02/2008 12:31:58 | 390 | 17 | Is JINI at all active anymore? | Everyone I talk to who knows (knew) about it claims it was the greatest thing since sliced bread. Why did it fail? Or, if it didn't fail, who's using it now? | jini | null | null | null | null | null | open | Is JINI at all active anymore?
===
Everyone I talk to who knows (knew) about it claims it was the greatest thing since sliced bread. Why did it fail? Or, if it didn't fail, who's using it now? | 0 |
44,834 | 09/04/2008 21:28:18 | 1,794 | 08/18/2008 15:35:18 | 86 | 2 | Can someone explain __all__ in Python? | I have been using Python more and more, and I keep seeing the variable `__all__` set in different `__init__.py` files. Can someone explain what this does? | python | null | null | null | null | null | open | Can someone explain __all__ in Python?
===
I have been using Python more and more, and I keep seeing the variable `__all__` set in different `__init__.py` files. Can someone explain what this does? | 0 |
44,851 | 09/04/2008 21:33:53 | 648 | 08/07/2008 13:22:00 | 505 | 37 | Substitution Control at the User Control Level? | I am trying to create some cached user controls. Basically Header and Footer are static.
Except the footer has one link that reads in the url of the page and puts it into the javascript for sending a link to a friend. So I need that link to be dynamic.
I set up a substitution control and had the static method ... | asp.net | caching | usercontrols | null | null | null | open | Substitution Control at the User Control Level?
===
I am trying to create some cached user controls. Basically Header and Footer are static.
Except the footer has one link that reads in the url of the page and puts it into the javascript for sending a link to a friend. So I need that link to be dynamic.
I set... | 0 |
44,853 | 09/04/2008 21:37:43 | 1,310 | 08/14/2008 13:42:16 | 560 | 28 | I'm getting a java.lang.ClassCastException when generating javadocs. Any ideas? | I'm using ant to generate the javadocs, but it gets this exception over and over.
Any help would be appreciated.
[javadoc] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be cast to com.sun.javadoc.AnnotationTypeDoc
[javadoc] at com.sun.tools.javadoc.AnnotationDescImpl.annota... | java | javadoc | ant | null | null | null | open | I'm getting a java.lang.ClassCastException when generating javadocs. Any ideas?
===
I'm using ant to generate the javadocs, but it gets this exception over and over.
Any help would be appreciated.
[javadoc] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl cannot be cast to com.sun.javadoc.A... | 0 |
44,864 | 09/04/2008 21:47:59 | 2,168 | 08/20/2008 17:46:48 | 885 | 35 | Is there any easy way to determine what factors are contributing to the size of an HTML element? | For example I have a situation where I have something like this (contrived) example:
<div id="outer" style="margin: auto>
<div id="inner1" style="float: left">content</div>
<div id="inner2" style="float: left">content</div>
<div id="inner3" style="float: left">content</div>
<b... | html | css | webdesign | null | null | null | open | Is there any easy way to determine what factors are contributing to the size of an HTML element?
===
For example I have a situation where I have something like this (contrived) example:
<div id="outer" style="margin: auto>
<div id="inner1" style="float: left">content</div>
<div id="inner2" sty... | 0 |
44,868 | 09/04/2008 21:50:56 | 4,165 | 09/02/2008 08:35:08 | 56 | 5 | Coding beauty vs business needs | All programmer I have met, myself included, always want to start a project that touches old code by "Lets rewrite the framework for this thing. It's old, fugly and unmanageble"
On the other hand, all sales/business people I have met will say "You will do the things that add funktionality that makes us money"
If ... | buisiness | null | null | null | null | 05/06/2012 23:06:26 | not constructive | Coding beauty vs business needs
===
All programmer I have met, myself included, always want to start a project that touches old code by "Lets rewrite the framework for this thing. It's old, fugly and unmanageble"
On the other hand, all sales/business people I have met will say "You will do the things that add funk... | 4 |
44,899 | 09/04/2008 22:25:34 | 438 | 08/05/2008 18:28:20 | 25 | 1 | How to find the current name of the test being executing? | I know I can figure out the name of the method as its being executed, just wondering if there is a way from the setup method. I guess an attribute method would work but from the setup method it would be the best. | visual-studio | unit-testing | null | null | null | null | open | How to find the current name of the test being executing?
===
I know I can figure out the name of the method as its being executed, just wondering if there is a way from the setup method. I guess an attribute method would work but from the setup method it would be the best. | 0 |
44,903 | 09/04/2008 22:32:51 | 1,414 | 08/15/2008 15:07:31 | 944 | 73 | Is there any way to repopulate an Html Select's Options without firing the Change event (using jQuery)? | I have multiple selects:
<select id="one">
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
</select>
<select id="two">
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
... | javascript | jquery | dom | html-select | null | null | open | Is there any way to repopulate an Html Select's Options without firing the Change event (using jQuery)?
===
I have multiple selects:
<select id="one">
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
</select>
<select id="two">
... | 0 |
44,905 | 09/04/2008 22:34:47 | 3,394 | 08/28/2008 12:35:39 | 1,414 | 71 | C# switch statement limitations - why? | When writing a switch statement there appears to be two limitations on what you can switch on and case statements.
For example (and yes, I know, if you're doing this sort of thing it probably means your oo architecture is iffy - this is just a contrived example!):-
Type t = typeof(int);
switch (t) ... | c# | null | null | null | null | null | open | C# switch statement limitations - why?
===
When writing a switch statement there appears to be two limitations on what you can switch on and case statements.
For example (and yes, I know, if you're doing this sort of thing it probably means your oo architecture is iffy - this is just a contrived example!):-
... | 0 |
44,909 | 09/04/2008 22:39:52 | 290 | 08/04/2008 12:57:50 | 916 | 59 | What essential design artifacts do you produce? | In the course of your software development lifecycle, what essential design artifacts do you produce? What makes them essential to your practice?
The project I'm currently on has been in production for 8+ years. This web application has been actively enhanced and maintained over that time. While we have CMMI based p... | design | artifacts | null | null | null | null | open | What essential design artifacts do you produce?
===
In the course of your software development lifecycle, what essential design artifacts do you produce? What makes them essential to your practice?
The project I'm currently on has been in production for 8+ years. This web application has been actively enhanced and ... | 0 |
44,912 | 09/04/2008 22:45:00 | 3,498 | 08/28/2008 19:35:00 | 28 | 2 | Java Delegates? | Does the Java language have delegate features, similar to how C# has support for delegates? | java | delegates | null | null | null | null | open | Java Delegates?
===
Does the Java language have delegate features, similar to how C# has support for delegates? | 0 |
44,914 | 09/04/2008 22:48:22 | 1,587 | 08/16/2008 21:55:49 | 1 | 0 | Windows Forms Application Performance | My app has many controls on its surface, and more are added dynamically at runtime.
Although i am using tabs to limit the number of controls shown, and double-buffering too, it still flickers and stutters when it has to redraw (resize, maximize, etc).
What are your tips and tricks to improve WinForms app performa... | winforms | performance | null | null | null | null | open | Windows Forms Application Performance
===
My app has many controls on its surface, and more are added dynamically at runtime.
Although i am using tabs to limit the number of controls shown, and double-buffering too, it still flickers and stutters when it has to redraw (resize, maximize, etc).
What are your tips ... | 0 |
44,917 | 09/04/2008 22:49:58 | 4,316 | 09/02/2008 20:12:00 | 30 | 1 | Explicit vs implicit SQL joins | Is there any efficiency difference in an explicit vs implicit inner join?
For example:
select * from
table a inner join table b
on a.id = b.id;
vs.
select a.*, b.*
from table a, table b
where a.id = b.id;
| sql | join | null | null | null | null | open | Explicit vs implicit SQL joins
===
Is there any efficiency difference in an explicit vs implicit inner join?
For example:
select * from
table a inner join table b
on a.id = b.id;
vs.
select a.*, b.*
from table a, table b
where a.id = b.id;
| 0 |
44,937 | 09/04/2008 23:02:07 | 497 | 08/06/2008 11:31:57 | 148 | 11 | How do you make an etag that matches Apache? | I want to make an etag that matches what Apache produces. How does apache create it's etags? | apache | etag | null | null | null | null | open | How do you make an etag that matches Apache?
===
I want to make an etag that matches what Apache produces. How does apache create it's etags? | 0 |
44,940 | 09/04/2008 23:04:12 | 3,394 | 08/28/2008 12:35:39 | 1,414 | 72 | Learning CIL | Does anybody know any good resources for learning how to program CIL with in-depth descriptions of commands, etc.? I have looked around but not found anything particularly good. | .net | cil | self-improvement | null | null | null | open | Learning CIL
===
Does anybody know any good resources for learning how to program CIL with in-depth descriptions of commands, etc.? I have looked around but not found anything particularly good. | 0 |
44,942 | 09/04/2008 23:06:56 | 493 | 08/06/2008 10:25:05 | 3,083 | 189 | Cast List<int> to List<string> | Does anyone know if you can cast a `List<int>` to `List<string>` somehow? I know I could loop through and .ToString() the thing but a cast would be awesome.
I'm in c# 2.0 (so no linq) | c# | generics | casting | null | null | null | open | Cast List<int> to List<string>
===
Does anyone know if you can cast a `List<int>` to `List<string>` somehow? I know I could loop through and .ToString() the thing but a cast would be awesome.
I'm in c# 2.0 (so no linq) | 0 |
44,961 | 09/04/2008 23:24:51 | 3,394 | 08/28/2008 12:35:39 | 1,429 | 73 | Haskell vs. F# | I've searched on the internet for comparisons between F# and Haskell but haven't found anything really definitive. What are the primary differences and why would I want to choose one over the other? | f# | haskell | null | null | null | null | open | Haskell vs. F#
===
I've searched on the internet for comparisons between F# and Haskell but haven't found anything really definitive. What are the primary differences and why would I want to choose one over the other? | 0 |
44,965 | 09/04/2008 23:26:44 | 3,394 | 08/28/2008 12:35:39 | 1,429 | 73 | What is a monad? | Having briefly looked at Haskell recently I wondered whether anybody could give a *brief, succinct, practical* explanation as to what a monad essentially is? I have found most explanations I've come across to be fairly inaccessible and lacking in practical detail, so could somebody here help me? | functional-programming | monads | null | null | null | null | open | What is a monad?
===
Having briefly looked at Haskell recently I wondered whether anybody could give a *brief, succinct, practical* explanation as to what a monad essentially is? I have found most explanations I've come across to be fairly inaccessible and lacking in practical detail, so could somebody here help me? | 0 |
44,973 | 09/04/2008 23:29:54 | 4,642 | 09/04/2008 23:22:08 | 1 | 0 | Can I run rubygems in ironruby? | Is it currently possible with pre release of ironruby to run rubygems? It seems as if I have to set an environment variable to find them? | ironruby | null | null | null | null | null | open | Can I run rubygems in ironruby?
===
Is it currently possible with pre release of ironruby to run rubygems? It seems as if I have to set an environment variable to find them? | 0 |
44,980 | 09/04/2008 23:37:56 | 1,588 | 08/17/2008 01:05:22 | 263 | 10 | How can I programmatically determine if my workstation is locked? | I'm writing up some productivity/metrics tools for myself to help monitor my focus throughout the day. Recently, I've noticed that I tend to get off track more than usual and feel the need to get up and go for walks/drinks/etc and I'm concerned that I'm "wasting" too much time.
Since I always lock my computer when I... | c# | productivity | self-improvement | null | null | null | open | How can I programmatically determine if my workstation is locked?
===
I'm writing up some productivity/metrics tools for myself to help monitor my focus throughout the day. Recently, I've noticed that I tend to get off track more than usual and feel the need to get up and go for walks/drinks/etc and I'm concerned that... | 0 |
44,989 | 09/04/2008 23:48:17 | 1,463 | 08/15/2008 17:26:44 | 393 | 33 | How do you index into a var in LINQ? | I'm trying to get the following bit of code to work in LINQPad but am unable to index into a var. Anybody know how to index into a var in LINQ?
string[] sa = {"one", "two", "three"};
sa[1].Dump();
var va = sa.Select( (a,i) => new {Line = a, Index = i});
va[1].Dump();
// Cannot apply ind... | c# | linq | null | null | null | null | open | How do you index into a var in LINQ?
===
I'm trying to get the following bit of code to work in LINQPad but am unable to index into a var. Anybody know how to index into a var in LINQ?
string[] sa = {"one", "two", "three"};
sa[1].Dump();
var va = sa.Select( (a,i) => new {Line = a, Index = i});
... | 0 |
44,999 | 09/04/2008 23:57:24 | 3,661 | 08/29/2008 18:16:14 | 6 | 1 | reassign value to query string parameter | I have a "showall" query string parameter in the url, the parameter is being added dynamically when "Show All/Show Pages" button is clicked.
I want the ability to toggle "showall" query string parameter value depending on user clicking the "Show All/Show Pages" button.
I'm doing some nested "if's" and string.Rep... | c# | query-string | null | null | null | null | open | reassign value to query string parameter
===
I have a "showall" query string parameter in the url, the parameter is being added dynamically when "Show All/Show Pages" button is clicked.
I want the ability to toggle "showall" query string parameter value depending on user clicking the "Show All/Show Pages" button.
... | 0 |
45,002 | 09/04/2008 23:59:24 | 459 | 08/05/2008 21:54:42 | 313 | 35 | How do terms get used in calculating scores, can I override it with a CustomScoreQuery? | Has someone successfully overridden the scoring of documents in a query so that the "relevancy" of a term to the field contents can be determined through one's own function? If so, was it by implementing a [CustomScoreQuery](http://lucene.apache.org/java/2_3_2/api/org/apache/lucene/search/function/CustomScoreQuery.html... | lucene | scoring | null | null | null | null | open | How do terms get used in calculating scores, can I override it with a CustomScoreQuery?
===
Has someone successfully overridden the scoring of documents in a query so that the "relevancy" of a term to the field contents can be determined through one's own function? If so, was it by implementing a [CustomScoreQuery](ht... | 0 |
45,004 | 09/05/2008 00:01:36 | 4,640 | 09/04/2008 23:18:56 | 1 | 0 | Complex CSS selector for parent of active child | Is there a way to select a parent element based on the class of a child element in the class? The example that is relevant to me relating to HTML output by a nice menu plugin for <http://drupal.org>. The output renders like this:
<ul class="menu">
<li>
<a class="active">Active Page<... | css | null | null | null | null | null | open | Complex CSS selector for parent of active child
===
Is there a way to select a parent element based on the class of a child element in the class? The example that is relevant to me relating to HTML output by a nice menu plugin for <http://drupal.org>. The output renders like this:
<ul class="menu">
... | 0 |
45,013 | 09/05/2008 00:10:37 | 2,168 | 08/20/2008 17:46:48 | 905 | 37 | Can the HTTP version or headers affect the visual appearance of a web page? | I know, I would have thought the answer was obviously "no" as well, but I am experiencing a strange situation where when I view my site from our staging server it appears slightly larger than when I view it from my local dev server. I have used Charles to confirm that all of the content -- the HTML, the images, the CS... | python | firefox | django | webdesign | null | null | open | Can the HTTP version or headers affect the visual appearance of a web page?
===
I know, I would have thought the answer was obviously "no" as well, but I am experiencing a strange situation where when I view my site from our staging server it appears slightly larger than when I view it from my local dev server. I hav... | 0 |
45,015 | 09/05/2008 00:12:01 | 797 | 08/09/2008 02:14:04 | 1,297 | 44 | Safely turning a JSON string into an object | Given a string of JSON data, how can you safely turn that string into a JavaScript object?
Obviously you can do this unsafely with something like...
var obj = eval("(" + json + ')');
...but that leaves us vulnerable to the json string containing other code, which it seems very dangerous to simply eval. | javascript | ajax | json | null | null | null | open | Safely turning a JSON string into an object
===
Given a string of JSON data, how can you safely turn that string into a JavaScript object?
Obviously you can do this unsafely with something like...
var obj = eval("(" + json + ')');
...but that leaves us vulnerable to the json string containing other code, ... | 0 |
45,030 | 09/05/2008 00:22:54 | 2,975 | 08/26/2008 09:40:04 | 708 | 30 | How to parse a string into a nullable int in C# (.NET 3.5) | I'm wanting to parse a string into a nullable int in C#. ie. I want to get back either the int value of the string or null if it can't be parsed.
I was kind of hoping that this would work
int? val = stringVal as int?;
But that won't work, so the way I'm doing it now is I've written this extension method
... | c# | .net-3.5 | string | nullable | parsing | null | open | How to parse a string into a nullable int in C# (.NET 3.5)
===
I'm wanting to parse a string into a nullable int in C#. ie. I want to get back either the int value of the string or null if it can't be parsed.
I was kind of hoping that this would work
int? val = stringVal as int?;
But that won't work, so ... | 0 |
45,036 | 09/05/2008 00:25:21 | 234 | 08/03/2008 20:25:38 | 3,742 | 225 | Will the GC call IDisposable.Dispose for me? | I've read through [the other IDisposable post here](http://beta.stackoverflow.com/questions/12368/how-to-dispose-a-class-in-net), and while it was very interesting, didn't answer this 'uncertainty' I've had about disposing things.
The .NET [IDisposable Pattern](http://msdn.microsoft.com/en-us/library/system.idisposa... | .net | dispose | idisposable | null | null | null | open | Will the GC call IDisposable.Dispose for me?
===
I've read through [the other IDisposable post here](http://beta.stackoverflow.com/questions/12368/how-to-dispose-a-class-in-net), and while it was very interesting, didn't answer this 'uncertainty' I've had about disposing things.
The .NET [IDisposable Pattern](http:... | 0 |
45,042 | 09/05/2008 00:35:51 | 2,567 | 08/22/2008 22:50:45 | 210 | 27 | How do you retrieve the commit message and file list for a particular revision? | I need to deploy a few files that were checked in sometime ago (can't remember the exact ones), so I'm looking to get a list so I can deploy just those files. What is the svn command to do this? | svn | version-control | null | null | null | null | open | How do you retrieve the commit message and file list for a particular revision?
===
I need to deploy a few files that were checked in sometime ago (can't remember the exact ones), so I'm looking to get a list so I can deploy just those files. What is the svn command to do this? | 0 |
45,045 | 09/05/2008 00:39:31 | 2,723 | 08/24/2008 17:49:45 | 32 | 1 | What can I do to resolve a "Row not found or changed" Exception in LINQ to SQL on a SQL Server Compact Edition Database? | When executing SubmitChanges to the DataContext after updating a couple properties with a LINQ to SQL connection (against SQL Server Compact Edition) I get a "Row not found or changed." ChangeConflictException.
var ctx = new Data.MobileServerDataDataContext(Common.DatabasePath);
var deviceSe... | linq-to-sql | null | null | null | null | null | open | What can I do to resolve a "Row not found or changed" Exception in LINQ to SQL on a SQL Server Compact Edition Database?
===
When executing SubmitChanges to the DataContext after updating a couple properties with a LINQ to SQL connection (against SQL Server Compact Edition) I get a "Row not found or changed." ChangeCo... | 0 |
45,062 | 09/05/2008 00:58:59 | 364 | 08/05/2008 05:33:41 | 497 | 28 | LINQ to SQL Association - "Properties do not have matching types" | I am trying to link two fields of a given table to the same field in another table.
I have done this before so I can't work out what is wrong this time.
Anyway:
Table1
- Id (Primary)
- FK-Table2a (Nullable, foreign key relationship in DB to Table2.Id)
- FK-Table2b (Nullable, foreign key relati... | linq-to-sql | c# | asp.net | dynamicdata | null | null | open | LINQ to SQL Association - "Properties do not have matching types"
===
I am trying to link two fields of a given table to the same field in another table.
I have done this before so I can't work out what is wrong this time.
Anyway:
Table1
- Id (Primary)
- FK-Table2a (Nullable, foreign key relations... | 0 |
45,075 | 09/05/2008 01:29:03 | 2,598 | 08/23/2008 13:13:34 | 368 | 27 | Java: Flash a window to grab user's attention | Is there a better way to flash a window in Java than this:
public static void flashWindow(JFrame frame) throws InterruptedException {
int sleepTime = 50;
frame.setVisible(false);
Thread.sleep(sleepTime);
frame.setVisible(true);
Thread.sleep(sleepTime);
frame.setVisible(f... | java | user-interface | null | null | null | null | open | Java: Flash a window to grab user's attention
===
Is there a better way to flash a window in Java than this:
public static void flashWindow(JFrame frame) throws InterruptedException {
int sleepTime = 50;
frame.setVisible(false);
Thread.sleep(sleepTime);
frame.setVisible(true);
... | 0 |
45,078 | 09/05/2008 01:31:19 | 4,541 | 09/04/2008 17:37:04 | 6 | 1 | Flex and .NET - What's a good way to get data into Flex, WebORB? Web Services? | Ok, I asked a question earlier about Flex and ADO.NET Data Services but didn't get much response so I thought I'd rephrase. Does anyone have any experience building Adobe Flex applications with a .NET back-end? If so, what architecture did you use and what third-party tools if any did you employ. I've read a little ... | .net | flex | null | null | null | null | open | Flex and .NET - What's a good way to get data into Flex, WebORB? Web Services?
===
Ok, I asked a question earlier about Flex and ADO.NET Data Services but didn't get much response so I thought I'd rephrase. Does anyone have any experience building Adobe Flex applications with a .NET back-end? If so, what architectur... | 0 |
45,086 | 09/05/2008 01:50:33 | 2,066 | 08/20/2008 03:59:13 | 141 | 15 | C++ and SOAP | I have a C++ app that needs to connect to a JAVA web app, are there any good, open source SOAP packages for this, or would it be easier to just roll my own? | java | c++ | soap | null | null | null | open | C++ and SOAP
===
I have a C++ app that needs to connect to a JAVA web app, are there any good, open source SOAP packages for this, or would it be easier to just roll my own? | 0 |
45,093 | 09/05/2008 02:00:32 | 4,541 | 09/04/2008 17:37:04 | 6 | 1 | RegEx to Detect SQL Injection | I'm looking for a good solid Regular Expression for detecting SQL in a string. Does anyone have a sample of something they've used before? | sql | regex | null | null | null | null | open | RegEx to Detect SQL Injection
===
I'm looking for a good solid Regular Expression for detecting SQL in a string. Does anyone have a sample of something they've used before? | 0 |
45,122 | 09/05/2008 02:15:33 | 1,914 | 08/19/2008 14:10:15 | 92 | 8 | python packages - import by class, not file | Say I have the following file structure:
app/
app.py
controllers/
__init__.py
project.py
plugin.py
If app/controllers/project.py defines a class Project, app.py would import it like this:
from app.controllers.project import Project
I'd like to just be able to... | python | packages | null | null | null | null | open | python packages - import by class, not file
===
Say I have the following file structure:
app/
app.py
controllers/
__init__.py
project.py
plugin.py
If app/controllers/project.py defines a class Project, app.py would import it like this:
from app.controllers.proj... | 0 |
45,123 | 09/05/2008 02:15:49 | 1,154 | 08/12/2008 23:39:07 | 342 | 38 | Interfaces and Versioning | I am designing a new System and I have a lot of Interfaces that will grow over time with the system. What is the best practice to name this interfaces
ISomethingV01
ISomethingV02
etc
or same other way?
| design | design-patterns | null | null | null | null | open | Interfaces and Versioning
===
I am designing a new System and I have a lot of Interfaces that will grow over time with the system. What is the best practice to name this interfaces
ISomethingV01
ISomethingV02
etc
or same other way?
| 0 |
45,132 | 09/05/2008 02:21:53 | 1,899 | 08/19/2008 09:19:13 | 1 | 0 | What is the best way and recommended practices for interacting with Lotus Notes from C# | In particular, I have to extract all the messages and attachments from Lotus Notes files in the fastest and most reliable way. Another point that may be relevant is that I need to do this from a secondary thread. | c# | interop | lotus-notes | null | null | null | open | What is the best way and recommended practices for interacting with Lotus Notes from C#
===
In particular, I have to extract all the messages and attachments from Lotus Notes files in the fastest and most reliable way. Another point that may be relevant is that I need to do this from a secondary thread. | 0 |
45,135 | 09/05/2008 02:24:19 | 1,597 | 08/17/2008 10:01:21 | 85 | 7 | Linker order - GCC | Why does the order in which libraries are linked sometimes cause errors? | c++ | gcc | linker | null | null | null | open | Linker order - GCC
===
Why does the order in which libraries are linked sometimes cause errors? | 0 |
45,152 | 09/05/2008 02:51:32 | 4,550 | 09/04/2008 17:50:43 | 21 | 4 | What are you currently using for data access? | What particular method/application are you using to communicate between your application and a database? Custom code with stored procedures? SubSonic? nHibernate? Entity Framework? LINQ? | data-structures | persistence | data-access | data-binding | null | null | open | What are you currently using for data access?
===
What particular method/application are you using to communicate between your application and a database? Custom code with stored procedures? SubSonic? nHibernate? Entity Framework? LINQ? | 0 |
45,155 | 09/05/2008 02:54:04 | 4,646 | 09/04/2008 23:39:08 | 1 | 2 | WebDAV query trouble - unable to read body of e-mail | Our group(corporate environment) needs to monitor a couple of faceless accounts' Outlook inbox for specific types of bounced e-mails.
WebDAV(using C# 2.0) is one of the paths we've traveled and we're almost there ... except for one minor problem -- we're getting the response below for the e-mail body element
... | webdav | null | null | null | null | null | open | WebDAV query trouble - unable to read body of e-mail
===
Our group(corporate environment) needs to monitor a couple of faceless accounts' Outlook inbox for specific types of bounced e-mails.
WebDAV(using C# 2.0) is one of the paths we've traveled and we're almost there ... except for one minor problem -- we're ge... | 0 |
45,163 | 09/05/2008 03:03:22 | 1,306 | 08/14/2008 13:22:40 | 128 | 12 | inline lists with graphical links in css | given this html:
<ul id="topnav">
<li id="topnav_galleries"><a href="#">Galleries</a></li>
<li id="topnav_information"><a href="#">Information</a></li>
</ul>
and this css:
#topnav_galleries a, #topnav_information a {
background-repeat: no-repeat;
text-indent: -9000px;
paddi... | html | css | xhtml | list | null | null | open | inline lists with graphical links in css
===
given this html:
<ul id="topnav">
<li id="topnav_galleries"><a href="#">Galleries</a></li>
<li id="topnav_information"><a href="#">Information</a></li>
</ul>
and this css:
#topnav_galleries a, #topnav_information a {
background-repeat... | 0 |
45,176 | 09/05/2008 03:16:33 | 1,965 | 08/19/2008 15:51:08 | 2,909 | 161 | What do you do when you can't use ViewState? | I have a rather complex page that dynamically builds user controls inside of a repeater. This repeater must be bound during the Init page event before ViewState is initialized or the dynamically created user controls will not retain their state.
This creates an interesting Catch-22 because the object I bind the repe... | c# | asp.net | viewstate | webforms | page-lifecycle | null | open | What do you do when you can't use ViewState?
===
I have a rather complex page that dynamically builds user controls inside of a repeater. This repeater must be bound during the Init page event before ViewState is initialized or the dynamically created user controls will not retain their state.
This creates an inter... | 0 |
45,179 | 09/05/2008 03:19:57 | 3,349 | 08/28/2008 04:01:37 | 1 | 1 | Are there benefits to Classic ASP over ASP.net | Having worked with Classic ASP for about 2 years now by creating a few 100 simple web forms I can't see a good reason for switching to .net; however, I'm not that versed in .net so I'm sure I could be missing a few things.
An over view of why I feel this way is best found here: <a href="http://www.packtpub.com/artic... | asp.net | comparison | asp-classic | interpreted | compiled | 04/05/2012 13:06:07 | not constructive | Are there benefits to Classic ASP over ASP.net
===
Having worked with Classic ASP for about 2 years now by creating a few 100 simple web forms I can't see a good reason for switching to .net; however, I'm not that versed in .net so I'm sure I could be missing a few things.
An over view of why I feel this way is bes... | 4 |
45,180 | 09/05/2008 03:20:56 | 4,555 | 09/04/2008 17:54:35 | 1 | 0 | Problems with disabling IIS shutdown of idle worker process? | I ran into an issue with an IIS web app shutting down an idle worker process. The next request would then have to re-initialize the application, leading to delays. I disabled the IIS shutdown of idle worker processes on the application pool to resolve this. Are there any issues associated with turning this off? If ... | iis | null | null | null | null | null | open | Problems with disabling IIS shutdown of idle worker process?
===
I ran into an issue with an IIS web app shutting down an idle worker process. The next request would then have to re-initialize the application, leading to delays. I disabled the IIS shutdown of idle worker processes on the application pool to resolve ... | 0 |
45,202 | 09/05/2008 03:51:57 | 1,875 | 08/19/2008 02:23:09 | 413 | 37 | IoC Container Configuration - XML or Fluent Interface | I absolutely need to use an IoC container for decoupling dependencies in an ever increasingly complex system of enterprise services. The issue I am facing is one related to configuration (a.k.a. registration). We currently have 4 different environments -- development to production and in between. These environments ... | dependency-injection | inversionofcontrol | dependencyinjection | null | null | null | open | IoC Container Configuration - XML or Fluent Interface
===
I absolutely need to use an IoC container for decoupling dependencies in an ever increasingly complex system of enterprise services. The issue I am facing is one related to configuration (a.k.a. registration). We currently have 4 different environments -- dev... | 0 |
45,207 | 09/05/2008 03:58:32 | 4,121 | 09/01/2008 21:29:49 | 18 | 1 | How do I force unix (LF) line endings in Visual Stuido (Express) 2008? | Is there a way to *always* have LF line endings in Visual Studio? I can never seem to find it! | visual-studio | unix | editor | formatting | visual-studio-2008 | null | open | How do I force unix (LF) line endings in Visual Stuido (Express) 2008?
===
Is there a way to *always* have LF line endings in Visual Studio? I can never seem to find it! | 0 |
45,227 | 09/05/2008 04:26:49 | 50 | 08/01/2008 13:29:54 | 658 | 38 | Can I Do This In Lisp? | I have been searching everywhere for this functionality in lisp, and have gotten nowhere.
1. find the index of something in a list. example:
(index-of item InThisList)
2. replace something at a specific spot in a list. example:
(replace item InThisList AtThisIndex) ;i think this can be done with '... | lisp | null | null | null | null | null | open | Can I Do This In Lisp?
===
I have been searching everywhere for this functionality in lisp, and have gotten nowhere.
1. find the index of something in a list. example:
(index-of item InThisList)
2. replace something at a specific spot in a list. example:
(replace item InThisList AtThisIndex) ;i t... | 0 |
45,228 | 09/05/2008 04:27:46 | 1,114 | 08/12/2008 12:54:42 | 77 | 9 | Where can I find the time and memory efficencies of the built-in sequence types in Python | I have been unable to find a resource with this information, aside looking through the Python source code myself to determine how the objects work themselves. Though I may end up doing this anyway out of curiosity, does anyone know where I could find this online? | python | efficiency | big-o | sequences | null | null | open | Where can I find the time and memory efficencies of the built-in sequence types in Python
===
I have been unable to find a resource with this information, aside looking through the Python source code myself to determine how the objects work themselves. Though I may end up doing this anyway out of curiosity, does anyon... | 0 |
45,230 | 09/05/2008 04:30:19 | 85 | 08/01/2008 16:38:08 | 100 | 1 | Is it possible to forward ssh requests that come in over a certain port to another machine? | I have a small local network. Only one of the machines is available to the outside world (this is not easily changeable). I'd like to be able to set it up such that ssh requests that don't come in on the standard port go to another machine. Is this possible? If so, how?
Oh and all of these machines are running eithe... | osx | ubuntu | ssh | port | null | null | open | Is it possible to forward ssh requests that come in over a certain port to another machine?
===
I have a small local network. Only one of the machines is available to the outside world (this is not easily changeable). I'd like to be able to set it up such that ssh requests that don't come in on the standard port go to... | 0 |
45,235 | 09/05/2008 04:37:15 | 2,768 | 08/24/2008 23:52:54 | 176 | 9 | Strange Dependency Behavior in VS.NET 2005 (Unnecessary .CPP Compilation) | I work on a large Visual C++ (MFC) project in VS.NET 2005.
I have noticed strange behavior in Visual C++ 2005. Often, I will change one line of code in a .CPP file but many .CPP files will compile as a result of this. I have never seen this until VS.NET 2005. Theortically, changing a line of code in a .CPP file shou... | vs2005 | visual-c++ | null | null | null | null | open | Strange Dependency Behavior in VS.NET 2005 (Unnecessary .CPP Compilation)
===
I work on a large Visual C++ (MFC) project in VS.NET 2005.
I have noticed strange behavior in Visual C++ 2005. Often, I will change one line of code in a .CPP file but many .CPP files will compile as a result of this. I have never seen t... | 0 |
45,239 | 09/05/2008 04:43:43 | 2,938 | 08/26/2008 08:26:05 | 1 | 1 | What is the best technique for consistent form, function between all web browsers (including Google Chrome)? | Short version: What is the cleanest and most maintainable technique for consistant presentation and AJAX function across all browsers used by both web developers and web developers' end-users?
- IE 6, 7, 8
- Firefox 2, 3
- Safari
- Google Chrome
- Opera
Long version: I wrote a [web app aimed at other web... | css | google-chrome | portability | null | null | null | open | What is the best technique for consistent form, function between all web browsers (including Google Chrome)?
===
Short version: What is the cleanest and most maintainable technique for consistant presentation and AJAX function across all browsers used by both web developers and web developers' end-users?
- IE 6, 7... | 0 |
45,247 | 09/05/2008 04:54:30 | 1,638 | 08/17/2008 17:58:57 | 410 | 46 | How do I get started in embedded programing? | I would like to get started in embedded systems programming but don't know where to start...I have a very solid knowledge of C and C++ and would preferably like to use these languages with the GNU compilers. I have a degree in CS so I have a solid foundation...
I have no clue about what hardware and other resources... | embedded | webdevelopment | c | c++ | null | null | open | How do I get started in embedded programing?
===
I would like to get started in embedded systems programming but don't know where to start...I have a very solid knowledge of C and C++ and would preferably like to use these languages with the GNU compilers. I have a degree in CS so I have a solid foundation...
I ha... | 0 |
45,252 | 09/05/2008 05:06:23 | 4,499 | 09/04/2008 08:57:19 | 1 | 3 | Load Balancing of Process in 1 Server | I have 1 process that receives incoming connection from port 1000 in 1 **linux** server. However, 1 process is not fast enough to handle all the incoming request.
I want to run multiple processes in the server but with 1 end-point. In this way, the client will only see 1 end-point/process not multiple.
I have che... | linux | load-balancing | null | null | null | null | open | Load Balancing of Process in 1 Server
===
I have 1 process that receives incoming connection from port 1000 in 1 **linux** server. However, 1 process is not fast enough to handle all the incoming request.
I want to run multiple processes in the server but with 1 end-point. In this way, the client will only see 1 en... | 0 |
45,253 | 09/05/2008 05:07:38 | 422 | 08/05/2008 15:11:55 | 862 | 44 | Adding Functionality to Rails | I'm working on a Rails app and am looking to include some functionality from an [earlier question][1] I asked here. However, I'm having problems getting it to work. I was under the impression that I should just make a file in the lib directory, so I named it 'get_ip.rb', with the contents:
require 'socket'
... | ruby | ruby-on-rails | null | null | null | null | open | Adding Functionality to Rails
===
I'm working on a Rails app and am looking to include some functionality from an [earlier question][1] I asked here. However, I'm having problems getting it to work. I was under the impression that I should just make a file in the lib directory, so I named it 'get_ip.rb', with the cont... | 0 |
45,264 | 09/05/2008 05:20:57 | 1,934 | 08/19/2008 14:29:35 | 11 | 2 | Django Calendar Widget? | Does anyone know of any existing packages or libraries that can be used to build a calendar in a django app? | django | calendar | null | null | null | null | open | Django Calendar Widget?
===
Does anyone know of any existing packages or libraries that can be used to build a calendar in a django app? | 0 |
45,277 | 09/05/2008 05:33:06 | 4,647 | 09/04/2008 23:52:15 | 1 | 0 | How do I implement an OpenID server in Rails? | I see a similar question [for Ubuntu](http://stackoverflow.com/questions/28588/how-do-you-set-up-an-openid-provider-server-in-ubuntu), but I'm interested in hosting my own OpenID provider through my Rails-based site that already has an identity and authentication system in place.
Note that I'm not looking for the de... | ruby-on-rails | openid | null | null | null | null | open | How do I implement an OpenID server in Rails?
===
I see a similar question [for Ubuntu](http://stackoverflow.com/questions/28588/how-do-you-set-up-an-openid-provider-server-in-ubuntu), but I'm interested in hosting my own OpenID provider through my Rails-based site that already has an identity and authentication syste... | 0 |
45,286 | 09/05/2008 05:42:57 | 363 | 08/05/2008 04:56:30 | 200 | 6 | How can I overwrite the same portion of the console in a Windows native C++ console app, without using a 3rd Party library? | I have a console app that needs to display the state of items, but rather than having text scroll by like mad I'd rather see the current status keep showing up on the same line. For the sake of example:
> `Running... nn% complete`
should be the output, where 'nn' is the current percentage complete, updated perio... | c++ | console | windows | null | null | null | open | How can I overwrite the same portion of the console in a Windows native C++ console app, without using a 3rd Party library?
===
I have a console app that needs to display the state of items, but rather than having text scroll by like mad I'd rather see the current status keep showing up on the same line. For the sake... | 0 |
45,293 | 09/05/2008 05:55:36 | 4,021 | 09/01/2008 12:23:44 | 48 | 4 | ASP.NET and sending SMS/making phone calls | I have a scenario where I need to make call a telephone(landline/mobile) or send SMS to a particular set of users only using ASP.NET and C#. The web application is not a mobile application.
How do I go about doing these? What typically would be the hardware requirements? I would be **extremely grateful** if you cou... | c# | asp.net | sms | null | null | 02/16/2012 17:40:17 | too localized | ASP.NET and sending SMS/making phone calls
===
I have a scenario where I need to make call a telephone(landline/mobile) or send SMS to a particular set of users only using ASP.NET and C#. The web application is not a mobile application.
How do I go about doing these? What typically would be the hardware requiremen... | 3 |
45,301 | 09/05/2008 06:00:56 | 130,278 | 09/02/2008 03:00:54 | 6 | 6 | title in command prompt window | how can i change the command prompt window every time I execute a dos-based program by double clicking it, in c language. should i used windows API? thanks | c | winapi | null | null | null | null | open | title in command prompt window
===
how can i change the command prompt window every time I execute a dos-based program by double clicking it, in c language. should i used windows API? thanks | 0 |
45,325 | 09/05/2008 06:21:06 | 2,975 | 08/26/2008 09:40:04 | 793 | 36 | How do you force Visual Studio to regenerate the .designer files for aspx/ascx files? | Sometimes when I'm editing page or control the .designer files stop being updated with the new controls I'm putting on the page. I'm not sure what's causing this to happen, but I'm wondering if there's any way of forcing Visual Studio to regenerate the .designer file. I'm using Visual Studio 2008 | visual-studio-2008 | visual-studio | asp.net | null | null | null | open | How do you force Visual Studio to regenerate the .designer files for aspx/ascx files?
===
Sometimes when I'm editing page or control the .designer files stop being updated with the new controls I'm putting on the page. I'm not sure what's causing this to happen, but I'm wondering if there's any way of forcing Visual ... | 0 |
45,331 | 09/05/2008 06:28:41 | 877 | 08/10/2008 04:07:29 | 26 | 0 | MS Visual Studio "Package Load Failure" error | I'm receiving "Package Load Failure" error when I open VS 2005 after I installed the latest VisualSVN (v. 1.5.2). Anyone facing this error? Is there any tool out there to help identify which package didn't load and/or help unload a specific package? | vs2005 | visualsvn | null | null | null | null | open | MS Visual Studio "Package Load Failure" error
===
I'm receiving "Package Load Failure" error when I open VS 2005 after I installed the latest VisualSVN (v. 1.5.2). Anyone facing this error? Is there any tool out there to help identify which package didn't load and/or help unload a specific package? | 0 |
45,339 | 09/05/2008 06:36:03 | 1,523 | 08/16/2008 10:10:13 | 28 | 2 | Why is my web control null? | I have a web site in asp.net that uses a master page. In this master page I have a multiview control with one view that has all the content for the content pages and one view that has some local content to the master page where I show error messages from all content pages.
In this error view I have a asp.net Label c... | asp.net | null | null | null | null | null | open | Why is my web control null?
===
I have a web site in asp.net that uses a master page. In this master page I have a multiview control with one view that has all the content for the content pages and one view that has some local content to the master page where I show error messages from all content pages.
In this er... | 0 |
45,340 | 09/05/2008 06:37:19 | 4,491 | 09/04/2008 06:44:23 | 35 | 0 | Restful URLs for ASP.NET | Python frameworks always provide ways to handle urls that convey the data of the request in an elegant way:
think
http://somewhere.overtherainbow.com/userid/123424/
I want your to notice the ending path /userid/123424/
How do you do this in ASP.NET? | asp.net | rest | url | friendly-url | null | null | open | Restful URLs for ASP.NET
===
Python frameworks always provide ways to handle urls that convey the data of the request in an elegant way:
think
http://somewhere.overtherainbow.com/userid/123424/
I want your to notice the ending path /userid/123424/
How do you do this in ASP.NET? | 0 |
45,361 | 09/05/2008 07:07:06 | 4,682 | 09/05/2008 07:07:06 | 1 | 0 | Tomcat doFilter() invoked with committed response | I have a Tomcat Filter that delegates requests to the a handling object depending on the URL. This is the only filter in the FilterChain. I have an Ajax app that hammers this filter with lots of requests.
Recently I noticed an issue where the filter's doFilter method is often called with a committed response as a pa... | java | tomcat | servlet | null | null | null | open | Tomcat doFilter() invoked with committed response
===
I have a Tomcat Filter that delegates requests to the a handling object depending on the URL. This is the only filter in the FilterChain. I have an Ajax app that hammers this filter with lots of requests.
Recently I noticed an issue where the filter's doFilter m... | 0 |
45,372 | 09/05/2008 07:15:27 | 1,666 | 08/17/2008 21:07:18 | 689 | 50 | Calculated columns in mysql on INSERT statements | Let's say that I want to have a table that logs the date and the number of columns in some other table (or really any sort of math / string concat etc).
CREATE TABLE `log` (
`id` INTEGER NOT NULL AUTO_INCREMENT ,
`date` DATETIME NOT NULL ,
`count` INTEGER NOT NULL ,
PRIMARY KEY (`id`)
);... | mysql | db | null | null | null | null | open | Calculated columns in mysql on INSERT statements
===
Let's say that I want to have a table that logs the date and the number of columns in some other table (or really any sort of math / string concat etc).
CREATE TABLE `log` (
`id` INTEGER NOT NULL AUTO_INCREMENT ,
`date` DATETIME NOT NULL ,
`cou... | 0 |
45,374 | 09/05/2008 07:19:24 | 3,897 | 08/31/2008 18:44:05 | 86 | 9 | Dealing with "Coder's Block" (or blank form syndrome) | I know this is the sort of somewhat open-ended question that we're discouraged from asking, but there are lots of open-ended questions around already, and this is something quite relevant to me right now.
Do you ever get those times when you're about to start work on a new function/feature of an established system, ... | best-practices | productivity | self-improvement | null | null | 08/23/2011 20:10:06 | off topic | Dealing with "Coder's Block" (or blank form syndrome)
===
I know this is the sort of somewhat open-ended question that we're discouraged from asking, but there are lots of open-ended questions around already, and this is something quite relevant to me right now.
Do you ever get those times when you're about to star... | 2 |
45,385 | 09/05/2008 07:33:43 | 3,561 | 08/29/2008 05:25:35 | 194 | 24 | Good python library for generating audio files? | Can anyone recommend a good library for generating an audio file, such as mp3, wav, or even midi, from python?
I've seen recommendations for working with the id tags (song name, artist, etc) in mp3 files, but this is not my goal.
Thank you very much! | python | audio | mp3 | null | null | null | open | Good python library for generating audio files?
===
Can anyone recommend a good library for generating an audio file, such as mp3, wav, or even midi, from python?
I've seen recommendations for working with the id tags (song name, artist, etc) in mp3 files, but this is not my goal.
Thank you very much! | 0 |
45,387 | 09/05/2008 07:40:27 | 1,583 | 08/16/2008 20:54:12 | 226 | 7 | Accessible controls for ASP.NET | In my last job we ended up rewriting the complete ASP.NET stack (forms, controls, validation, postback handling, ajax library etc...) - the reason I was given was that the ASP.NET controls were not accessible enough, not were any of the third party controls that were assessed for the project.
Can anyone point me to ... | asp.net | ajax | accessibility | null | null | null | open | Accessible controls for ASP.NET
===
In my last job we ended up rewriting the complete ASP.NET stack (forms, controls, validation, postback handling, ajax library etc...) - the reason I was given was that the ASP.NET controls were not accessible enough, not were any of the third party controls that were assessed for th... | 0 |
45,399 | 09/05/2008 08:00:50 | 797 | 08/09/2008 02:14:04 | 1,333 | 46 | Advantages and disadvantages of GUID / UUID database keys | I've worked on a number of database systems in the past where moving entries between databases would have been made a lot easier if all the database keys had been [GUID / UUID][1] values. I've considered going down this path a few times, but there's always a bit of uncertainty, especially around performance and un-read... | database | null | null | null | null | null | open | Advantages and disadvantages of GUID / UUID database keys
===
I've worked on a number of database systems in the past where moving entries between databases would have been made a lot easier if all the database keys had been [GUID / UUID][1] values. I've considered going down this path a few times, but there's always ... | 0 |
45,400 | 09/05/2008 08:01:17 | 3,714 | 08/30/2008 09:10:20 | 21 | 3 | Source control system for single developer | What's the recommended source control system for a very small team (one developer)?<BR><BR>
Price does not matter. Customer would pay :-)<BR>
I'm working on Vista32 with VS 2008 in C++ and later in C# and with WPF. Setting up an extra (physical) server for this seems overkill to me. <BR><BR>Any opinions? | .net | version-control | null | null | null | null | open | Source control system for single developer
===
What's the recommended source control system for a very small team (one developer)?<BR><BR>
Price does not matter. Customer would pay :-)<BR>
I'm working on Vista32 with VS 2008 in C++ and later in C# and with WPF. Setting up an extra (physical) server for this seems ov... | 0 |
45,401 | 09/05/2008 08:02:39 | 2,090 | 08/20/2008 10:46:39 | 83 | 2 | .net lightweight 3d engine for compact and full framework | I am creating a GUI for a machine that runs remote (WinXP) or on the machine itself (Windows CE 6.0).
Right now I've created a fast visualisation (read: very simple) of the machine itself. The goal is to make a bit more complex visualisation of the machine and for that I would need a lightweight 3d engine.
The en... | c# | 3d | engine | null | null | null | open | .net lightweight 3d engine for compact and full framework
===
I am creating a GUI for a machine that runs remote (WinXP) or on the machine itself (Windows CE 6.0).
Right now I've created a fast visualisation (read: very simple) of the machine itself. The goal is to make a bit more complex visualisation of the machi... | 0 |
45,407 | 09/05/2008 08:06:32 | 184 | 08/03/2008 05:34:19 | 1,972 | 31 | Is there any difference between the box models of IE8 and Firefox3? | What are the main differences (if any) between the box models of IE8 and Firefox3?
Are they the same now?
What are the other main differences between these two browsers? Can a web developer assume that these two browsers as the same since they (seem to) support the latest web standards? | firefox | browser | internet-explorer-8 | null | null | null | open | Is there any difference between the box models of IE8 and Firefox3?
===
What are the main differences (if any) between the box models of IE8 and Firefox3?
Are they the same now?
What are the other main differences between these two browsers? Can a web developer assume that these two browsers as the same since th... | 0 |
45,408 | 09/05/2008 08:07:00 | 618 | 08/07/2008 11:16:45 | 79 | 6 | JIT code generation techniques | How does a virtual machine generate native machine code on the fly and execute it?
Assuming you can figure out what are the native machine op-codes you want to emit, how do you go about actually running it?
Is it something as hacky as mapping the mnemonic instructions to binary codes, stuffing it into an char* po... | assembler | interpreters | null | null | null | null | open | JIT code generation techniques
===
How does a virtual machine generate native machine code on the fly and execute it?
Assuming you can figure out what are the native machine op-codes you want to emit, how do you go about actually running it?
Is it something as hacky as mapping the mnemonic instructions to binary... | 0 |
45,414 | 09/05/2008 08:12:44 | 2,670 | 08/24/2008 10:03:28 | 196 | 21 | Why does the Eclipse code formatter break </a> in a documentation comment? | I'm using Eclipse 3.4 and have configured the Java code formatter with all of the options on the *Comments* tab enabled. The problem is that when I format a document comment that contains:
* @see <a href="test.html">test</a>
the code formatter inserts a space in the closing HTML, breaking it:
* @see <a... | java | eclipse | javadoc | null | null | null | open | Why does the Eclipse code formatter break </a> in a documentation comment?
===
I'm using Eclipse 3.4 and have configured the Java code formatter with all of the options on the *Comments* tab enabled. The problem is that when I format a document comment that contains:
* @see <a href="test.html">test</a>
the c... | 0 |
45,415 | 09/05/2008 08:14:39 | 4,687 | 09/05/2008 08:04:23 | 1 | 0 | How to run NUnit v2.4.8 tests with NAnt 0.86b1 ? | I tried recently to use the last official released version of NAnt (beta 0.86) to run some unit tests compiled with the last stable version of NUnit (v2.4.8) without any success. I would like to use <nunit2> task, and not directly the <exec> one, but I'm wondering if it is still possible, even using app.config fi... | .net | nant | nunit | null | null | null | open | How to run NUnit v2.4.8 tests with NAnt 0.86b1 ?
===
I tried recently to use the last official released version of NAnt (beta 0.86) to run some unit tests compiled with the last stable version of NUnit (v2.4.8) without any success. I would like to use <nunit2> task, and not directly the <exec> one, but I'm wonde... | 0 |
45,424 | 09/05/2008 08:18:52 | 4,690 | 09/05/2008 08:18:52 | 1 | 0 | Struts 2: return to calling page | I'm using <b>Struts 2</b>.
I'd like to return from an <tt>Action</tt> to the page which invoked it.
Say I'm in page <tt>x.jsp</tt>, I invoke <tt>Visual</tt> action to change CSS preferences in the session; I want to return to <tt>x.jsp</tt> rather than to a fixed page (i.e. <tt>home.jsp</tt>)<br/>
Here's the relevan... | java | struts | struts2 | null | null | null | open | Struts 2: return to calling page
===
I'm using <b>Struts 2</b>.
I'd like to return from an <tt>Action</tt> to the page which invoked it.
Say I'm in page <tt>x.jsp</tt>, I invoke <tt>Visual</tt> action to change CSS preferences in the session; I want to return to <tt>x.jsp</tt> rather than to a fixed page (i.e. <tt>h... | 0 |
45,426 | 09/05/2008 08:20:13 | 1,127,460 | 08/28/2008 09:38:19 | 176 | 8 | SQL file encoding in Visual Studio | When we create stored procedures in Visual Studio (with the extension .sql) the file encoding is automatically set to 'Unicode (UTF-8 with signature) - Codepage 65001'.
This causes ours DBA's problems as their scripts don't like it.
We have to manually go in and change them to 'Western European (windows) - Codepa... | sql | visual-studio | stored-procedures | null | null | null | open | SQL file encoding in Visual Studio
===
When we create stored procedures in Visual Studio (with the extension .sql) the file encoding is automatically set to 'Unicode (UTF-8 with signature) - Codepage 65001'.
This causes ours DBA's problems as their scripts don't like it.
We have to manually go in and change them... | 0 |
45,431 | 09/05/2008 08:29:08 | 4,401 | 09/03/2008 14:02:08 | 1 | 1 | NCover, TypeMock and MSTest | has anyone got NCover, TypeMock and MSTest to work together? and if so how.
I've had 2 or 3 serious tries at this now and just can't get it to work.
I'm using MSTest 9, NCover 2.1 and TypeMock 4.1.
Ideally I would like to run them from an MSBuild task.
Cheers
Mat | ncover | null | null | null | null | null | open | NCover, TypeMock and MSTest
===
has anyone got NCover, TypeMock and MSTest to work together? and if so how.
I've had 2 or 3 serious tries at this now and just can't get it to work.
I'm using MSTest 9, NCover 2.1 and TypeMock 4.1.
Ideally I would like to run them from an MSBuild task.
Cheers
Mat | 0 |
45,437 | 09/05/2008 08:39:34 | 3,394 | 08/28/2008 12:35:39 | 1,484 | 73 | Determining members of local groups via C# | I wondered whether anybody knows how to obtain membership of local groups on a remote server programmatically via C#. Would this require administrator permissions? And if so is there any way to confirm the currently logged in user's membership (or not) of these groups?
| c# | .net | windows | networking | null | null | open | Determining members of local groups via C#
===
I wondered whether anybody knows how to obtain membership of local groups on a remote server programmatically via C#. Would this require administrator permissions? And if so is there any way to confirm the currently logged in user's membership (or not) of these groups?
| 0 |
45,438 | 09/05/2008 08:43:48 | 905 | 08/10/2008 09:37:14 | 3,662 | 222 | MS SQL FTI - searching on "n*" returns numbers | This seems like odd behaviour from SQL's full-text-index.
FTI stores number in its index with an "NN" prefix, so "123" is saved as "NN123".
Now when a user searches for words beginning with N (i.e. contains "n*" ) they also get all numbers.
So:
select [TextField]
from [MyTable]
where contains... | sql-server | null | null | null | null | null | open | MS SQL FTI - searching on "n*" returns numbers
===
This seems like odd behaviour from SQL's full-text-index.
FTI stores number in its index with an "NN" prefix, so "123" is saved as "NN123".
Now when a user searches for words beginning with N (i.e. contains "n*" ) they also get all numbers.
So:
select ... | 0 |
45,453 | 09/05/2008 09:14:03 | 2,839 | 08/25/2008 13:34:44 | 6 | 6 | ICalendar and event updates not working in Outlook | I'm generating ICalendar (.ics) files.
Using the UID and SEQUENCE fields I can update existing events in Google Calendar and in Windows Calandrier ***BUT NOT*** in MS Outlook 2007
How do I get them to work for Outlook ?
Thanks
Tom | icalendar | rfc2445 | language-agnostic | null | null | null | open | ICalendar and event updates not working in Outlook
===
I'm generating ICalendar (.ics) files.
Using the UID and SEQUENCE fields I can update existing events in Google Calendar and in Windows Calandrier ***BUT NOT*** in MS Outlook 2007
How do I get them to work for Outlook ?
Thanks
Tom | 0 |
45,456 | 09/05/2008 09:16:25 | 1,583 | 08/16/2008 20:54:12 | 226 | 8 | Worst abuses of NIH syndrome? | Last place I worked at had a massive [NIH][1] issue.
They ended up rewriting the complete ASP.NET stack (forms, controls, validation, postback handling, ajax library etc...)
What is the worst case of NIH you have had the misfortune to work on?
[1]: http://en.wikipedia.org/wiki/Not_Invented_Here | productivity | coding-horror | null | null | null | 07/03/2012 12:38:55 | not constructive | Worst abuses of NIH syndrome?
===
Last place I worked at had a massive [NIH][1] issue.
They ended up rewriting the complete ASP.NET stack (forms, controls, validation, postback handling, ajax library etc...)
What is the worst case of NIH you have had the misfortune to work on?
[1]: http://en.wikipedia.org... | 4 |
45,470 | 09/05/2008 09:36:30 | 4,406 | 09/03/2008 14:38:45 | 11 | 3 | Suggest some good MVC framework in perl | Can you suggest some good MVC framework for perl -- one I am aware of is [catalyst](http://www.catalystframework.org/)
The need is to be able to expose services on the perl infrastructure which can be called by Java/.Net applications seamlessly. | perl | mvc | null | null | null | null | open | Suggest some good MVC framework in perl
===
Can you suggest some good MVC framework for perl -- one I am aware of is [catalyst](http://www.catalystframework.org/)
The need is to be able to expose services on the perl infrastructure which can be called by Java/.Net applications seamlessly. | 0 |
45,475 | 09/05/2008 09:41:57 | 4,431 | 09/03/2008 18:12:05 | 11 | 6 | Postback events from within DataView | I'm presenting information from a DataTable on my page and would like to add some sorting functionality which goes a bit beyond a straight forward column sort. As such I have been trying to place LinkButtons in the HeaderItems of my GridView which postback to functions that change session information before reloading t... | c# | .net | postback | datatable | gridview | null | open | Postback events from within DataView
===
I'm presenting information from a DataTable on my page and would like to add some sorting functionality which goes a bit beyond a straight forward column sort. As such I have been trying to place LinkButtons in the HeaderItems of my GridView which postback to functions that cha... | 0 |
45,481 | 09/05/2008 09:45:59 | 4,685 | 09/05/2008 07:49:27 | 1 | 1 | How to do Streaming read of a large XML file in C# 3.5 ... | How can you do a streaming read on a large XML file that contains a xs:sequence just bellow root element, without loading the whole file into a XDocument instance in memory.
| c# | .net | xml | .net-3.5 | streaming | null | open | How to do Streaming read of a large XML file in C# 3.5 ...
===
How can you do a streaming read on a large XML file that contains a xs:sequence just bellow root element, without loading the whole file into a XDocument instance in memory.
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.