text stringlengths 8 267k | meta dict |
|---|---|
Q: Tagging part of a repository in subversion I come from a CVS background. I'm currently investigating using SVN for a project. The code that I work on tends to be in the following directory structure.
project\libs\lib1
project\libs\lib1\test
project\libs\lib1\mock
project\libs\lib2
etc.
When I tag a release, in CVS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deserialize SOAP array in C# In working with another company I'm trying to write a SOAP client to talk to their service. The service itself has no wsdl-files but I've managed to successfully write my own proxy class inheriting from SoapHttpClientProtocol. Basic methods that only return an integer or a single value i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use SSH to run a local shell script on a remote machine? I have to run a local shell script (windows/Linux) on a remote machine.
I have SSH configured on both machine A and B. My script is on machine A which will run some of my code on a remote machine, machine B.
The local and remote computers can be either ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1384"
} |
Q: Setting up Alerts in SharePoint I am running MOSS 2007 on a Windows 2003 box. I need to know what configuration must be done to get Alerts to work. SMTP settings, etc.... When I create my alert, it is created but it does not send the email to show me that something changed in my document library or on any particular... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: (SC) DeleteService FAILED 1072 Last time I create WAS profile and WASService then I try to config and run many script for learn how to config WAS, Finally it crash so i use wasprofile delete this profile and forgot delete WASService.
Now I found IBM Webphere Application Server service display in services.msc list, s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "112"
} |
Q: How can I avoid SQL injection attacks in my ASP.NET application? I need to avoid being vulnerable to SQL injection in my ASP.NET application. How might I accomplish this?
A: SQL injection occurs because the query to the database is being constructed in real time, for example:
SELECT * From Table1 WHERE " + UserInpu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Current "hot" topics in parallel programming? I hope this is the right place to ask[1], but I've read a lot of good comments on other topics here so I'll just ask. At the moment I'm searching for a topic for my dissertation (Ph.d in non-german countries I think), which must have to do something with parallelism or c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Programmatically reject a call on the BlackBerry I'm trying to programmatically reject a call on a BlackBerry, with Java + JDE.
I'm intercepting the callIncoming event, and in there I need to do something to reject a call from a specific number.
Does anyone know how to do that?
A: I couldn't find an API for directl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305053",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is a good Jsp IDE I'm a c# developer but have a job that involves some jsp code.
I've been using notepad++ which does a great job in highlighting but I'm missing the intellisense and find it difficult to find the methods I need.
What is a good jsp IDE for someone coming for C# that has intellisense?
Update
I t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Building console apps without CRT & default headers? I'm trying to build a console application without using the CRT, or any other imports than kernel32.lib in any case. I get my code to compile, but can't wrap the linker around a few problems:
unresolved external symbol @__security_check_cookie@4
unresolved externa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: When to use activator and when to use factory method? I have learnt the factory method design pattern, and at the same time, I have come across the Activator object and how to use it, from reading a tutorial (I have come across this object in intellisense a lot thougha).
Activator allows late binding, which can be e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can I set Visual Studio 2005 to ignore assertions in a specific region of code while debugging Here's the scenario. I'm debugging my own app (C/C++) which is using some library developed by another team in the company. An assertion fails when my code generates some edge case. Its a pain because the assertion is not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to validate compliant XML sitemap? For the following header I get the same two errors on all my sitemaps. It's confusing because, if Google can't read my sitemap, then how can they say that each URL has the same priority? The header counts as line 2, after the XML declaration. Google claims only to have index... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: c# WPF Maintain Single Instance of loader I have a loader.exe with Main() that loads the 'UI' in WPF, the thing is that I want only one instance of the loader.exe, how can I achieve it?
Is there a way a user clicks loader.exe it should check if an existing loader.exe is running and does nothing.
currently I have
l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which method performs better: .Any() vs .Count() > 0? in the System.Linq namespace, we can now extend our IEnumerable's to have the Any() and Count() extension methods.
I was told recently that if i want to check that a collection contains 1 or more items inside it, I should use the .Any() extension method instead o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "698"
} |
Q: Reading source code If you read other people's source code, how do you approach the code? What patterns are you looking for (datatypes, loops, use of control flow, ... )? How long can you read other people's code without getting bored? What is the most exciting patterns that you have discovered so far?
A: At first,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Creating an unlimited SqlServer Trace On my app i am creating a real time trace (not sure how yet but i am!) and on the sp_trace_create function in SQlServer, i know that the @maxfilesize defaults to 5, but on my app its going to be stopped when the user wants to stop it...any ideas how this can be done?
Because i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: FreeMM vs ShareMem We have a lot of dll-libraries written in both delphi and c++ builder, and use sharemem and borlndmm.dll.
An aligment-issue in a 3thparty library forces us over to the new memorymanager in delphi 2007.
Can someone please explain 'shared memory manager' for me?
Is SimpleShareMem a dropin replacemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Implementation of WS-ReliableMessaging for Axis 1.4 Do you know what implementation's of WS-ReliableMessaging for Axis 1.4 you have used?
A: There is Apache Sandesha but I have not used.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/305109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MSXML and newline normalization(?) of Document.xml property I created following simple xml (C escape sequence used) "<A>\n</A>"
When MSXML (v4 and v6) serialize DOM document using IXMLDOMDocument2.xml it changes newline to dos format and returns: "<A>\r\n</A>" instead.
When I use DOM to retrieve only string node ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Dynamically assigning projects property name to variable within a class I have created a class to dynamically put together SQL function statements within a project. I have found this class to be pretty useful and would like to incorporate into future projects
namespace connectionClass
{
public class connClass
{ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Base64ing Unicode characters Can Unicode characters be encoded and decoded with Base64?
I have attempted to encode the string 'الله', but when I decoded it all I got was '????'.
A: Base64 converts binary to text. If you want to convert text to a base64 format, you'll need to convert the text to binary using some ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: TortoiseSVN identifies modified file - so why does svn diff report no differences? I have a folder checked out using TortoiseSVN. If I copy a newer version of a file over the existing versioned file, TortoiseSVN correctly identifies that the file is modified.
However when I do a "diff with previous version", it rep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Checking to see if a DateTime variable has had a value assigned Is there an easy way within C# to check to see if a DateTime instance has been assigned a value or not?
A: The only way of having a variable which hasn't been assigned a value in C# is for it to be a local variable - in which case at compile-time you c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "164"
} |
Q: Submission and pricing of iPhone application to Apple Store I have worked on iPhone application but not aware of the formalities to submit it to Apple Store. Please somebody help me out to solve the following queries:
Are their any submission charge to be paid?
And Procedure to submit application to Apple Store.
Tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Process.Start() throwing intermittent "No application is associated.." on .DOC files System.Diagnostics.Process.Start() is throwing intermittent System.ComponentModel.Win32Exception: No application is associated with the specified file for this operation.
The file is a .doc file.
They are always able to open it manu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I convert unicode characters to ascii codes in delphi 7? Yes we're talking about ASCII codes. My appologies I'm not the Delphi dev here.
A: For Delphi 7, I'd get the free Unicode Library by Mike Lischke who is the author of Virtual Treeview.
The libary includes a lot of conversion functions to go to and fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Lightweight open-source shared file system over network We have two web servers with load balancing. We need to share some files between those servers. These would be uploaded files, session files, various files that php applications create.
We don't want to use a heavyweight, no longer maintained or a commercial so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: javascript not being called I am using this HTML
<html>
<head>
<Title>EBAY Search</title>
</head>
<script language="JavaScript" src="ajaxlib.js"></script>
<body>
Click here <a href="#" OnClick="GetEmployee()">link</a> to show content
<div id="Result"><The result will be fetche... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to see a prepared query as it will be executed on the database?
Possible Duplicate:
PDO Prepared Statements
I'm using the mysqli extension in PHP and I'm wondering, is there possibly any way to see a prepared query as it will be executed on the server, e.g. The query is something like this
select *... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: CreateProcess from memory buffer I can use CreateProcess to launch an EXE. I want to have the contents of an EXE in a memory buffer and do CreateProcess (or an equivalent) on it without having to write it to a file. Is there any way to do that?
The backstory : we make games. We send a plain EXE to our distributors, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "43"
} |
Q: WPF: Can I restyle a checkbox template, so that the checkindicator is a red cross instead I can´t find a way to restyle the IsChecked indicator of a checkbox. As I can see from the checkbox template there´s no possibilities to restyle the indicator, just the "box" of the checkbox. Does anyone knows if it´s possibly ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it necessary for setter methods to have one argument? Is it necessary for setter methods to have one argument? Usually setter methods accept one argument as the value of a certain property of an Object. What if I want to test first the validity which depends on another argument which is a boolean, if true, valida... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What do the "+n" values mean at the end of a method name in a stack trace? When reading a stack trace like:
[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2755599
Sys... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Which is the best Maven Eclipse plugin? There is two available Eclipse plugins for Maven :
*
*Eclipse IAM (old name is Q4E)
*m2eclipse
m2eclipse seems to be the oldest but the more robust. Is there any key differences between the two ?
Which one should be chosen for a project starting today and why ?
UPDATE: m2e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Load Paths and Ruby C-Extensions How do you allow a C-extension to use rb_f_require to require a file from outside the ext directory (e.g. requiring lib/foo/foo.rb from ext/foo.so).
A: Not really sure why this isn't converted into html like the rest of the ruby hacking guide that had been translated, but perhaps so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: The Spring AOP Proxy that isn't I have two Spring proxies set up:
<bean id="simpleBean" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="target">
<ref local="simpleBeanTarget"/>
</property>
<property name="interceptorNames">
<list>
<value>cacheInte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to do HTTP POST in Utf-8 -> php script -> mysql I am using Delphi 7 and ICS components to communicate with php script and insert some data in mysql database...
How to post unicode data using http post ?
After using utf8encode from tnt controls I am doing it to post to PHP script
<?php
echo "Note = ". $_POST['no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Check for a subversion update I am putting together a build system and wanted to know if there is a reliable way to find out if a checked out SVN folder needs updating (i.e. is it out of sync with the repository). I want to avoid a nightly build unless something has changed. I could write a script that parses the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: What is the relationship between bayesian and neural networks? I'm looking for computationally heavy tasks to implement with CUDA and wonder if neural networks or bayesian networks might apply. This is not my question, though, but rather what the relation between the two network types is. They seem very related, esp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Getting sqlcmd output into a GridView I am designing an ASP.NET website that will run sqlcmd, get some output and put this into a grid on screen.
I was wondering if there is a method for reading the results of a query from sqlcmd into some kind of format that I can work with, XML, DataSet etc.
Is there a friendly sw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Servlet containers and classpath To what is the class path of a Servlet container set?
As per my understanding there are three components involved. The JAR files in the lib directory of the Servlet container and then the classes in the WEB-INF/classes and JAR files in the WEB-INF/lib directory. The classes in lib d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How to See the Contents of Windows library (*.lib) I have a binary file - Windows static library (*.lib).
Is there a simple way to find out names of the functions and their interface from that library ?
Something similar to emfar and elfdump utilities (on Linux systems) ?
A: 1) Open a Developer Command Prompt for V... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "224"
} |
Q: Embedding SMO dlls in Setup and deployment I have a .NET Set and Deployment project which has to execute a set of really long SQL Scripts as a part of the installation process. I have used SMO dlls to make calls to the .sql script files.These SMO dlls are however not a part of the .NET framework but they come bundle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Constant array types in C, flaw in standard? Paragraph 6.7.3.8 of the C99 spec states
If the specification of an array type includes any type qualifiers, the element type is so-qualified, not the array type. If the specification of a function type includes any type qualifiers, the behavior is undefined.
In the rationale ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Single database tool to access different database types? I’d like a visual database tool that will allow me to access multiple database types from the same program. I’m looking for anything that supports Mysql, PostgreSQL, and Derby. Anything else it supports is a bonus.
A: If you can get ODBC drivers for your data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Informix SQL query: Two similar queries returning different results I have an Informix SQL query which returns a set of rows. It was slightly modified for the new version of the site we've been working on and our QA noticed that the new version returns different results. After investigation we've found that the only... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: wxWidget multiline notebook - cannot see 2nd line This code works perfectly
myNotebook = new wxNotebook( this, IDC_NOTEBOOK, wxDefaultPosition, wxSize(500, 500) );
myNotebook->AddPage( new wxNotebookPage( myNotebook, -1 ), L"TEST RECOMMENDATIONS 1" );
myNotebook->AddPage( new wxNotebookPage( myNotebook, -1 ), L"TEST... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What's wrong with my Windows batch (.bat) file? I created a simple batch file (.bat) containing a bunch of commands to be triggered automatically into the command window. The batch looks like this:
mmd dll1.dll -mf -aW
mmd dll2.dll -mf -aW
mmd dll3.dll -mf -aW
If I copy and paste the bunch of cmds into the command ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: From AS2 to AS3 what is the equvalent of _root? I'm trying to learn Actionscript 2 or 3, with AS2 I eventually figured by trial and error that I could get any named instance and modify it using a string with its name using
var theinstance = "titletext"; // actually exctracted from an array
_root[theinstance].htmlTex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What would you build using a multiway search tree. I am currently teaching myself about various data strutures and am a little frustrated with the various types of trees. I can understand the purpose of organizing something into binary search trees but don't see any practical application of multiway search trees. Ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: floating images in a layer, inside another layer I have the following HTML to center images and links within a layer:
edit: a better example
<style> body {
background-color:#000;
color: #FFF;
} a { font-family: "Broadway",
Broadway,monospace; font-size:
14px; color:
#FFF; }
#images a {
width: 24.99%; d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What do you call a chart that illustrates class hierarchy? So I have a UML type chart that documents the classes and the hierarchy of a development. Just don't know what you'd call it?
Any suggestions?
A: Class diagram is a nice start ;-).
A: Static Structure is another name for that entire suite of diagrams.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/305330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I retrieve an image using iText when the URL has redirects? I am using iText to generate PDF invoices for a J2EE web application and included on the page is an image read from a URL constructed from the request URL. In the development and test environments this works fine, but in production I get a java.io.IO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Moq multi-interface question This may or may not be a multi-interface problem, but I'm doing something like this:
var mockInterface1 = new Mock<IInterface1>();
var mockInterface2 = mockInterface1.As<IInterface2>();
mockInterface1.Expect( foo => foo.Foo(It.IsAny<IInterface3>() ) );
...
otherObject.DoSomething( (IIn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: PL/SQL - setting null value I have seen that there is a NVL function for PL/SQL that substitutes a value when null is encountered.
But what if I want to set a field to NULL, e.g.
EXEC SQL UPDATE mytable SET myfield=NULL WHERE otherValue=1;
When I run this with C++ on HPUX, 0L is used for null while on Linux the st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Erasing a Char[] Okay i am working on someone elses code. They do alot of this:
char description[256];
description[0]=0;
I know this would put a \0 in the first spot of the character array. But is this even a safe way to erase a string?
Also visual studio keeps reporting memory leaks, and i've pretty much tied this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: is there a merged iterator implementation? Is there an Iterator implementation that merges multiple iterators?
class MergedIterator<T> implements Iterator<T>
{
MergedIterator(Iterator<T>... iters)
....
}
And the next method should move on to iters[1] when !iters[0].hasNext() etc
A: Commons Collections I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Correct way to detect sequence parameter? I want to write a function that accepts a parameter which can be either a sequence or a single value. The type of value is str, int, etc., but I don't want it to be restricted to a hardcoded list.
In other words, I want to know if the parameter X is a sequence or something ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: List of tables, db schema, dump etc using the Python sqlite3 API For some reason I can't find a way to get the equivalents of sqlite's interactive shell commands:
.tables
.dump
using the Python sqlite3 API.
Is there anything like that?
A: The FASTEST way of doing this in python is using Pandas (version 0.16 and u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "202"
} |
Q: Locating the getter and setter access modifiers in the EdmItemCollection of Entity Framework I've been creating a nice T4 template for a repository pattern for my entities. Instead of manually parsing the xml in the edmx file I use the EdmItemCollection to create a object graph presentation for the conceptual model.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Weird output in tortoisehg log window I have two branches, the main branch(black) and a feature branch(yellow).
As you can see, since the feature branch was forked, it was kept up to date fetching changes from main:
alt text http://azkotoki.org/images/stackoverflow/tgh-reintegrate1.gif
When I reintegrate back the fe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is there any way to have a reset button in the SSRS parameter window? Is there any way to have a reset button in the SSRS parameter window?
A: Users can reset the parameters by clicking the "Refresh" button in the web browser.
A: No, or i haven't heard how to do it. But you can simulate it.
One way to do this is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Iterate through an anonymous variable in another scope than where it was created I am writing an unit test for a mvc web application that checks if a returned list of anonymous variables(in a jsonresult) is correct. therefore i need to iterate through that list but i cannot seem to find a way to do so.
so i have 2 m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Text Wrapping in SSRS How do I accomplish text wrapping of table fields in SSRS Report, and proper landscaping when rendering the report to PDF format?
A: Setting the CanGrow property to True will allow wrapping, and the text box will get as big as it needs to vertically to contain all the characters in its value.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Python printing the word If any one can help me with Python code:
If I input a letter, How can I print all the words start with that word?
A: print [word for word in words if word.startswith(letter)]
A: There are many ways of doing this, e.g.:
words = ["zwei", "peanuts", "were", "walking", "down", "the", "strasse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Product Line Engineering Some of the work we do at my company is slowly edging towards a product family with different products in the same family and different flavours (or feature sets) in each product. I am looking for some product line engineering techniques that might help us. Web search leads to a lot of resou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: AIX: Why does throwing an exception abort multithreaded code? We get an abort when a C++ exception is thrown when running code compiled with -pthread.
Platform: AIX 5.3 technical level 8
Compiler: gcc 3.4.6
Linker: AIX linker 1.65.2.4
Test Code:
// exception.cpp
#include <iostream>
class MyException
{
public:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it still necessary to put a space before closing an empty element in XHTML? W3C recommends putting a space before the closing tag in XHTML, because this would give a better backwards compability with some browsers, e.g. write <br /> instead of <br/>. But are there still browsers out there, that would not tolerate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: good way to query many databases in ASP.NET What I'm trying to do is run the same SQL select on many Oracle databases (at least a dozen), and display the output in a Gridview.
I've hacked together something that works but unfortunately it's very slow. I think its exacerbated by the fact that at least 1 of the dozen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JPA/Hibernate in Java SE 6, Best Practices for data access I am starting a normal Java SE project and i am planning to use JPA/Hibernate. I was wondering if anyone could enlighten me as to what is considered the best way to interact with Hibernate in this environment (data access layers)?
A: I'm not sure what's con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Get file details by inode I need in a bash script to get details about a file when I know the inode.The system is Linux.
A: If you're dealing exclusively with an ext2/3 filesystem, you can use debugfs to do your inode to file look-up, which can be considerably faster than using find for large filesystems with many ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Using different Web.config in development and production environment I need to use different database connection strings and SMTP server addresses in my ASP.NET application, depending on where it is run, in development or production environment.
The application reads settings from Web.config file via WebConfiguratio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "210"
} |
Q: WINMOBILE uploading a file from C# to a php webservice I need to upload a file using C# from a windows mobile app to a website. It's running PHP as the webservice on the other side, though I guess it really doesn't have to if there's another way to be able to get the file up there. There is no server-side ASP suppor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to view MS SSAS 2005 sessions and queries When browsing the cube in Microsoft SQL Server Analysis Services 2005, I would like to peek at the MDX (supposedly) queries generated by client access tools such as Excel. Is there a tool or method that enables me to do just that?
I'm really looking for something like Or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to create a site map/list I need to create a site map/list, but I need the link-name to show up as well.
What I mean by that is given, say, www.google.com, I need the following list to be created.
Google - www.google.com
Images - http://images.google.com/imghp?hl=en&tab=wi
...
My Account - http://images.google.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Automatic updates" for Java (desktop) application? What system do you recommend for implementing "automatic updates" for some java (desktop) application? I'd also want to have module/plugin installation and update. Think Eclipse and Firefox.
I'm aware of Eclipse RCP's OSGi stuff, and also NetBeans RCP has something... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Setting and resetting the DATEFORMAT in SQLServer 2005 Is there a way to query the current DATEFORMAT SQLServer 2005 is currently using with T-SQL?
I have an application that reads pregenerated INSERT-statements and executes them against a database. To make the data to be inserted culture independent I store datetim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is there any way to get a DetailsView control to render its HeaderText in a cell? As the DetailsView uses <td> cells for both the header text and the data, I was wondering whether the behaviour of the control can be overridden to render the HeaderText of each row in a <th> cell?
@Joel Coehoorn Thanks for the quick... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are the high level requirements for building a basic SMTP server for Windows? I know Windows has SMTP capabilities under IIS, but I thought a basic SMTP would be a good project for learning Windows application development. I don't want a relay. I want an actual SMTP server that will send email from localhost an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to save the state of an C# app to be able to load later I have a program in which the user adds multiple objects to a scene. These objects are all represented as a classes.
Now I want the user to be able to save the scenario, so it can be loaded again.
Is there some genereic save method I can use, or do I have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to attach DBF file in Access programmatically? Access can open DBF (dBase) files, but instead of physically converting the data into MDB format, it has the ability to link to the DBF table itself. This way the DBF is "linked" to the MDB.
Is it possible to attach a DBF file in such manner using C#?
Edit: I would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using LINQ to get column value from column name when you have the row? I'm trying to convert some code that uses datasets to LINQ. Some of the code passes column names into other functions as strings.
Is there anyway I can easily rewrite this into LINQ?
string s = getElement(tr, elementName);
private string getElem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to find all DNS subdomains for a given domain name?
This question exists because it has
historical significance, but it is not
considered a good, on-topic question
for this site, so please do not use it
as evidence that you can ask similar
questions here.
More info: https://stackoverflow.co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: pass "calendar.selectedvalue" in querystring from gridview I wanted to pass calendar1.Selecteddate in a query string from gridview in one page to another gridview (I have written sqlquery in that gridview) in another page. As seen in the below code I tried passing it but this did not work. Can anyone tell me how to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to close EnityManager when not injected? I have a servlet running in an Oracle OCCAS server. Currently I map some data in a database to an entity class in my application using @Entity annotaion.
I fail to inject the EntityManager (@PersistenceContext) though, and to my understanding that is because it is running... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Run .net code in a separate process In an impersonation scenario related to Sharepoint I need to execute some code in a separate process (the process will run in the context of a certain user). I do not want to launch a separate application, basically I want to do a "run as" on just a method.
A: I haven't tried thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: embedding an application (in this case a terminal) within a QT application I am writing a QT application and I need to embed a terminal (we say,xterm) within a QDialog, like some KDE application (see kdevelop/kate/...).
I've been trying with:
- QX11EmbedContainer placed into the QLayout of my QDialog
- QProcess fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Why does SQL Server 2005 Dynamic Management View report a missing index when it is not? I'm using SQL Server 2005 and the the Dynamic Management View sys.dm_db_missing_index_details. It continues to tell me that Table1 really needs an index on ColumnX and ColumnY, but that index already exists! I've even dropped and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to disable a container and its children in Swing I cannot figure out a way to disable a container AND its children in Swing. Is Swing really missing this basic feature?
If I do setEnabled(false) on a container, its children are still enabled.
My GUI structure is pretty complex, and doing a traversion of all elem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How to update appSettings in a WPF app? Greetings to all! This is my first question here on stackoverflow. I have a WPF application that I am writing for the fellow developers in my department, and there are a couple of settings that I need to check for at startup and update if they are not set (one is the locatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Convert PNG to bitonal TIFF -Edit-
FYI.. I am converting b&w documents scanned in as greyscale or color.
1)The first solution worked, it just reversed black & white (black background, white text). It also took nearly 10 minutes.
2)The JAI solution in the 2nd answer didn't work for me. I tried it before posting he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is wrong with this tiny piece of mutex code? // A Mutex allows threads mutually exclusive access to a resource.
//-----------------------------------------------------------------------
class Mutex
{
private:
CRITICAL_SECTION m_mutex;
public:
Mutex() { InitializeCriticalSection(&m_mutex); }
~Mute... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: compiling an Eclipse project into a jar I reference another eclipse project from the current project I am working on.
Everything is working fine except when I try to jar up the referenced project and use the jar instead of the eclipse project my project doesn't run properly.
I know this is a bit vague but is there s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I figure out which parts of a web page are encrypted and which aren't? I'm working on a webserver that I didn't totally set up and I'm trying to figure out which parts of a web page are being sent encrypted and which aren't. Firefox tells me that parts of the page are encrypted, but I want to know what, speci... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: LLBL Gen Pro 2.6 and Auditing I am using LLBL Gen Pro v2.6 and am attempting to create a means of auditing changes made to the database. Now, I know that LLBL Gen has auditing built into it using AuditorBase and dependency injection. The question I have is; I need to track not only the stuff that LLBL Gen exposes as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Locate Pattern the Letter I followed by a space then three alpha numerics followed by a space Need to locate the following pattern:
The letter I followed by a space then three alpha numerics followed by a space
"I ALN "
"I H21 "
"I 31M "
these items are also followed by a lat/lon that is trapped by this expression:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++: Do static primitives become invalid at program exit? Assume I have a function like this:
MyClass &MyFunction(void)
{
static MyClass *ptr = 0;
if (ptr == 0)
ptr = new MyClass;
return MyClass;
}
The question is at program exit time, will the ptr variable ever become invalid (i.e. the contents of that p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to get the last selected item in multiselect ListBox? How to get the last selected item in a .Net Forms multiselect ListBox? Apparently if I select an item in the listbox and then select another 10 the selected item is the first one.
I would like to obtain the last element that I selected/deselected.
A: I would... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Configuration Information for dlls in .NET I have inherited a project that has class libraries written in VB.NET, some of these have ".settings" files and the others have a ".dll.config" file to store connection strings. What is the difference between these 2 methods?
EDIT: In what scenarios would I prefer one over ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305557",
"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.