text string | meta dict |
|---|---|
Q: What is the best CSS Framework and are they worth the effort? Reading on another forum I've came across the world of CSS Frameworks. The one I've been specifically looking at is BluePrint. I was wondering if anyone else had come across CSS frameworks, suggest which is the best and if they are worth the effort?
A: Y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "106"
} |
Q: Should I use "glass box" testing when it leads to *fewer* tests? For example, I'm writing tests against a CsvReader. It's a simple class that enumerates and splits rows of text. Its only raison d'être is ignoring commas within quotes. It's less than a page.
By "black box" testing the class, I've checked things li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C# for 64bit OS? How can I make my compilation optimized for Windows 64 bit?
A: You might also want to do a check at runtime, just to be sure:
using System;
using System.Runtime.InteropServices;
class SystemChecker
{
static bool Is64Bit
{
get { return Marshal.SizeOf(typeof(IntPtr)) == 8; }
}
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I get current date/time on the Windows command line in a suitable format for usage in a file/folder name? Update: Now that it's 2016 I'd use PowerShell for this unless there's a really compelling backwards-compatible reason for it, particularly because of the regional settings issue with using date. See @npoc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "618"
} |
Q: Interop Controls not picking up XP Styles I created an Interop user control in VS2005. When the user control is shown inside VB6, it does not pickup/use the XP styles (The buttons and the tabs look like VB6 buttons/tabs).
How do I get the XP styles to work with my control while it is in VB6?
A: you need to add a m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Use javascript to inject script references as needed? I have a JS function that may occasionally get used on some pages. It is dependent on another JS file (swfObject.js), but I'd like to avoid having to include this file all over the place, as thats a wasted request most of the time.
Instead, I'd like to create a g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: WCF - NetTcp and basicHttp with SSL in single setup possible without IIS7 Is it possible to have both
*
*NetTcp bound endpoints, and
*basicHttp bound endpoints with SSL
within a single deployment, either using Windows Service or IIS6?
A: Yes, a single service host can expose multiple endpoints with different ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Week() function in sql script I am using sql server 2005. I just want to know is there something we can get the week number for the particular month. Example Date = '2008-10-16' Is there something we can have SELECT WEEK(Date). Or any better suggestion.
A: SELECT DATEPART( week, '2008-10-16')
A: You can do it thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does the C++ compiler know which implementation of a virtual function to call? Here is an example of polymorphism from http://www.cplusplus.com/doc/tutorial/polymorphism.html (edited for readability):
// abstract base class
#include <iostream>
using namespace std;
class Polygon {
protected:
int widt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Is it possible to convert between Socket and TcpClient objects? Here's another C#/.NET question based merely on curiousity more than an immediate need ...
If you had a Socket instance and you wanted to wrap it in the higher-level TcpClient class, is that possible and how would you do it?
Conversely if you have an in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Prevent series from using clWhite with Delphi TChart I have a report that uses a TChart that I am maintaining. One of the TLineSeries that gets added automatically gets assigned the color clWhite, which is too close to the background (clBtnFace).
If I change it, then the next series that gets added takes clWhite.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get around a 'NS_ERROR_ILLEGAL_VALUE' error using Ajax? Im just writing a small Ajax framework for re-usability in small projects and i've hit a problem. Basically i get a 'NS_ERROR_ILLEGAL_VALUE' error while sending the request and i've no idea what is happening.
The HTML Page
(trimmed but shows the error)
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Bookmarklet link in Markdown document How can I include a bookmarklet in a Markdown parsed document? Is there any "tag" for markdown that basically says "don't parse this"??
For example you could have something like:
<a href="javascript:function my_bookmarklet()
{alert('Hello World');}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How to get doxygen to run faster? Doxygen is a bit slow - it takes about a couple of minutes to process my whole project, so for small incremental changes this is longer than actually building the rest of my code. There are thousands of files without any documentation so I guess it is spending most of its time proce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Is there a Java API that can create rich Word documents? I have a new app I'll be working on where I have to generate a Word document that contains tables, graphs, a table of contents and text. What's a good API to use for this? How sure are you that it supports graphs, ToCs, and tables? What are some hidden gotc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "113"
} |
Q: compiling only part of the source tree with ant Say I have my sources in my src/ tree (and possibly in my test/ tree). Say I would like to compile only part of that tree. The reasons why I might want to do that are various. Just as an example, I might want to create the smallest possible jar (without including certa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Integrating "really simple history" with Rails In trying to solve the "ajax back button" problem I have found the Really Simply History library.
Has anyone tried to integrate it with Rails?
It's plain old javascript so it seems like it should integrate just fine, but I know next to nothing about JS itself, so I'm n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing Win32 C/C++ struct members from C# I am intercepting Win32 API calls a native dll or exe is doing from C# using some kind of hooking. In this particular case I am interested in DrawText() in user32.dll. It is declared like this in Win32 API:
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Good image gallery engines What are the best open source image gallery engines? Both stand-alone, and for existing frameworks such as Wordpress or Drupal.
Hopefully we can build a good list here over time.
A: Gallery is the classic choice. It has skins, security layers, heaps of plugins, etc, but can be run with t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: using a named function as the callback for $.getJSON in jQuery to satisfy Facebook request signing demands I'm trying to access the Facebook API Admin.getMetrics method via jQuery. I'm correctly composing the request url on the server side (in order to keep my app secret secret). I'm then sending the url over to the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to detect VC++ 2008 redistributable? Is there a Registry setting that I can look for to determine whether or not the Visual C++ redistributable is installed, whether standalone or as part of Visual Studio 2008? I know that I could launch the VC++ 2008 redistributable installer and let it handle the detection, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Event binding on dynamically created elements? I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.
This happens on page ready and works just fine.
The problem I have is that any select boxes I add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1675"
} |
Q: Is it possible to get Message Box in web forms? I tried but I guess Message Box only works with win forms. What is the best alternative to use in web forms?
A: You can use confirm for yes/no questions and alert for "OK" messages in JavaScript.
The other alternative is to use JavaScript to pop up a new window that l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Undo changes to SQL Server 2005 database I've ran some "ALTER" scripts on the database [SQL Server Server 2005], and overwrote some sprocs. Is there any way to undo changes and get my old sprocs back?
Is there a way to get the scripts that were executed out of the .LDf file? That way i can re-run my initial "create"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: replace the stdin for a file I got a program with a fscanf like this:
fscanf(stdin, "%d %d,....
I got many fscanf and files that I'd like to test, the files are like this
10485770 15 51200000
-2 10
10 10485760 10485760
10 10485760 10485760
10 10485760 10485760
Well my question is how can I tell to the program or t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CSS Browser Support Chart Is there any resource that provides a chart of CSS properties and their support through most browser/OS combinations? For example, if I want to know what browser supports overflow or min-height and any quirks to be aware of in the implementation of these properties and their values, what is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Preventing copy protection circumvention Anyone visiting a torrent tracker is sure to find droves of "cracked" programs ranging from simple shareware to software suites costing thousands of dollars. It seems that as long as the program does not rely on a remote service (e.g. an MMORPG) that any built-in copy protec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How can I keep a console open until CancelKeyPress event is fired? What is the best way to keep a console application open as long as the CancelKeyPress event has not been fired?
I would prefer to not use Console.Read or Console.ReadLine as I do not want to accept input. I just want to enable the underlying applica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What's the best audio compression library for .NET? I'm looking for a good audio compression library for .NET. Anything using MP3 is out (because of the licensing issue). Basically I just need to be able to compress regular WAV audio data into some format, and decompress back to WAV. Preferably the code would be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to get a list of installed True Type Fonts on Linux using C or C++? How can my app get a list of the True Type Fonts that are available on Linux.
Is there a standard directory where they are stored across different distributions? Or some other standard way to locate them?
A: I think fontconfig is the right way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: CSS Performance Usually when I build a site, I put all the CSS into one file, and all the properties that relate to a set of elements are defined at once. Like this:
#myElement {
color: #fff;
background-color: #000;
padding: 10px;
border: 1px solid #ccc;
font-size: 14pt;
}
.myClass {
font-si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Are clean URLs a backend or a frontend thing What do you think.. are clean URLs a backend or frontend 'discipline'
A: If we're talking url's being 'clean' from an end user experience then I'm going to break the mould a bit and say that url's in general are not intuitive and they never will be, they are intended to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How does ruby on rails work? I'm a PHP developer who knows a little bit of Ruby. I want to learn Ruby on Rails, but most of the resources I've come across treat RoR functionality as "magic" -- i.e., it has a certain internal consistency, but don't bother asking how it works in terms of Ruby, MySQL, etc.
Anyway, I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Multiple NSURLConnection delegates in Objective-C I have two NSURLConnections. The second one depends on the content of the first, so handling the data received from the connection will be different for the two connections.
I'm just picking up Objective-C and I would like to know what the proper way to implement th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Colour blindness simulator Like any responsible developer, I'd like to make sure that the sites I produce are accessible to the widest possible audience, and that includes the significant fraction of the population with some form of colour blindness.
There are many websites which offer to filter a URL you feed it, e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: What is the SQL for 'next' and 'previous' in a table? I have a table of items, each of which has a date associated with it. If I have the date associated with one item, how do I query the database with SQL to get the 'previous' and 'subsequent' items in the table?
It is not possible to simply add (or subtract) a val... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Find leaf nodes in hierarchical tree I have a table in my database which stores a tree structure. Here are the relevant fields:
mytree (id, parentid, otherfields...)
I want to find all the leaf nodes (that is, any record whose id is not another record's parentid)
I've tried this:
SELECT * FROM mytree WHERE `id` NOT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Consuming a WCF service in BizTalk 2006 R2 I'm trying to figure out how to consume a WCF service in BizTalk 2006 R2 (sending a request and receiving a response).
I've gotten as far as going through the "Add Generated Items" wizard. Now I am trying to find out how to use the items it generated in an orchestration.
H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: TSQL Extended Procedure 'xp_dirscan'? What is the equivalent of the extended procedure 'xp_dirscan' in SQL Server 2005?
A: It's not native shipped code in SQL Server.
It's a 3rd party extenfed stored proc (which is a DLL).
You can register on SQL Server Central and see this article with download and instructions.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating the Singleton design pattern in PHP5 How would one create a Singleton class using PHP5 classes?
A: Supports Multiple Objects with 1 line per class:
This method will enforce singletons on any class you wish, al you have to do is add 1 method to the class you wish to make a singleton and this will do it for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "211"
} |
Q: JQuery: Current, Well-Formatted, Printable Documentation? I'm looking for a current (1.2), well-formatted, printable version of the jQuery documentation. I've checked the alternative resources page and see the PDF versions from CF and Java, but both are out of date.
The jQuery site has the API browser with "Printab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Is there any way to detect the monitor state in Windows (on or off)? Does anyone know if there is an API to get the current monitor state (on or off) in Windows (XP/Vista/2000/2003)?
All of my searches seem to indicate there is no real way of doing this.
This thread tries to use GetDevicePowerState which according ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Setting style on first and last visible TabItem of TabControl I want to set a style on the first and last TabItems in a TabControl, and have them updated as the visibility of the TabItems is changed. I can't see a way to do so with triggers.
What we're after looks like this:
| > > > |
And the visibility of TabItems... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Unit Testing Framework for Oracle PL/SQL? I've seen the question (and answer) when posed for MS SQL Server, though I don't yet know of one for Oracle and PL/SQL. Are there xUnit style testing frameworks for Oracle's PL/SQL? What are they?
A: PLUTO appears to be very new, and there doesn't appear to be a lot of do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Getting the max value of an enum How do you get the max value of an enum?
A: I agree with Matt's answer. If you need just min and max int values, then you can do it as follows.
Maximum:
Enum.GetValues(typeof(Foo)).Cast<int>().Max();
Minimum:
Enum.GetValues(typeof(Foo)).Cast<int>().Min();
A: Use the Last function... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "182"
} |
Q: Do stateless random number generators exist? Is there a difference between generating multiple numbers using a single random number generator (RNG) versus generating one number per generator and discarding it? Do both implementations generate numbers which are equally random? Is there a difference between the normal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Best name for array indexed by id with boolean value I get obsessed with the best names for arrays and variables that I use, I'll look up words in the thesaurus, dictionary, etc..
So I'm trying to name this array / structure:
$nameMe = array(
'392' => TRUE,
'234' => TRUE,
'754' => TRUE,
'464' => TRUE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to tell when Windows is inactive Various programs can do stuff only when you haven't used the computer for a while (eg screensaver, Google Desktop indexing, etc).
How do they know when it has been inactive? Is there some function in Windows that tells you how long it has been inactive, or do you have to use some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Context help in Visual Studio Is there a way to change the context sensitive help in Visual Studio so that it will only search against the text under the caret instead of a compilation error in your code?
More info:
After you compile and receive a compilation error(underlined), placing the caret within the underline... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do you write a case insensitive query for both MySQL and Postgres? I'm running a MySQL database locally for development, but deploying to Heroku which uses Postgres. Heroku handles almost everything, but my case-insensitive Like statements become case sensitive. I could use iLike statements, but my local MySQL d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: How do you auto-deploy a website during a release build? I'd like to upload (via ftp) a website when doing a release build in visual studio 2008. I don't want any source code files to be uploaded and it would be nice to configure which folders should get uploaded. I'm using either ASP.NET Web Applications or MVC. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the mask for emails using swing's MaskFormatter Using Java swing, what is the string that correspond to a correct email mask when using the MaskFormatter?
Is that possible at all to actually use a MaskFormatter for emails?
A: As much as it does make sorta sense to use a MaskFormatter, I don't think it is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there an operator for appending to a string variable in ASP? What's the ASP equivalent to PHP's .= when concatenating strings? I'm referring to asp NOT asp.net.
I meant to specify that I'm in a for-loop. So I want to know the equivalent for .= (in php) not standard concatenation.
Example:
For Each Item In Request... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL DTS Database Copy Fails Hey All, I have been working on this problem for a while and the usual google searches are not helping :(
I have a production database in SQL 2000. I want to copy it over the top of a training database to refresh it. I want this to be something that is scheduled to happen once a week to k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MAPI: Format of PR_SEARCH_KEY Does anyone know the format of the MAPI property PR_SEARCH_KEY?
The online documentation has this to say about it:
The search key is formed by
concatenating the address type (in
uppercase characters), the colon
character ':', the e-mail address in
canonical form, and the termin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does LISTSERV have an API? I have a custom application that was built to send opt-in newsletters and marketing emails. It does a pretty good job sending mail, but it doesn't respond at all to bounces or unsubscribe requests. It seems to me that rather than building that functionality myself I should use a mailing li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get the icon from the executable file only having an instance of it's Process in C# I can get the executable location from the process, how do I get the icon from file?
Maybe use windows api LoadIcon(). I wonder if there is .NET way...
A: Icon ico = Icon.ExtractAssociatedIcon(theProcess.MainModule.FileNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Scalable/Reusable Authorization Model Ok, so I'm looking for a bit of architecture guidance, my team is getting a chance to re-cast certain decisions with a new feature that we're building, and I wanted to see what SO thought :-) There are of course certain things that we're not changing, so the solution would have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use enums in Oracle? How do you use enums in Oracle using SQL only? (No PSQL)
In MySQL you can do:
CREATE TABLE sizes (
name ENUM('small', 'medium', 'large')
);
What would be a similar way to do this in Oracle?
A: Reading a bit about the MySQL enum, I'm guessing the closest equivalent would be a simple c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: How do I group by date in Crystal Reports 8.0? I have a Crystal Report that looks like:
Date | Person | Ticket | Summary
Date | Person | Ticket | Summary
Date | Person | Ticket | Summary
I would like it to look like:
Date
Person | Ticket | Summary
Person | Ticket | Summary
Date
Person | Ticket | Summary
All... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I identify immutable objects in Java In my code, I am creating a collection of objects which will be accessed by various threads in a fashion that is only safe if the objects are immutable. When an attempt is made to insert a new object into my collection, I want to test to see if it is immutable (if not, I'l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: How does CSS formatting in a Google Maps bubble work? I'm using KML and the GGeoXml object to overlay some shapes on an embedded Google map. The placemarks in the KML file have some custom descriptive information that shows up in the balloons.
<Placemark>
<name />
<description>
<![CDATA[
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Oracle 10gr2: enforce dates entered are between 9am and 5pm? I want to enforce that date-times that are entered fall between 9am and 5pm. How do I enforce this with ORACLE CHECK constraints?
A: SQL> ed
Wrote file afiedt.buf
1 create table date_check (
2 dt date check( to_number( to_char( dt, 'HH24' ) ) betw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Creating self-contained python applications I'm trying to create a self-contained version of pisa (html to pdf converter, latest version), but I can't succeed due to several errors. I've tried py2exe, bb-freeze and cxfreeze.
This has to be in windows, which makes my life a bit harder. I remember that a couple of mon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Find records with more than one ActiveRecord HABTM Association I've got two models, joined by a Has and Belongs To Many join table. Lets call these models User and Event. The majority of Users have 0 events, while few have one or more. I want to do something like:
User.find(:all, :joins => :events, :conditions => ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why does Oracle 9i treat an empty string as NULL? I know that it does consider ' ' as NULL, but that doesn't do much to tell me why this is the case. As I understand the SQL specifications, ' ' is not the same as NULL -- one is a valid datum, and the other is indicating the absence of that same information.
Feel fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "236"
} |
Q: Testing REST webservices My organization is working on building RESTful webservices on JBoss appserver. The QA team is used to testing SOAP webservices so far using SoapUI. SoapUI has a new version that has REST capabilities. We're considering using that.
*
*Are there any publicly available RESTful services avail... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "63"
} |
Q: How to update a record without changing rowversion If a table has a rowversion column in it and you make an update to that row, the value of the rowversion column increases. I know that this is by design and the purpose of rowversion columns, however is there any way to make it such that an update operation will ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Disabling +S filetype in Perforce Perforce's filetype system includes the +S modified to denote that a file is a temporary file. The implication of this is that no file history is stored for that file - only the most recent version is maintained, and it is replaced with each new checkin.
This is obviously a dangerou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I discriminate between data binding and user actions on WinForm controls I have what must be a typical catch-22 problem. I have a .NET WinForm control that contains a textbox and a checkbox. Both controls are data bound to properties on a data class instance. The textbox is for price, the check box to indi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the simplest way to get indented XML with line breaks from XmlDocument? When I build XML up from scratch with XmlDocument, the OuterXml property already has everything nicely indented with line breaks. However, if I call LoadXml on some very "compressed" XML (no line breaks or indention) then the output of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "115"
} |
Q: Ajax and GridView-Fu -- how to make AccordionPanes work with GridViews? Ok, I know someone here has tried this ninja-elite level of coding before. Essentially what I want to do is this:
I want a GridView where each row returned becomes the header portion of an asp.net-ajax AccordionPane. Each row also has some uniqu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it necessary in any circumstance to modify Wordpress other than writing plugins and themes? I recently had to work on a project where the previous developer modified the wp-admin directory. It seems like a bad idea to me, since Wordpress is constantly updated. Am I just not at that level of expertise with modifyi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Undefined Symbol ___gxx_personality_v0 on link I've been getting this undefined symbol building with this command line:
$ gcc test.cpp
Undefined symbols:
"___gxx_personality_v0", referenced from:
etc...
test.cpp is simple and should build fine. What is the deal?
A: Use
g++ test.cpp
instead, since this is c++... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: What's the benefit of Connectedness? What is the benefit of Connectedness as defined by Resource Oriented Architecture (ROA)? The way I understand it, the crux of Connectedness is the ability to crawl the entire application state using only the root URIs.
But how useful is that really?
For example, imagine that HTTP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Graphics.MeasureString returns different values than Win32 GetTextExtent i've been trying to find a method in C# to measure the size of a string. The standard method to measure a string in Win32 is to use GetTextExtent. The real goal is to find the average width and height of a font character. The standard method to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Java Servlets: Performance I am working on a web application in Java which gets data from servlets via AJAX calls.
This application features several page elements which get new data from the server at fairly rapid intervals.
With a lot of users, the demand on the server has a potential to get fairly high, so I am cu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: iPhone SDK: Assertion failure in -[UILabel setFont:] I have an iPhone app that compiles and runs fine in the Simulator on my laptop. Now, I try to build and run the same code in the Simulator on an iMac, and it starts up and lets me click a button, but then I get an assertion failure.
Here is what is in the console... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Include directory in VS 2003 Where is the setting in Visual Studio 2003 to set the include path for individual projects? I know about the VC Directories option in Tools>Options but that is machine specific and won't help when I hand this off to other developers.
A:
A: Strangely I don't see that option. I ende... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Projection/Replication in SQL Query? My SQL is a bit rusty -- is there a SQL way to project an input table that looks something like this:
Name SlotValue Slots
---- --------- -----
ABC 3 1
ABC 4 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I match only fully-composed characters in a Unicode string in Perl? I'm looking for a way to match only fully composed characters in a Unicode string.
Is [:print:] dependent upon locale in any regular expression implementation that incorporates this character class? For example, will it match Japanese charact... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why does C# not provide the C++ style 'friend' keyword? The C++ friend keyword allows a class A to designate class B as its friend. This allows Class B to access the private/protected members of class A.
I've never read anything as to why this was left out of C# (and VB.NET). Most answers to this earlier StackOverf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "222"
} |
Q: How to name variables
*
*What rules do you use to name your variables?
*Where are single letter vars allowed?
*How much info do you put in the name?
*How about for example code?
*What are your preferred meaningless variable names? (after foo & bar)
*Why are they spelled "foo" and "bar" rather than FUBAR
A: f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: How to make a bilingual site without creating a separate ASP page for each language? I need ideas on how to go about table layout problem.
I want to set different width of the columns dependent on the picked language.
A: You can have language specific CSS, and then simply load the appropriate CSS based on language.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can you have JSF custom components in different OSGi bundles? Has anyone used OSGi and JSF together?
I ask because JSF uses class-loader magic to find custom components. From a tutorial (emphasis mine):
This configuration file will end up
being META-INF/faces-config.xml in the
.jar file that represents this
c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why do my XSL transformed links come out relative to the base? <a>
<xsl:attribute name="href">
<xsl:value-of select="link" />
</xsl:attribute>
<xsl:attribute name="target">new</xsl:attribute>
<xsl:value-of select="title" />
</a>
Thats my template, and in my code:
sb.Append("<title>");
sb.AppendFormat("{0} -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C++ "Named Parameter Idiom" vs. Boost::Parameter library I've looked at both the Named Parameter Idiom and the Boost::Parameter library. What advantages does each one have over the other? Is there a good reason to always choose one over the other, or might each of them be better than the other in some situations (an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Can't compile class calling a method in an interface with a generic list argument Just got a question about generics, why doesn't this compile when using a generic List? If its not possible, anyway around it? Much appreciate any answer.
// Interface used in the ServiceAsync inteface.
public interface BaseObject
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I use NLP to parse recipe ingredients? I need to parse recipe ingredients into amount, measurement, item, and description as applicable to the line, such as 1 cup flour, the peel of 2 lemons and 1 cup packed brown sugar etc. What would be the best way of doing this? I am interested in using python for the pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Stability of .NET serialization across different framework versions A project I'm working on requires serializing a data structure before shutting down and restores its state from this serialized data when it start up again.
Last year, we were building for .NET 1.1, and ran into a tricky issue where
*
*our code r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Does using "new" on a struct allocate it on the heap or stack? When you create an instance of a class with the new operator, memory gets allocated on the heap. When you create an instance of a struct with the new operator where does the memory get allocated, on the heap or on the stack ?
A: As with all value types,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "308"
} |
Q: Any way to ignore files coming from the repository for NTFS? Ok, so at some point in time, somebody checked in some files with names that require a case sensitive file system into the trunk of a repository that I constantly check out. This of course leads to my local working copy locking up when I try to check it o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Difference between jQuery selectors "ancestor descendant" and "parent > child" The following two forms of jQuery selectors seem to do the same thing:
*
*$("div > ul.posts")
*$("div ul.posts")
which is to select all the "ul" elements of class "posts" under "div" elements.
Is there any difference?
A: The first... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How do you determine if an interface is a physical LAN port on a Windows PC? I'm looking for a method to acurately determine if an interface is the physical 802.3 ethernet port on a pc in windows.
Using ipconfig /all I can list all the interfaces, and when I do this on my pc several entries can be listed here includ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: acts as taggable with merb? Is there a acts as taggable solution out there for merb users already?
A: dm-tags for Datamapper.
A: Looks like the answer to your question as asked is "No".
I did find this which at least shows some interest, but it's a few months old now with no apparent progress.
Maybe you could get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error Log information in VB Script while processing I am having an VBScript files which runs by many instance of jobs. I need to log the error information if any error occurs in the script processing. If i maintain a log file then how can i differentiate the log file for each instances (around 10 simultaneous instan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does instanceof return false for some literals? "foo" instanceof String //=> false
"foo" instanceof Object //=> false
true instanceof Boolean //=> false
true instanceof Object //=> false
false instanceof Boolean //=> false
false instanceof Object //=> false
12.21 instanceof Number //=> false
/foo/ instanceof R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "324"
} |
Q: How to join a thread that is hanging on blocking IO? I have a thread running in the background that is reading events from an input device in a blocking fashion, now when I exit the application I want to clean up the thread properly, but I can't just run a pthread_join() because the thread would never exit due to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: How do I debug javascript in visual studio when an asp.net application is run under firefox? How to debug javascript in visual studio when an asp.net application is run under mozilla firefox browser? IE supports by enabling javascript debug option .
A: At the moment, there is no Firefox extension that allows you to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Receive socket size limits good? I am writing a program in Python that will act as a server and accept data from a client, is it a good idea to impose a hard limit as to the amount of data, if so why?
More info:
So certain chat programs limit the amount of text one can send per send (i.e. per time user presses send)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/203758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |