text stringlengths 8 267k | meta dict |
|---|---|
Q: best practices in mercurial: branch vs. clone, and partial merges? ...so I've gotten used to the simple stuff with Mercurial (add, commit, diff) and found out about the .hgignore file (yay!) and have gotten the hang of creating and switching between branches (branch, update -C).
I have two major questions though:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "74"
} |
Q: Processing incoming email How do I programmatically read an incoming email with .NET. I need a method to take the content of email message (in this case XML) on a POP server and read it into my application.
Ideally this could be solved by:
*
*.NET code that I can run as a
background task on my webserver to
proce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Interpreting assembly code Any assembly interpreters out there?
What I'm looking for:
*
*I have some assembly firmware code I want to run, but not on the actual hardware.
*I would like to run the code and see what it is doing.
So, is there some sort of free and easy to use assembly simulator out there?
Any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Linq to Sql Deferred Loading If you do not plan to use lazy loading, should deferred loading be explicity set to false within a "using" block? It seems to me that child objects are being loaded by dataContext within the block.
A: If you don't want any lazy loading at all you can turn it off by modifying the propert... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to prevent orphaned records in detail tables of normalized database? I have to maintain an old database which is not properly normalized. For instance there is a project table that has grown (or maybe mushroomed) to have 5 or more different date columns, for different milestones of the project from being ordered... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can not open linq-to-sql designer I was able to use linq-to-sql, now suddenly it stopped working. When double clicking dbml file, it says:
"there is not editor for "...my.dbml" , make sure the application for
the file type(.dbml) is installed.
I tried to devenv /resetsettings, it does not help. So I repair/reins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SSRS Report Builder 2.0 - Use with SQL 2005 I'm starting to look into SSRS Report Builder 2.0, and I see in the documentation that it supports connections to SQL 2005.
Does anyone know if the reports made against SQL 2005 can then be upload to the SSRS 2005 website and ran from the site? Or, can they only be run fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there a PostgreSQL equivalent to Oracle's analytics? On another thread I saw a answer to a sql problem using Oracle's analytics. Is there a equivalent in PostgreSQL or generic SQL?
A: Alas.. and it sounds like they won't be in Postgres 8.4, either. They are under development, though.
Some useful functions can be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why is IEnumerable.Count() capped at 200? Is there a limit to the rows that IEnumerable.Count() (or IQueryable.Count()) using LINQ to SQL? For whatever reason, if my query returns more than 200 records, I only get 200 from IEnumerable.Count(). I've even tried using IEnumerable.LongCount() (even though the number o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to format a DateTime like "Oct. 10, 2008 10:43am CST" in C# Is there a clean way to format a DateTime value as "Oct. 10, 2008 10:43am CST".
I need it with the proper abbreviations and the "am" (or "pm") in lower case etc etc.
I've done it myself but it's ugly so I'm looking for a different take on it.
Thanks.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Searching for a particular parent at a particular level If you have a recursive structure, say, child tables located inside td cells of parent tables, how best to traverse/select a particular parent table? For example, what if you wanted to find the next table up, or the 2nd table up?
One way might be to put somet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Registry values in a different language I have an application that requires .Net. I have found out how to check registry values to see if .Net is installed and whether or not it is the proper version.
What I want to know is this: Will registry values change based on the Language setting of the OS. That is, if someo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Libraries for Choosing Color? Do any open source libraries exist for programatically selecting and rating the compatibility of sets of colors using color theory?
It would be very useful to be able to select color palettes based on simple color harmony rules like complimentary, analogous, triadic, and tetradic colors... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's the difference between an object and a class in Perl? I'm having a little trouble getting my head around the conceptual difference between an object and a class. I don't really understand the distinction between the two in any programming language, but currently I'm working with Perl, and Moose, so I'd pref... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Keep indentation of wrapped lines in Visual Studio 2008 In Visual Studio 2008, is there a way to keep the indentation of automatically wrapped long lines? (Only need it for C#.)
When word wrap is turned on, it looks like this:
var a = SomeFunctionOrWhateverWithSuperLongName(parameter1,
parameter2);
I want ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Parsing an Int from a string in javascript In javascript, what is the best way to parse an INT from a string which starts with a letter (such as "test[123]")? I need something that will work for the example below.
My JS:
$(document).ready(function() {
$(':input').change( function() {
id = parseInt($(th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Convert System::DateTime to _timeb I have a legacy C++-based application that timestamps incoming network traffic using the CRT _ftime() function. The _ftime() function returns a _timeb structure, which has a 32-bit and a 64-bit implementation. We are using the 32-bit implementation, which looks like this:
struct ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do emulators work and how are they written? How do emulators work? When I see NES/SNES or C64 emulators, it astounds me.
Do you have to emulate the processor of those machines by interpreting its particular assembly instructions? What else goes into it? How are they typically designed?
Can you give any advice... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "966"
} |
Q: Why should you use an ORM? If you are motivate to the "pros" of an ORM and why would you use an ORM to management/client, what are those reasons would be?
Try and keep one reason per answer so that we can see which one gets voted up as the best reason.
A: The most important reason to use an ORM is so that you can h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "131"
} |
Q: Reporting an error from a POST Web Service I'm developing a web service (in asp.net) and I would like to have each web method report to whoever called it when an internal error occurs - for example when input validation has failed.
When I expose my web service with SOAP such errors can be reported by raising a Soap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Closest match for Full Text Search I am trying to implement an internal search for my website that can point users in the right direction in case the mistype a word, something like the did you mean : in google search.
Does anybody have an idea how such a search can be done? How can we establish the relevance of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: When should EnableViewState be enabled on a server control? Is there any guideline or rule for when the view state should be enabled on a server control? And when it should not?
I was looking at this SqlDatasource example and noticed that the view state for the label control is not enabled:
<asp:Label ID="ErrorMessa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: What is the LINQ to XML equivalent for this XPath I wondering what the "best practice" way (in C#) is to implement this xpath query with LINQ:
/topNode/middleNode[@filteringAttribute='filterValue']/penultimateNode[@anotherFilterAttribute='somethingElse']/nodesIWantReturned
I would like an IEnumerable list of the 'n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I speed up or slow down a background music track with iPhone SDK? Is there an easy way to control the playback speed/tempo of a sound file loop played using Audio Queue Services? For example, if a game is playing background music, I want to make the BGM speed up as time runs out, but without changing the pi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Accurate Windows timer? System.Timers.Timer() is limited to 15 msec I need an accurate timer to interface a Windows application to a piece of lab equipment.
I used System.Timers.Timer() to create a timer that ticks every 10 msec, but this clock runs slow. For example 1000 ticks with an interval of 10 msec should ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a way to get LaTeX to place figures in the same page as a reference to that figure? I am using LaTeX and the figure environment.
I am well familiar with the parameters to that environment: [htbp], and I am also generally familiar with the strategies that LaTeX takes, by default, to decide where to put each ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: How can I test a SWF URL before Loading Styles From if (or catching the error)? I am trying to use the following code to load styles from an external SWF, but I keep getting an ActionScript error when the URL is invalid:
Error: Unable to load style(Error #2036: Load Never Completed. URL: http://localhost/css/styles.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Castle-Windsor Fluent Interface: How to register all implementations of all interfaces? I have two assemblies EDC2.DAL and EDC2 where EDC2.DaoInterfaces defines a bunch of interfaces for data access objects to objects in the EDC2.Domain namespace. These are all implemented by classes in EDC2.DAL.
So to give an exam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How does an Amazon EC2 instance select its kernel? I have an Amazon EC2 instance using the Amazon-supplied Fedora 8 64-bit AMI, which I would like to upgrade to Fedora 10.
I tried doing this by running "yum update" to upgrade the kernel and all packages. This seemed to work fine and I see that I now have the fc10 k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: What is the upgrade path for taking Ubuntu 6.06 LTS Server to Ubuntu 8.10 Desktop? My development team uses a Ubuntu 6.06 LTS Server VMware image as our development environment. It has our development stack on it. I would like to upgrade that to Ubuntu 8.10 Desktop (Note: Desktop, not Server) . . . while not break... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Calculate total CPU usage What is best algorithm for calculating total CPU usage at a particular time during execution of a process.
I am working windows platform in C++.
A: GetProcessTimes for 100-nanosecond resolution. If you want cycle times, use QueryProcessCycleTime in Vista and above.
A: Intel VTune is a gre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Oracle 9i: Supposedly missing right parenthesis I have a simple function written in Oracle 9i (version 9.2.0.4.0) to simulate an in-line IF. For those interested, here's the code:
create or replace
FUNCTION IIF
(testExpression NUMBER,
trueResult NUMBER,
falseResult NUMBER)
RETURN NUMBER
AS
BEGIN
/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Quickest way to build a bunch of DLL files with the same settings in VS 2008 I'm currently porting a POSIX C++ application to run on Windows without Cygwin or anything. No problem so far. Now, the application (ZNC, an IRC bouncer, in case you're interested) supports loading modules from .so shared library files on L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Highlighting search terms in an MS Word document We have a project where we need to provide search over a collection of Word documents through a web-based interface. The client would like for the search terms to be highlighted when a user opens a document.
Is there a way to do this directly in Word when opening a do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JScrollPane now showing its viewport I am making an application with Java Swing and i have a problem. I have made a Tabbed Panel, which need to hold a simple panel, and a scroll-panel. The simple panel is working fine but in my scroll-panel i can only see the scrollbars, but not the viewport, my code is as follows:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I retrieve number of users connected on IIS at any point? I want to know how many users are connected to the IIS web server at any point on a simple .net page. Is there a way using a native .net class in 3.5 that will tell me this information? I want to create a simple web page that will give me the total num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I create a webpage with buttons that invoke various Python scripts on the system serving the webpage? I'm a hobbyist (and fairly new) programmer who has written several useful (to me) scripts in python to handle various system automation tasks that involve copying, renaming, and downloading files amongst othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: Does the controller handle all interaction with the model in MVC? I'm creating a pacman game using the MVC pattern. According to this diagram on wikipedia the model and the view interact.
"Note: the solid lines indicate a direct association, and the dashed lines indicate an indirect association"
Now from my underst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replace particular text after the page is loaded with jquery Is it possible to replace exact text with other text after the page has loaded with jquery?
For example, my data is being generated dynamically within a php loop. Once it finishes outputting the information, I'd like to do a find and replace, replacing th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Variable Sized Arrays vs calloc in C On the discussion of dynamic memory here: "Intro to C Pointers and Dynamic Memory"
The author states:
A memory block like this can effectively be used as a more flexible array. This approach is actually much more common in real-world C programs. It's also more predictable and fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Free / OpenSource Java Rules / Workflow engine I am looking for a Java Rules / Workflow engine. Something similar to Microsoft Workflow Engine.
Can someone recommend a product?
A: Here is a rundown of many open-source Java rules engines including the usual suspects like Drools, etc.
A: *
*jBPM: aimed at business ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: DataGridView: Which Event do I need? I have the DGV bound to data and all the other controls properly. What I am trying to do now is update a PictureBox based on the contents of the data row. The picture is not a part of the bound data, its always available on the web. I have a function that will build the url strin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I best parse this comma delimited text file? I am trying to figure out the best way to parse this comma delimited text file. Here is an excerpt:
bldgA, fred, lunch
bldgA, sally, supper
bldgB, bob, parking lot
bldgB, frank, rooftop
...
What I am trying to do is read "bldgA" and then I want the person (2nd co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting weird exception creating anonymous type after recreating Linq to SQL dbml (Or possibly after moving to .NET 3.5 SP1 We moved the .dbml file out of the website and into another assembly so it could be shared across multiple applications. The problem is that now I'm getting an error that doesn't make any sens... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: web (non?)streaming audio solutions? I want to embed multiple audio to my site. I want the file to load but not play until the user hits the button. I also want the ablity to jump to places not yet loaded like youtube does. It would be great if i can play ogg, aac, mp4, etc but i dont expect that would be possible s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I add a language keyword in Boo to let 'when' behave as an 'if' I cannot seem to figure out how I can add the 'when' keyword to BOO which should behave as an 'if'. I figure I could make a method, but then I cannot move the when around like I can with if. Any pointers would be appreciated.
-Mark
A: This would... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What are some good examples of JQuery using JSONP talking to .net? As the question says, what are some good examples (or just examples really), of Jquery using JSONP to talk to a .net page or webservice?
I'm attempting to write a page which uses JQuery to call another website (Thus I need to use JSONP) which hosts ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Run CGI application without redirecting from HTML I have an html page populated from a cgi app. Right now when I make a change on my html page through a form
<form action="/cgi-bin/Lib.exe" method=POST name="checks" ID="Form2">
It takes me from
http://localhost/index.html
to
http://localhost/cgi-bin/Lib.exe
where... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Linq for ObjectDataSource: How to transform datetime using ToShortTimeString? I am accessing a business class using an ObjectDataSource and trying to produce output that makes sense to the user. The return values describe a Class (as in Classroom and teaching, not software). I would like to show the time of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What are good APIs or search method for tagging objects into categories and searching them? i want to tag many user created content and have multiple types of categories (project tags, desc tag, style/inspiration tag etc). I seen horrible search engines where the more words you use the worse your result is and i don... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Choosing a simple web application framework I'm evaluating web application frameworks for a hobby project I'm starting, and am beginning to go crazy trying to decide among the vast number of frameworks available to choose. The framework language isn't helping me filter out frameworks as I have varying levels of expe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What is the difference between the GNU Makefile variable assignments =, ?=, := and +=? Can anybody give a clear explanation of how variable assignment really works in Makefiles.
What is the difference between :
VARIABLE = value
VARIABLE ?= value
VARIABLE := value
VARIABLE += value
I have read the section in GN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "931"
} |
Q: How to expand a PowerShell array when passing it to a function I have two PowerShell functions, the first of which invokes the second. They both take N arguments, and one of them is defined to simply add a flag and invoke the other. Here are example definitions:
function inner
{
foreach( $arg in $args )
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Zend Framework: Is there a way to get the path to the view template directory? I'm just trying to find a way to get the path to the directory of my view templates using the Zend Framework. Is there a way to do that?
A: You can use getScriptPaths() function so from a view you could write:
print_r($this->getScriptPat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why can't I find System.Text.RegularExpressions when using Mono in Linux? I'm attempting to use Mono and Monodevelop (the IDE) to code a C# project in Ubuntu.
Everything is working apart from the fact that the System.Text.RegularExpressions (Package?) is not found. The only relevant thing I have found on the interw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How can I remove a commit on GitHub? I "accidentally" pushed a commit to GitHub.
Is it possible to remove this commit?
I want to revert my GitHub repository as it was before this commit.
A: In case you like to keep the commit changes after deletion:
Note that this solution works if the commit to be removed is the l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1966"
} |
Q: Is there a way to write asp.net web service so they are easier to convert to WCF? For example, I know that the WCF style web services don't rely so much on Session/Application/Request/Response as web services did. Are there any other gotchas I should keep in mind when writing web services today with the intention of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When debugging on WinCE, how can I set Visual Studio to always load symbol files it knows about? I'm debugging a WinCE, C++ program in Visual Studio across an ActiveSync connection. Every time I start the process it fails to load symbol information. However, if I right click on the module and hit 'Load Symbols' it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C non-blocking keyboard input I'm trying to write a program in C (on Linux) that loops until the user presses a key, but shouldn't require a keypress to continue each loop.
Is there a simple way to do this? I figure I could possibly do it with select() but that seems like a lot of work.
Alternatively, is there a way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "94"
} |
Q: Interop issue in .NET I have a 32 bit managed assembly that access a 32 bit COM component. When i compile the assembly using the 64 bit flag, i get an error when i try to access the 32 bit COM component from it.
Is there a way around this problem?
A: When you use the 64 bit flag and run on a 64bit OS, the assembly... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: WCF minimal client app.config settings What are the minimal client settings i need to do for a streamlined WCF config in the app.config?
The default one is this:
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IService" closeTimeout="00:01:00"
openTimeout="00:01:00" re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Winform Checklistbox Headers/Columns Is there a way to implement a new column with a header in a checklistbox in vb.net? I've done a bit of searching, but didn't find much on the topic. Should I just abandon the quest and use a listview or some other control?
Thanks for any/all help!
JFV
A: I would suggest using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Has reCaptcha been cracked / hacked / OCR'd / defeated / broken? Have any programming methods have been used to defeat reCAPTCHA?
I'm interested in seeing evidence and potentially demonstrations that reCAPTCHA in particular has been made obsolete by completely automated, humanless methods.
To clarify, not looking fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "175"
} |
Q: Which characters are valid in CSS class names/selectors? What characters/symbols are allowed within the CSS class selectors?
I know that the following characters are invalid, but what characters are valid?
~ ! @ $ % ^ & * ( ) + = , . / ' ; : " ? > < [ ] \ { } | ` #
A: I’ve answered your question in-depth at CSS ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1320"
} |
Q: egrep search for whitespace I'm trying to use egrep with a regex pattern to match whitespace.
I've used RegEx with Perl and C# before and they both support the pattern \s to search for whitespace. egrep (or at least the version I'm using) does not seem to support this pattern.
In a few articles online I've come acr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: How to export MYSQL Database tables from one server to another How do I export and import MYSQL database selected tables(not all) from one machine to another machine ?
cheers
A: mysqldump [options] db_name [tables] and then load them using mysql -u root -p < backup.sql
Or rsync /var/lib/mysql/ ...
A: I use the MyS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a way to figure out what is using a Linux kernel module? If I load a kernel module and list the loaded modules with lsmod, I can get the "use count" of the module (number of other modules with a reference to the module). Is there a way to figure out what is using a module, though?
The issue is that a module... | {
"language": "en",
"url": "https://stackoverflow.com/questions/448999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "79"
} |
Q: What is wrong with putting Using Blocks in Repository? I have using blocks in each method of my repository. If I want to cross reference methods, it seems it would be against best practices to initialize another Datacontext What am i doing wrong? If I declare a Datacontext in the class instead of using blocks in me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can anyone recommend an Image Gallery with a good programming API? What is the best solution/API for this? On my site users upload image, tag then and more. Instead of displaying the normal page where it shows the image and info (date, desc, user comments, etc) I want it to go to the next/prev image. Preferably with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are practical guidelines for evaluating a language's "Turing Completeness"? I've read "what-is-turing-complete" and the wikipedia page, but I'm less interested in a formal proof than in the practical implications of requirements for being Turing Complete.
What I'm actually trying to decide is if the toy languag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: COM Integration from ALBPM - Cannot find IDispatch for '{00020906-0000-0000-C000-000000000046}' I am trying to use the Office COM components in order to create Word and Excel documents. Unfortunately I can not achieve this because I am getting an error.
Cannot find IDispatch for
'{00020906-0000-0000-C000-00000000... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: issue with FILE I'm getting the folowing error for below code,
"1506-221 (S) Initializer must be a valid constant expression"
FILE *fp[] = {stdout, dump_f};
is this acceptable? what is the proper way to achive this?
A: The error suggests that on your system the stdout variable is in fact a #defined macro ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How should a list be represented in XML? In XML, how should a list be represented?
With an enclosing list entity:
<person>
<firstname>Joe</firstname>
<lastname>Bloggs</lastname>
<children>
<child .../>
<child .../>
<child .../>
<child .../>
<child .../>
</chil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why am I losing my databinding when printing to an XpsDocument? Update!
Binding works. The issue is that the XpsDocumentWriter doesn't properly write the first page of the first document of a FixedDocumentSequence. This seems to be an issue encountered by lots of people doing this sort of thing (i.e., five develop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Setting up Python on Windows/ Apache? I want to get a simple Python "hello world" web page script to run on Windows Vista/ Apache but hit different walls. I'm using WAMP. I've installed mod_python and the module shows, but I'm not quite sure what I'm supposed to do in e.g. http.conf (things like AddHandler mod_pytho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: MIDI player/synthesizer library for the iPhone Does anyone know if there is a free/cheap MIDI player/synthesizer library that I can incorporate into my iPhone application?
As I understand it the iPhone doesn't have native support for MIDI playback.
To work around this limitation I've created a bank of .caf sound s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Hide header and footer when printing from Internet Explorer using Javascript or CSS When I print a webpage from Internet Explorer it will automatically add a header and footer including the website title, URL, date, and page number.
Is it possible to hide the header and footer programatically using Javascript or CSS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Nested hyperlinked areas without nested link elements in HTML source I'd like to have something that looks and behaves as hyperlink inside larger rectangle (full page wide) which is also hyperlink. Below there is ASCII-art representation of what it should look like:
|-------------------------------------------|
| S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is it bad practice to return from within a try catch finally block? So I came across some code this morning that looked like this:
try
{
x = SomeThingDangerous();
return x;
}
catch (Exception ex)
{
throw new DangerousException(ex);
}
finally
{
CleanUpDangerousStuff();
}
Now this code compiles fine a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "142"
} |
Q: Non-generic reference to generic class results in non-generic return types I have a legacy class that the class itself is not a generic but one of its methods return type uses generics:
public class Thing {
public Collection<String> getStuff() { ... }
}
getStuff() uses generics to return a collection of strings... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why doesn't Crystal Server pick up a user's (new) active directory groups? We are running Crystal Reports Server 11.5. We have set it up for AD authentication and I have mapped the correct groups under Authentication in the CMC.
The issue we are having is that when a user is added to a group in AD, Crystal Server d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Server Bulk Insert failing when called from .NET SqlCommand I have a stored procedure which does bulk insert on a SQL server 2005 database.
When I call this stored procedure from some SQL (passing in the name of a local format file and data file) it works fine. Every time.
However, when this same stored procedur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to map an ID to an unknown type in NHibernate? My current project connects to two separate databases almost identical in every respect except for the primary keys. Using NHibernate is it possible to map the ID to some kind of generic type?
Primarily my concern is with mapping the ID to an Int64 or Gui... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# AppSettingsReader: "reread" values into the AppSettingsReader (runtime)? In my application, I need to change some value ("Environment") in appSetting of app.config at runtime.
I use AppSettingsReader
private static AppSettingsReader _settingReader;
public static AppSettingsReader SettingReader
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing Controller a FormCollection and an IList I have a form which contains a whole heap of data entry fields that will be completed by the user including some elements where the user can dictate how many of the same items they will enter. This is as is being used in Phil Haack's blog entry Model Binding To A List... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reference generated primary key in SQL script I'm trying to create a bunch of entries in a database with a single script and the problem I'm encountering is how to reference the generated primary key of the previous entry I created.
For example if I created a customer, then tried to create an order for that customer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is this good design of a workflow-esque system? I'm in the process of designing a system that will allow me to represent broad-scope tasks as workflows, which expose their workitems via an IEnumerable method. The intention here is to use C#'s 'yield' mechanism to allow me to write psuedo-procedural code that the wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I encode HTTP GET query strings in Perl? This question is somewhat related to What’s the simplest way to make a HTTP GET request in Perl?.
Before making the request via LWP::Simple I have a hash of query string components that I need to serialize/escape. What's the best way to encode the query string? It shou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: In Delphi: How to skip sections of code while debugging? I often accidently step into code that I'm not interested in while debugging in Delphi.
Let's start by saying that I know that you can step over with F8, and that you can run to a certain line with f4.
Example:
function TMyClass.DoStuff():Integer;
begin
// d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: jQuery: child firing an event for its parent element I have several nested div elements like this:
<div class="main">
blah blah blah <div class="clickme">clickme</div>
</div>
<div class="main">
bleh bleh bleh <div class="clickme">clickme</div>
</div>
<div class="main">
blih blih blih <div class="clickm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can you import a SQL file into a SQL 2005/8 script? If I have scripts in multiple files, and I would like to execute each one in a known sequence, can I simply import them into a T-SQL script and execute them, or must I run sqlcmd or similar against each file? I'm sure Oracle has a feature to import/include script c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are there any good 3rd party GUI products for Python? In .Net you have companies like DevEpxress, and Infragistics that offer a range of GUI widgets. Is there any market like that for Python GUI widgets? I'm thinking specifically about widgets like the DevExpress xtraGrid Suite.
Edit 01-16-09: For Example:
http:/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What is the point of this line of code? I found this line of code in the Virtuemart plugin for Joomla on line 2136 in administrator/components/com_virtuemart/classes/ps_product.php
eval ("\$text_including_tax = \"$text_including_tax\";");
A: Scrap my previous answer.
The reason this eval() is here is shown in the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Comparison between Javascript objects I have made a simple accordion for my site using jQuery... It worked great, but I've recently started working on a change where if you click the currently opened segments title (the clickable area to slide up/down), it should close the current section.
var sideMenu = {
a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sql Ansi to manage DateTime values I'm developing a multi-database system.
I want the difference between two dates in seconds.
In SQL Server I got:
DATEDIFF(second,stardate,enddate)
In MySql:
TIME_TO_SEC(TIMEDIFF(stardate,enddate))
My question:
Does Sql Ansi have functions to manage DateTime values? i.e.: There ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do forwarding types apply to IoC? I'm still learning Castle Windsor and I see that it supports forwarded types - a term I was unfamiliar with.
Quick Google search and I found this article that explains it pretty throughly however I still don't understand how this applies to IoC or how I would use them from a con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How would you represent a hashtable collection in a database schema? If you were trying to create a domain object in a database schema, and in your code said domain object has a hashtable/list member, like so:
public class SpaceQuadrant : PersistentObject
{
public SpaceQuadrant()
{
}
public virtual... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I call ActivateKeyboardLayout from 64bit Windows Vista using VBA Running VBA under XP I was able to call ActivateKeyboardLayout to switch my input language from English to another language. However, this no longer works under Vista64.
Any suggestions or workarounds?
The code that used to work under XP was si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: invalid security certificate and domain names I recently purchased a security certificate for a website valid for www.example.com but not for *.example.com (wildcard version - more expensive)
The problem i have now is that although users can type http://example.com , the secure version (ssl enabled pages) https://ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I project lines dynamically on to 3D terrain? I'm working on a game in XNA for Xbox 360. The game has 3D terrain with a collection of static objects that are connected by a graph of links. I want to draw the links connecting the objects as lines projected on to the terrain. I also want to be able to change... | {
"language": "en",
"url": "https://stackoverflow.com/questions/449220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.