text stringlengths 8 267k | meta dict |
|---|---|
Q: Why can't I find Perl modules after upgrading to Intrepid Ibex Ubuntu? I upgraded to Ubuntu Intrepid Ibex yesterday and suddenly some of the Perl modules that I installed (on the Hardy Heron) have all gone missing!
I get the usual "Can't locate module in @INC" error. Has any of the CPAN repositories changed or somet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: MS Velocity vs Memcached for Windows? I've been paying some attention to Microsoft's fairly recent promoting of Velocity as a distributed caching solution that would compete with the likes of Memcached.
I've been looking for a 64bit version of Memcached for Windows for some time now with no luck, and since everythin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Anyone used mantis connect to submit a issue with an attachment? I'm having troubles adding an attachment to the mantis using mantis connect. I can attach a file to the issue, but when i download for instance an image, it always gives me an error when I try to open the image.
I've many ways of reading the file to an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sum IIF Expression Im trying to sum an expression in visual studio and just keep getting an #error but not sure why as this si the first time i have tried to sum an expression, only ever done it on a single field before. Any Suggestions!!!
=IIf(Fields!STATUS.value = "Completed" AND Fields!DONOTINVOICE.value = True,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does it exist an API for "International Settings" in Visual Studio? I'm working on Visual Studio Extensibility and I need to set the "shell" language from code. In other words, I'm looking for an API to do the same you can do "by hand" with the Tools -> Options... -> Environment -> International Settings property pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any system level background queue process in iPhone? I need to save a big file, sometime it takes a very long time to finish, user might just close the application. I am wondering whether the iPhone SDK could take over the unfinished big task.
Appears iPhone's own mail system could do background send. I p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Making winform switch tabs I'm making a winform in C# using Visual Studio 2008.
Currently, I have a tabcontrol, containing 2 tabs.
In the first the, there is a button. When I click it, I must be taken to the second tab.
Problem is, I don't know how. I've tried debugging, looking into al kinds of Properties and messi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Java Validation Frameworks I once came across a validation framework for java, where you wrote one method that protected the integrity of the data-type and any CRUD operations on that data-type automatically called this method.
Does anyone know what this framework is? I simply want to avoid repetitive validation on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Sending data between an asp.net page and a pop up page? What are the different ways of communication between asp.net page and a popup page? Query strings etc. Which is most secure?
A: If you are talking about an actual pop-up page, where you are using window.open from javascript. You have the querystring and Javas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Port of Random generator from C to Java? George Marsaglia has written an excellent random number generator that is extremely fast, simple, and has a much higher period than the Mersenne Twister. Here is the code with a description:
good C random number generator
I wanted to port the CMWC4096 code to Java, but it use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Make a call to a external mvc controller I want to know if its possible and how to do the following , i have a basic MVC application (ASP.Net) that i have modified to work for me. Now the application already handles authentication perfectly fine but i need to use this authentication in another app.
Without creating ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL Server Authentication or Integrated Security? We have some corporate intranet users using a WinForms app to work on a system with SQL server behind. Integrated Security is setup, allowing all users update and delete permissions, where application security limits how and where table updates take place.
However, s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: hardware infrastructure for public web application I'd like to start a free budget/personal finance site and will need plenty of horsepower and storage. I'm definitely a nubee, so how does one get started in terms of hardware infrastructure? Do I need to get a dedicated IP from my ISP and obtain my own servers? D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How could I create a list in c++? How can I create a list in C++? I need it to create a linked list. How would I go about doing that? Are there good tutorials or examples I could follow?
A: I take it that you know that C++ already has a linked list class, and you want to implement your own because you want to lea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: What is the best method to find the newest last modified time of a folder of files? I have a folder with subfolders of files. I would like to get the newest filename by modified time. Is there a more efficient way of finding this short of looping through each folder and file to find it?
A: depends on how you wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the "Task group" field in a SharePoint Task list for? Could someone tell me how the field "Task Group" is used in standard SharePoint Task Lists?
A: I believe it to be a "support" type column. It doesn't really get shown anywhere by default but it's filtered against during the usage of one type of view.
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Loading HTML controls from JSON in jQuery (that is, reverse of Ajax serialiseArray) I would like to take a set of controls (INPUT, SELECT, TEXTAREA) which are contained within a DIV and send their values as JSON via Ajax to a server. This is easy enough with jQuery's serializeArray.
However I then want the server t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Turn off screensaver while openmoko app is running In openmoko (stable hybrid release, SHR), how do you programatically turn-off the screensaver (the dimmed/blank screen after a few seconds of inactivity) just while your app is running?
A: In X, you can run
xset s off
to turn off the screensaver. Similarly gnome/f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Taking contact list from hotmail gmail yahoo in java? most of social networks does this. when you register one of them for example twitter it says why dont you invite your friends from hotmail or yahoo or gmail. and expect us to give our credentials and send those mails. I want to implement same feature in java.
I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Writing to the Event Log in Delphi How can I get an application to write debug text to the Event Log window in the Delphi IDE (Borland Developer Studio 2006)?
How does one change the color of the text?
A: Yes, you can use OutputDebugString.
If you want get more powerful features for controlling and managing debug o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: foreach in ASP.net with nested runat="server" For the following code:
<% foreach (Entities.Core.Location loc in locations){ %>
<div class="place_meta">
<img src="~/static/images/stars/star_25_sml.gif" runat="server" class="star_rating"/>
</div>
<% }; %>
I would like to display the star rating image for each locatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: XSLT Transformation Problem with disable output escaping I have an xml in which i have stored some html under comments like this
<root>
<node>
<!--
<a href="mailto:some@one.com"> Mail me </a>
-->
</node>
</root>
now in my Transform Xslt code of mine i am giving XPathNavigator which is p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you change the ListTemplateID of an existing SharePoint list? I have several lists in a sitecollection that are currently using ListTemplateID 101 (DocumentLibary). I want to attach an eventhandler to these lists, but if I attach the event to list 101 all of the document libaries in the sitecollection will g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RhinoCommons UnitOfWork Question with ASP.Net MVC I'm playing around with RhinoCommons and NHibernate and I had a question about the UnitOfWork pattern.
Sorry if this is a n00b question.
Should the UnitOfWork be started at the very highest level (ie the controller)? Or say in the service module that the controller i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Physically Separating Secure and Non Secure Web Requests We have been doing some research into physically isolating the secure and non-secure sections of our web application into two applications. All "http" requests would be served by one server (or cluster) and all "https" requests would be served by another serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: incrementing array value with each button press? I am building a calculator in C#.
I am not sure what the best way is to have it increment a number in an array every time the button is pressed. Here is one of my current button event handler methods:
//Assign button '2' to 2 with array address of 1
private v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change string data with a mass update? I have a table (T1) in t-sql with a column (C1) that contains almost 30,000 rows of data.
Each column contains values like MSA123, MSA245, MSA299, etc. I need to run an update script so the MSA part of the string changes to CMA. How can I do this?
A: update t1
set c1 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/397998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Handling database exceptions in .net When we can catch an exception like: Violation of UNIQUE KEY constraint 'IX_Product'. Cannot insert duplicate key in object 'Product'. (2627).
The challenge is how to dechiper the Index Name IX_Product as a Member (i.e. I don't want to substring out the message). There could b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Do you write your unit tests before or after coding a piece of functionality? I was wondering when most people wrote their unit tests, if at all. I usually write tests after writing my initial code to make sure it works like its supposed to. I then fix what is broken.
I have been pretty successful with this meth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Deny access to .svn folders on Apache We have a rails application in subversion that we deploy with Capistrano but have noticed that we can access the files in '/.svn', which presents a security concern.
I wanted to know what the best way to do this. A few ideas:
*
*Global Apache configuration to deny access
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: Linking a Bundle Target to a Command-Line Target in Xcode I have a project in Xcode that contains multiple targets. One of these builds a sync schema bundle, and another one builds a Foundation command-line tool that initiates a sync session using the schema defined in the bundle.
The schema bundle template creates ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing HTML Elements in ASP.NET I want to change the text of a radio button (HTML element), not an ASP.NET component.
How can I change it from ASP.NET?
A: You would need to add a runat="server" attribute to the HTML for that element.
<input type="radio" id="someRadioId" value="bleh" runat="server">
This will al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Performance Testing for Classic ASP pages? I would like to know how to do performance testing for the old asp pages. Any tools out there that you've used?
A: PS: I'm assuming by old ASP you are referring to "Classic ASP" not ASP.NET.
Here's a little piece of VBScript code I would put on pages to figure out how long... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to programmatically bring a laptop into Sleep mode What API or tools can I use to query the capabilities of the system and choose the most appropriate on for putting the PC to Sleep, Hibernate or shutdown mode?
Thanks for any pointers.
A: You could use the API:
Declare Function SetSuspendState Lib "PowrProf" (B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: ASP.NET Web Site or ASP.NET Web Application? When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site.
What is the difference between ASP.NET Web Application and ASP.NET Web Site? Why would I choose one over other?
Is the answer different based ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "880"
} |
Q: Web desktops - do you find it interesting? As a win32 developer moving into web deveopment the last few years, I found the
web desktops based on extjs very interesting.
Coolite Desktop (broken)
Extjs Desktop
Puppy Web Desktop
Wikipedia list
Lifehack list
Windows 3.1 desktop (broken)
Do you know about others?
Withou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to effectively filter listboxes based on multiple listboxes and combinations? I have an aspx page with 5 listboxes. Each listbox can filter the other one, so if the user selects an item in listbox 1, listbox 2, 3, 4, and 5 should be filtered. If the user selects an item in listbox 3, listbox 1, 2, 4, and 5 sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: A Social Software reading digest: What goes in? Although I'm a programmer looking to explore social software patterns, I'm also interested in their psychological and sociological origins.
My proposed format is to limit each reply to ONE reading with a short summary of why it's important.
The idea is that we will the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: IE 302 Redirect No-Cache Header Problem A 302 Redirect is being returned after a post of information. This redirect is intended to reload the current page.
This all works fine, but IE adds No-Cache to the header:
Cache-Control: no-cache
We are using Squid to cache our content, and putting this in the header bypasse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Static member variable in template, with multiple dlls My code is built to multiple .dll files, and I have a template class that has a static member variable.
I want the same instance of this static member variable to be available in all dlls, but it doesn't work: I see different instance (different value) in each o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: What is the appropriate way to embed potentially non-well-formed html in an xml document? The marketing people want to have the ability to write direct inline HTML in the (xml based) CMS. xhtml compliance and the like potentially goes down the drain, but they're the boss(es). The CMS uses a regular xml/xslt transfor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Java/JRuby on Rails vs .NET 3.5... feel like I'm doing it wrong I'm planning to develop a web-services (SOAP to C++ client) in Java with Metro/Hibernate and front it up with a web-site written in JRuby on Rails, connecting Java modules through JRuby and generally through a database. I already wrote some code and se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Link gridviews for paging? I implemented HectorMac's Suggestion, https://stackoverflow.com/questions/254075/aspnet-grid-with-frozen-columns , but i have paging enabled since I have many records... I wanted to know if anyone has, or can guide me how I might link the two gridviews, so when I advance the page on one gr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Selecting "Window" Around Particular Row It's quite possible a question like this has been asked before, but I can't think of the terms to search for.
I'm working on a photo gallery application, and want to display 9 thumbnails showing the context of the current photo being shown (in a 3x3 grid with the current ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to modify page URL in Google Analytics How can you modify the URL for the current page that gets passed to Google Analytics?
(I need to strip the extensions from certain pages because for different cases a page can be requested with or without it and GA sees this as two different pages.)
For example, if the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Javascript that detects Firebug? What's a surefire way of detecting whether a user has Firebug enabled?
A: As of Firebug version 1.9.0, console.firebug is no longer defined because of privacy concerns; see release notes, bug report. This breaks the above mentioned methods. Indeed, it changes the answer to Allan's q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "68"
} |
Q: Expression.AddChecked and System.Int16 Given two shorts (System.Int16)
short left = short.MaxValue;
short right = 1;
I want to get an OverflowException when adding them.
checked(left+right)
does not work, because the result of left+right is an Int32.
checked((short)(left+right))
works as expected.
My problem is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What are the advantages of using an ORM? As a web developer looking to move from hand-coded PHP sites to framework-based sites, I have seen a lot of discussion about the advantages of one ORM over another. It seems to be useful for projects of a certain (?) size, and even more important for enterprise-level applicat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Document management under Linux after years navigating seas of unorganized documents, I'm starting to look for a cheap/free way to classify our work docs structurally, in order to tidy things up and to better enforce the workflow.. So I'd like to be able to tag documents according to project, customer, components us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Best practice to do nested TRY / FINALLY statement Hi What is the best way to do nested try & finally statements in delphi?
var cds1 : TClientDataSet;
cds2 : TClientDataSet;
cds3 : TClientDataSet;
cds4 : TClientDataSet;
begin
cds1 := TClientDataSet.Create(application );
try
cds2 := ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Gracefully handling booking at same time and day Lets imagine I have the same database schema as here: http://www.databaseanswers.org/data_models/driving_school/index.htm
If a customer makes a booking and it is in the same day and time as another booking, how can I gracefully handle this business problem? Furthermor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get a DateTime duration? I'm baffled how to do this.
I need to take a datetime object and get the duration in hours, days, whatever, to the current time.
Thank you.
A: Getting the duration in seconds is easy:
>> foo = Time.new
=> Mon Dec 29 18:23:51 +0100 2008
>> bar = Time.new
=> Mon Dec 29 18:23:56 +0100 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Looking for a google-analytics-style map creating app or api I am looking for a google-analytics-style map creating app or api based on visitor IP addresses, any suggestions?
thanks,
nicoperez
A: Did you take a look at the Google Visualization API? Specifically, the intensity map and the geomap.
A: I know there a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ordering admin.ModelAdmin objects Let's say I have my pizza application with Topping and Pizza classes and they show in Django Admin like this:
PizzaApp
-
Toppings >>>>>>>>>> Add / Change
Pizzas >>>>>>>>>> Add / Change
But I want them like this:
PizzaApp
-
Pizzas >>>>>>>>>> Add / ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: Loading data into a Cocoa view before the application loads I want to load some data from mysql into my cocoa application view before the application starts.
I am sure that this should happen in the controller so that it can send the required data to the view.
I am looking for a method or common technique that is us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: DB Pro (data dude) and Wix3 SqlExtension I'm attempting to use Wix to create a database during install. I have my database setup with the Db Pro Visual Studio SKU (Data Dude as it's sometimes referred). However, the output seems to be only consumable by sqlcmd.exe since it uses specific syntax in it (variable refere... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change Assembly Version in a compiled .NET assembly Simple question... is there a way to change the Assembly Version of a compiled .NET assembly?
I'd actually be fine with a way to change the Assembly File Version.
A: Why do you want to do this? If it's so that another application can use it, you might want to look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: ListBox with overriden CreateParams doesn't raise item events I've created a custom ListBox like in here.
Thing is it doesn't raise any of the item specific events like DrawItem and SelectedIndexChanged.
Any idea why?
Thanks.
A: It worked just fine when I tried this code:
public partial class Form1 : Form {
M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Findbugs not finding potential SQL injection vulnerability I just installed the FindBugs plugin for Eclipse, with the hope that it will help me find SQL injection vulnerabilities in my code. However, it doesn't seem to be finding anything, even when I deliberately put some in.
In the following examples, assume st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SQL: Combine multiple dynamic resultsets in one stored procedure We're having a small issue and could use some help - we have the need to combine multiple resultsets from one stored procedure into one resultset (the limitation of our Java reporting framework). We've looked at Union, etc. but the problem is that the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MSSQL 2005 Fulltext search setup I'm beginning my foray into fulltext search for MSSQL2005. This is a new, in-dev database, so I can monkey around with it.
Let's say I have a "Form" table that has a one-to-many relationship to two other tables, "Answer" and "Comment." I want the user to be able to enter one search t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to update default value for "Title" field in "Document" content type or types inherited from it "Title" field is sealed. Any attempts to update the default value resets the value back to "null"
Thanks for your time.
Your idea of doing "RemoveFieldRef and FieldRef it right back in" would be the same as setting t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Git: Can't push from one computer One of my coworkers is having a problem pushing changes from git on his machine. If he logs into another machine, he can push just fine - but from his machine, when he tries to push he gets the following error
D:\Projects\test1\best-practices>git push
Counting objects: 4, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do you set different web.config default error pages based on website section using ASP.NET MVC I think this is pretty typical, you have the same website project with an "admin" section and a public facing section. In this website I want to configure the default errors, but I also want them to display in the corr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Should I use OODB for small applications? We looking to build an application to maintain meeting minutes and similar stuff using .net. I was thinking of using db4o or some OODB for this. Is it a bad idea? I am looking to simply create a repository of meeting minutes where users can perform lookups by date and little... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Actionscript 3.0, why is it missing good OOP elements? Anyone who has programmed with actionscript 3.0 has most certainly noticed its lack of support for private constructors and abstract classes. There are ways to work around these flaws, like throwing errors from methods which should be abstract, but these work ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Any information on a Turbo Delphi 2009 release? Individually, the Turbo Delphi releases and the new improvements added in Delphi 2009 are two of the best things that have happened to Delphi in a long time. But currently you can only get one or the other. Does anyone know if Embarcadero has any plans to release a T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Proper usage of array as field member in VB 2005 I normally use C# and I'm attempting to convert a qbasic programmer to the joys of object oriented programming by easing him into VB 2005.
Below is a extremely simplified version of what I'm trying to accomplish. It successfully compiles, but all members in the array... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I set the schema name used by hibernate entities at query time? Our application uses Hibernate for ORM, and stores data in several schemas, accessing them with a user whose grants are customized for the application.
The schema names are determined at runtime based on data; it's not feasible to include their ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Displaying code snippets in Sharepoint wiki Is there a way to get SharePoint to display code snippets in a pre-formatted way?
Currently if you insert any code, it just looks exactly like the rest of the text. Anything would be better than nothing.
A: I found hilite.me which produces html styled code which you can i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: How do YOU manage Perl modules when using a package manager? A recent question here on SO got me thinking.
On most Linux distributions that I tried, some Perl modules would be available through the package manager. Others, of course, not. For quite a while I would use my package manager whenever I needed to install ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: How do I make my Apache 2 server force a browser to open a file transfer dialogue? How do I make my Apache 2 server force a browser to open a file transfer dialogue if the URL points to a file with a .pln or .psa extension?
I have a simple LAMP server with CentOS 5, Apache 2, MySQL 5, PHP 5, recently built CentOS 5.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to mix colors "naturally" with C#? I have to mix some colors in a natural way. This means
blue + yellow = green
blue + red = purple
And so on. I got the colors as RGB-Values. When I try to mix them I got the right "RGB"-results like
green + red = yellow
yellow + blue = white
But not the right "natural-wet-pai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: ASP.NET 2.0: Specifying an instance of an object for an ObjectDataSource I'm using an ObjectDataSource to bind data to a GridView; it works fine except that it always creates a new object to use as a data source. I can do all the setup just fine but I cannot use an instance of an existing object to specify as the "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Generating Powerpoint PPT with ColdFusion? Does anyone know if it's possible to generate powerpoint ppts within ColdFusion? I can't rely on the approach of installing a copy of office and generate one through COM and I can't use ooxml since my client is still in the office 2003 era. Any suggestion is much appreciat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to use the CSV MIME-type? In a web application I am working on, the user can click on a link to a CSV file. There is no header set for the mime-type, so the browser just renders it as text. I would like for this file to be sent as a .csv file, so the user can directly open it with calc, excel, gnumeric, etc. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "128"
} |
Q: Update JavaFX window from a java based object I am in the process of learning JavaFX and I am looking for a tutorial about updating a JavaFX display with a java object. For example, receive status updates @ 1hz from a server and display them on the fx window. Is this possible? If so, are there any tutorials?
Than... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Safari 3.2.1 sends POST followed by GET requests I've a servlet running on Tomcat 5.5.27 and 5.5.26 and have a web form with POST method.
If I use Safari 3.2.1 I see from the logs that Tomcat receives a POST followed immediately/contemporarily by GET and it fails.
If I use Firefox 3.0.5 I see that it sends only POST... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: LaTeX help with href I am trying to create a hyperlink using LaTeX. When I use the command pdflatex to compile the file, I get an error.
The relevant lines of the document are:
\documentclass[12pt]{article}
\usepackage{hyperref}
\begin{document}
...
\href{http://www.cs.utah.edu/dept/old/texinfo/as/gprof_toc.html}{gp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Crystal reports 11: How to handle or trim special characters In my crystal report, I noticed one of the fields being pulled from a table has special characters. More specifically carriage returns and tabs. Is there a way to strip this out, so it doesn't show up blank in my reports?
Thanks in advance.
A: This shou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What's the difference between System.Web.UI.HtmlControls and System.Web.UI.WebControls I am comparing the two base classes of each namespace and am a bit confused.
System.Web.UI.WebControls.WebControl
System.Web.UI.HtmlControls.HtmlControl
I see small difference between the two. For instance, HtmlControl has much f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Where to do Conversions - Time zones, unit of measure etc Where in code should conversions be done? client, server, business, or db?
We currently do conversions of timezones and unit of measure in our database and the performance is killing us and would like to move the logic. Where do you think the best location fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Using amfphp with Flash CS3 and AS2 All,
I've starting experimenting with amfphp. I've gone through a few great tutorials (particularly those by Lee Brimlow at gotoandlearn.com).
As long as you're using AS3, it works great, since AS3 includes the built-in NetConnection class.
However, I'm looking to use amfphp on a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is a good data structure for cascading objects? I have wondered what type of data structures and design patterns are used when implementing something like CSS where you can specify formatting or some other property at different levels of granularity.
One specific example that I am working on at the moment relat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Looping in a spiral A friend was in need of an algorithm that would let him loop through the elements of an NxM matrix (N and M are odd). I came up with a solution, but I wanted to see if my fellow SO'ers could come up with a better solution.
I'm posting my solution as an answer to this question.
Example Output:
For... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "177"
} |
Q: File upload on load balanced server I have a web project that I developed where one of the main functions is uploading files.
All the permissions are based on Windows Authentication. When I first created the project, I didn't realize that it would be on a load balanced server. Now it's in the environment with the l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to chop a string to substrings of given length I have string that I want to chop to array of substrings of given length n. I am not interested in remainder (if length of string cannot be divided by n without remainder)
let ChopString (myString : string) n =
let res =
seq{
for i = 0 to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating ADO.NET mapping for custom type I have a custom type that I created, which should be persisted in a database (in this case, SQL server) as a guid (though this question is just as valid for an object that could be stored as a string, integer, etc).
When I pass this type as a parameter to a DbCommand object,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What backup strategy do you use for your code? Everyone uses source-code control to manage versions (right?) and this provides some level of backup. There are times, however, when your local copy is out of sync with the repository. Moreover, some sandbox-type projects may not have yet ;-) made it into SCC.
EDIT: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Header page in PHP that takes the application directory into account I am crash-learning PHP for a project, and I have a ton of stupid questions to make. The first is the following. I have a structure like this:
*
*index.php
*header.php
*images/
*data
*
*data.php
Now, the problem is that I want to incl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best commandline time tracking application? I'm looking for something that runs in a terminal and allows me to track time. I'd like it to be open source but that isn't necessary.
Most time tracking apps I've found are either web or gui based and there for take longer to enter data then I'd like.
A: You could use w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: What's the best way to generate environment-specific files for a Rails project? I have some settings I need in a Javascript file -- servers to connect to -- that changes based on my environment. For development, test, and staging, I want to use the staging servers; for production, the production servers. I already... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Call a server side method using __DoPostBack by the name of the method i want to call a server side method using __DoPostBack and generating the HTML, but i dont want a hidden ASP runat server control in my page its possible to call a server side method by its name not by the name of the control that trigger it ??
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does Silverlight support StringFormat in binding? I know that WPF 3.5 SP1 supports a StringFormat in a binding, but can Silverlight do the same? I thought it could, but damned if I can make it work!
Here's a snippet of my XAML:
<TextBlock Text="{Binding StartTime, StringFormat=t}" />
It compiles OK, but I get a run... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: SQL Server: preserve calculated fields with a SELECT INTO My company performed a data migration recently (in a SQL Server 2005 database) and we noticed that some tables created with SELECT INTO didn't maintained the calculated fields of the original tables, but instead SQL Server created regular fields with the type... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get last 10 lines of very large text file > 10GB What is the most efficient way to display the last 10 lines of a very large text file (this particular file is over 10GB). I was thinking of just writing a simple C# app but I'm not sure how to do this effectively.
A: Read to the end of the file, then seek backwards ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "72"
} |
Q: upload with bandwidth throttling in c# am trying to move files from local machines to a remote server. Trying to see if there is a better way then BITS to upload files with bandwidth throttling in c#
A: Have you looked at this article?
Use a codeproject class called ThrottledStream.
Bandwidth throttling in C#
| {
"language": "en",
"url": "https://stackoverflow.com/questions/398383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Proxy Script I'm writing a simple python script so I can test my websites from a different ip address.
The url of a page is given in the querystring, the script fetches the page and displays it to the user. The code below is used to rewrite the tags that contain urls but I don't think it's complete/totally co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert bitmaps to one multipage TIFF image in .NET 2.0 How can i convert an array of bitmaps into a brand new image of TIFF format, adding all the bitmaps as frames in this new tiff image?
using .NET 2.0.
A: Start with the first bitmap by putting it into an Image object
Bitmap bitmap = (Bitmap)Image.FromFile(file)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: Why is the asterisk before the variable name, rather than after the type? Why do most C programmers name variables like this:
int *myVariable;
rather than like this:
int* myVariable;
Both are valid. It seems to me that the asterisk is a part of the type, not a part of the variable name. Can anyone explain this log... | {
"language": "en",
"url": "https://stackoverflow.com/questions/398395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "249"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.