text string | meta dict |
|---|---|
Q: Convert audio stream to WAV byte array in Java without temp file Given an InputStream called in which contains audio data in a compressed format (such as MP3 or OGG), I wish to create a byte array containing a WAV conversion of the input data. Unfortunately, if you try to do this, JavaSound hands you the following e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Why do my toolbox items disappear in Visual Studio 2008? I'm working on a solution that contains multiple projects targeting Windows Mobile 5 and standard Windows applications.
Lately when opening up a form in designer the common UI controls (textbox, button, label, etc etc...) have vanished leaving only the control... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Can I pickle a python dictionary into a sqlite3 text field? Any gotchas I should be aware of? Can I store it in a text field, or do I need to use a blob?
(I'm not overly familiar with either pickle or sqlite, so I wanted to make sure I'm barking up the right tree with some of my high-level design ideas.)
A: Pickle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: How to use client certificates in Apache httpd to connect to an LDAP for authorization? I have a site that is using x509 client certificates (2 way SSL) to authenticate users and an LDAP directory that contains authorization information. I would like to use one of the certificate attributes to query the directory ( ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why isn't querying a JDBC-compliant database from Oracle as easy as pie? Ok, so it's almost as easy as pie already. But it really should be as easier than it is.
I think I should be able to connect to another database just by putting a JDBC connection string into TNSNAMES. Every database vendor has a type-4 JDBC dri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making imports available around your code In my MEF usage, I have a bunch of imports that I want to make available in many other parts of my code. Something like:
[Export (typeof (IBarProvider))]
class MyBarFactory : IBarPovider
{
[Import]
public IFoo1Service IFoo1Service { get; set; }
[Import]
publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What, if any, printable character did a user type based on the values in a given System.Windows.Forms.KeyEventArgs? As a workaround for a problem, I think I have to handle KeyDown events to get the printable character the user actually typed.
KeyDown supplies me with a KeyEventArgs object with the properities KeyCod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: PIVOT in sql 2005 I need to pivot one column (Numbers column).
example need this data:
a 1
a 2
b 3
b 4
c 5
d 6
d 7
d 8
d 9
e 10
e 11
e 12
e 13
e 14
Look like this
a 1 2
b 3 4
c 5
d 6 7 8 9
e 10 11 12 13 14
any help would be greatly appreciated...
A: Using ROW_NUMBER(), PIVOT and some dynamic SQL (but no cursor ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: asp:SiteMapPath with dynamic images Ok, so I'm building bread crumbs and depending on the value of the breadcrumb an image will be the seperator. So "HOME" will have one image and "SEARCH" will have another.
I know I can do this programatically (at least I ASSUME) but is there an easier way to do this? Can I link a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ColdFusion web.xml? Is there a ColdFusion analog for the deployment descriptor/web.xml file found in a J2EE web container? I know CF is running on top of JRun and that I could just tweak the JRun dd, but what about an application-specific configuration file? Is there something like this that I'm not aware of or do y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Converting a Word document into usable HTML in PHP I have a set of Word documents which I want to publish using a PHP tool I've written. I copy and paste the Word documents into a text box and then save them into MySQL using the PHP program. The problem I Have arises from all the non-standard characters that Word do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Subversion repository layout for libraries developed across different programs I'm responsible for several (rather small) programs, which share a lot of code via different libraries. I'm wondering what the best repository layout is to develop the different prorgrams (and libraries), and keep the libraries in sync ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: DoubleRenderError in restful_authentication with acts_as_state_machine when activating users In a project which uses restful_authentication with acts_as_state_machine and email activation, I get a double render error whenever a user does the activation action from the email link.
I'm using the default
def activate
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Define cross directory dependencies in Jam After many years of using make, I've just started using jam (actually ftjam) for my projects.
In my project workspaces, I have two directories:
*
*src where I build executables and libraries
*test where my test programs are
I'm trying to set up a dependency on test p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Remove the *.cs, *.Designer.cs codebehind files? Yeah, its a bit on this side of pointless, but I was wondering... I've got all these codebehind files cluttering my MVC app. The only reason why I need these files, as far as I can tell, is to tell ASP.NET that my page extends from ViewPage rather than Page.
I've t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you map a native to IL instruction pointer in-process When using the unmanaged API for the .NET framework to profile a .NET process in-process, is it possible to look up the IL instruction pointer that correlates to the native instruction pointer provided to the StackSnapshotCallback function?
As is probably ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Convert a Visual Studio resource file to a text file? I know there are tools to get text files to resource files for Visual Studio. But I want to get the text from my resource files to a text file so they can be translated. Or is there a better way to do this?
A: You could use Resx Editor, a small translation-o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Windows Powershell & visual studio '08 paths I'm trying to configure Windows Powershell to work with Visual Studio. Nothing fancy, just get things set so I can cl & nmake. I think all I need to do is edit the path setting(but I don't know how to set that in WPSH).
A: After much digging around, I created a directory... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: RegEx to tell if a string does not contain a specific character Easy question this time.
I'm trying to test whether or not a string does not contain a character using regular expressions. I thought the expression was of the form "[^x]" where x is the character that you don't want to appear, but that doesn't seem to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Secure methods of storing keys, passwords for asp.net What is the best practice for storing keys, and or passwords for a website. These keys are for various 3rd party web services. Is it best to have them in the Web.config file, or in the database, or encrypted somehow?
A: You can store the encrypted values in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to send email in HTML format with Microsoft Enterprise Library? I know how to send mails using the Microsoft Enterprise Library 2.0 using a text formatter. But these emails are always in plain text. Is there any way with entlib 2.0 to send these mails in HTML format?
A: Well that is funny, I am now writing my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Does it make sense to put a "Send it to a friend" button on a webpage? How often do we see stuff like "Send this page to a friend" on a webpages? Well, I see them quite often.
My question is, how do you guys see it's effectiveness? If I hit a webpage that's interesting, and I think my friend would enjoy it, I can ju... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Best way to get rid of hungarian notation? Let's say you've inherited a C# codebase that uses one class with 200 static methods to provide core functionality (such as database lookups). Of the many nightmares in that class, there's copious use of Hungarian notation (the bad kind).
Would you refactor the variable nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Activerecord association question: getting has_many :through to work I'm building an app in Ruby on Rails, and I'm including 3 of my models (and their migration scripts) to show what I'm trying to do, and what isn't working. Here's the rundown: I have users in my application that belong to teams, and each team can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Set application icon from resources in VS 05 I know I can add a icon to the Resources.resx file of a project and then reference that icon from within the code.
How do I set the icon of the entire EXE from the resources? All I see is a place to browse for another file. I want to use the current icon file that I have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I make my default (or any static) route permanent on Linux (Fedora 9 specifically)? I've just performed a new installation of the very latest (Fall, 2008) version of Fedora 9 Linux and am perplexed that it never set the default route properly and that even traveling the labyrinthine ways of this OS, there's n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Visual Studio 2003 Merge Modules I am using Visual Studio 2005 to make an install. The application has a dependency on a DLL that was built with MFC 7.1 (from Visual Studio 2003).
Are there merge modules for MFC 7.1 or other redistributables like there are for MFC 8? Where could they be found?
A: These merge modu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Linq to SQL - Can you submit changes for a single object? Is there support in Linq to SQL for submitting changes to a single object? The SubmitChanges method sends all of the changes to the database, but what if I'm associating with an errorlog table and only want to save the records going into the errorlog without... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Suggestions for a MessageBox.Show replacement that does not block GUI thread? a while back I ran across a situation where we needed to display message-boxes to the user for notifications but we could not use MessageBox.Show because it blocks the GUI thread (so nothing on the screen gets updated while the dialog is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Does Google Maps respect the definition in KML? I'm using the GGeoXml object to overlay KML on an embedded Google Map. I need to customize the popup balloon for placemarks, so I'm trying to use the <BalloonStyle> element:
<?xml version="1.0" encoding="utf-8"?>
<Document xmlns="http://earth.google.com/kml/2.0">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: OS Compatibility for various .NET Framework versions What are the minimum OS requirements for each of the .Net frameworks? E.g. for which version is it impossible to run each OS on:
*
*Windows 95
*Windows 98
*Windows 98SE
*Windows ME
*Windows NT 3.x
*Windows NT 4
*Windows 2000
I believe all .Net framewor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: img onload doesn't work well in IE7 I have an img tag in my webapp that uses the onload handler to resize the image:
<img onLoad="SizeImage(this);" src="foo" >
This works fine in Firefox 3, but fails in IE7 because the image object being passed to the SizeImage() function has a width and height of 0 for some reason... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How can I add an image to my Run for a RichTextBlock? I wrote a small WPF app where I like to prepend text into a RichTextBox, so that the newest stuff is on top. I wrote this, and it works:
/// <summary>
/// Prepends the text to the rich textbox
/// </summary>
/// <param name="textoutput">The text ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ImageMagick Reflection Brief:
convert ( -size 585x128 gradient: ) NewImage.png
How do I change the above ImageMagick command so it takes the width and height from an existing image? I need it to remain a one line command.
Details:
I'm trying to programatically create an image reflection using ImageMagick. The eff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I tell if .NET 3.5 SP1 is installed? How can I find out if SP1 has been installed on a server which has .NET 3.5?
A: Check is the following directory exists:
In 64bit machines:
%SYSTEMROOT%\Microsoft.NET\Framework64\v3.5\Microsoft .NET Framework 3.5 SP1\
In 32bit machines:
%SYSTEMROOT%\Microsoft.NET\Framewor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "93"
} |
Q: Best practices for grails index page What is the right way to populate the model for the index page in a grails app? There is no IndexController by default, is there some other mechanism for getting lists of this and that into the model?
A: The good answer: If you need to populate a model for the index page, it's t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: How to really trap all errors with $etrap in Intersystems Caché? I've been banging my head a lot because of this. In the way that $etrap (error handling special variable) was conceived you must be careful to really trap all errors. I've been partially successful in doing this. But I'm still missing something, becaus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I use raw sockets in Perl? How can you get a raw socket in Perl, and then what's the best way to built a packet for use with it?
A: The same way you do in C... by setting the socket type when creating the socket.
In the example on CPAN use SOCK_RAW rather than SOCK_DGRAM (UDP) or SOCK_STREAM (TCP).
NOTE: cr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Correct way to give users access to additional schemas in Oracle I have two users Bob and Alice in Oracle, both created by running the following commands as sysdba from sqlplus:
create user $blah identified by $password;
grant resource, connect, create view to $blah;
I want Bob to have complete access to Ali... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Is it possible to initialize a const struct without using a function? I have a fairly simple const struct in some C code that simply holds a few pointers and would like to initialize it statically if possible. Can I and, if so, how?
A: const struct mytype foo = {&var1, &var2};
A: A const struct can only be initi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: ASP.NET Regular Expression Validator (Password Strength) I have a validation control that has the following expression:
(?=(.*\\d.*){2,})(?=(.*\\w.*){2,})(?=(.*\\W.*){1,}).{8,}
That's a password with at least 2 digits, 2 alpha characters, 1 non-alphanumeric and 8 character minimum. Unfortunately this doesn't seem t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How can ASDoc Ant Task work without -source-path option? I am tring to get the ASDoc Ant task to work:
<target name="asdoc" depends="compile">
<mkdir dir="${dist_asdocs}"/>
<asdoc
docSources="${srcdir}"
output="${dist_asdocs}"
executable="${FLEX_HOME}/bin/asdoc.exe" />
</target>
When I run it I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VS2008 Debugger Hang I'm using Visual Studio 2008 Team System with SP1, and I've noticed an annoying tendency for the IDE to hang for several (10-15) seconds whenever I stop debugging an application. At first I thought this only happened with WPF apps, but I've observed the behavior in Windows Forms apps and ASP.NE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to do Gesture Recognition using Accelerometers My goal is to recognize simple gestures from accelerometers mounted on a sun spot. A gesture could be as simple as rotating the device or moving the device in several different motions. The device currently only has accelerometers but we are considering adding gyros... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Global Find and Replace in Visual Studio I have a solution with multiple projects and we need to do some serious global replacements.
Is there a way to do a wildcard replacement where some values remain in after the replace?
So, for instance if I want every HttpContext.Current.Session[“whatevervalue”] to become Http... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Recommendations for a small c-based vector and matrix library I'm in need of a lightweight library for 2d & 3d vectors and 3x3 & 4x4 matrices. In basic C.
Just so I don't reinvent the wheel suboptimally.
Any suggestions?
A: Many people are telling you to use various BLAS libraries, but this is probably going to be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Whats the best way to offer credit card payment on your website? I want to offer credit card payment on my website and was wondering whats the best (or prefered) way to do so?
I know I could use Google checkout, paypal, etc. but this is not what i am looking for. I am looking for a simple basic CC payment which supp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Absolute Positioning using XSL to be transformed and rendered to PDF How does one accomplish absolute positioning using XSL? I am working on a XSL transformation to FO to PDF for mailing letters and am trying to figure out how to absolutely position the fo:blocks containing the Return Address and Recipient Address ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/198996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Using an ObservableCollection with Background Threads It seems like Microsoft had a great idea with the ObservableCollection. They are great for binding, and are super fast on the UI.
However, requiring a context switch to the Dispatcher Thread every time you want to tweak it seems like a bit much. Does anyone kno... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: .NET Runtime Event Id 5000 Does anyone know how to decipher a .NET Runtime Event Id 5000 error? I have run that's logged as:
P1: <assembly name>,exe
P2: 2.1.4.1 (assembly version)
P3: 48b2b154
P4: System
P5: 2.0.0.0
P6: 471ebf0d
P7: 575
P8: 1d
P9: n3ctrye2kn3c34sgl4zqyrbfte4m13nb
P10: NIL
I assume those ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting "Object is read only" error when setting ClientCredentials in WCF I have a proxy object generated by Visual Studio (client side) named ServerClient. I am attempting to set ClientCredentials.UserName.UserName/Password before opening up a new connection using this code:
InstanceContext context = new InstanceCo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: wglCreateContext in C# failing but not in managed C++ I'm trying to use opengl in C#. I have following code which fails with error 2000 ERROR_INVALID_PIXEL_FORMAT
First definitions:
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true, ExactSpelling = true)]
public static extern IntPtr GetDC(IntPtr h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Strict HTML Validation and Filtering in PHP I'm looking for best practices for performing strict (whitelist) validation/filtering of user-submitted HTML.
Main purpose is to filter out XSS and similar nasties that may be entered via web forms. Secondary purpose is to limit breakage of HTML content entered by non-tec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: PHP PEAR Spreadsheet_Excel_Writer sending an empty file Has anyone used Pear: Spreadsheet_Excel_Writer?
The Formatting Tutorial lists a script similar to what I'm working with: (trimmed down)
<?php
require_once 'Spreadsheet/Excel/Writer.php';
$workbook = new Spreadsheet_Excel_Writer();
$worksheet =& $workbook->addW... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to update rails plugins installed through git but in a svn repo? My rails app is in a svn repository, but several of the plugins are installed through git and later added to the svn repo. How can I update these plugins? I can't seem to get script/plugin update to do anything. I'd really like to update activem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a PHP equivalent of Perl's WWW::Mechanize? I'm looking for a library that has functionality similar to Perl's WWW::Mechanize, but for PHP. Basically, it should allow me to submit HTTP GET and POST requests with a simple syntax, and then parse the resulting page and return in a simple format all forms and th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: How do I select a mouse hovered object with JQuery? I have a list of dynamically generated div-tags with a class-attribute but no id.
How do I select the one which is hovered with mouse cursor?
In CSS it would be like this: div.classname:hover
Oh, and I wouldn't like to use any extra Jquery-plugins.
A: $('div.clas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Machine Learning, AI, and Soft Computing What is the difference between these three heavily related fields? Is there one specific whole they are all a part of (aside from CS)?
A: AI is the intellectual project of trying to capture all aspects of human intelligence in computers. A different project, also called AI,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: A pythonic way to insert a space before capital letters I've got a file whose format I'm altering via a python script. I have several camel cased strings in this file where I just want to insert a single space before the capital letter - so "WordWordWord" becomes "Word Word Word".
My limited regex experience just s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: JavaScript fake dictionaries I've declared Javascript arrays in such a way that I could then access them by a key, but it was a long time ago, and I've forgotten how I did it.
Basically, I have two fields I want to store, a unique key, and its value. I know there is a way to do it.. something like:
var jsArray = new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Embedding binary video data in a swf file Is it possible to play video from data that has been embedded in a swf at compile time (with the [Embed] metatag)?
The "Import Video->Embed" feature provided by Flash CS3 etc. is not acceptable because it has many severe limitations (including sound synchronization issues, a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is a good toolkit for developing Blackberry applications? Looking for a toolkit/SDK for general Blackberry development or application toolkits. Anything like an MVC framework?
A: My understanding is that blackberry's OS is Java ME - based, and that there's a decent development kit for them. I presume you have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Are we moving towards classic ASP using MVC framework in .Net 3.5? Looking at MVC framework, it seems we require more of classic ASP knowledge then ASP.NET postbacks and Viewstates. Are we moving backwards to complex UI + code logic in the actual frontend HTML markup?
A: We're moving back to not trying to abstract ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do I detect what .NET Framework versions and service packs are installed? A similar question was asked here, but it was specific to .NET 3.5. Specifically, I'm looking for the following:
*
*What is the correct way to determine which .NET Framework versions and service packs are installed?
*Is there a list of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "295"
} |
Q: Compiling a Qt program in Windows XP with MinGW's g++ I have a stub Qt application and I keep getting compiler errors
#include <QApplication>
int main(int argc, char *argv[])
{
return 0;
}
I used qmake -project and qmake commands and as far as I can tell
they did their job correctly. When I subsequently cal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to manage a redirect request after a jQuery Ajax call I'm using $.post() to call a servlet using Ajax and then using the resulting HTML fragment to replace a div element in the user's current page. However, if the session times out, the server sends a redirect directive to send the user to the login page. In thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1513"
} |
Q: ClickOnce Application Not Opening I have a VB.NET ClickOnce application that I am trying to install on my computer. Previously, I was able to install and run these apps without issue. Now when I install the application, I can see the flash of a window opening, and then nothing. (There are also no processes left ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you cast from Page.Master to a specific master page in ASP.NET I have a BasePage which inherits from System.Web.UI.Page, and every page that inherits the BasePage will have the same master page.
How do I cast the Page.Master of the BasePage to the specific master page so I can access properties on it?
A: A b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Are hidden fields on child window inaccessible from parent window I have asp.net form that contains fields. When I access this window, my javascript functions can access the fields via the DOM with the getElementById() method and when I postpack to the server I am receiving the updates made by the client.
However,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I increase the /proc/pid/cmdline 4096 byte limit? For my Java apps with very long classpaths, I cannot see the main class specified near the end of the arg list when using ps. I think this stems from my Ubuntu system's size limit on /proc/pid/cmdline. How can I increase this limit?
A: I temporarily get aro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: How can I implement Caching Strategy in my Asp.net Mvc With linq2sql repository? I dont know if I should use the httpcontext caching or the Enterprise Library Caching Application Block. Also, what is the best pattern for the caching Strategy when deleting or updating an entity that is part of a cached list?
Should I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: ASP.NET : Passing a outside variable into a tag ASP.NET 2.0 I'm designing some VB based ASP.NET 2.0, and I am trying to make more use of the various ASP tags that visual studio provides, rather than hand writing everything in the code-behind. I want to pass in an outside variable from the Session to identify who t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you programatically authenticate to a web server using NTLM Authentication with apache's commons httpclient? I'm using this code, and I get the stack trace that is listed below.
I've got this working with just https and with basic authentication, but not ntlm.
HttpClient client = null;
HttpMethod get = null;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Qt Application fails spectacularly I'm trying to link a Qt application with its libraries and the linker (MinGW) spews hundreds of lines like the following, and I am unsure how to proceed.
cpp: undefined reference to `_Unwind_SjLj_Register'
c:/qt/lib/libQtCore.a(qcoreapplication_win.o)(.text+0x29d):qcoreapplicati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Force a full Java applet refresh (AWT) I have a Java Applet that uses AWT. In some (rare) circumstances, the platform does not refresh the screen properly. I can move or minimize/maximize the window and see that my applet refreshed properly. I am looking for code that will give me the fullest possible applet screen ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP .Net error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt. " I get the following error when trying to load an RSS feed:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
My code works fine from my local... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Join query and what do I do with it to display data correctly? I have a table that stores all the volunteers, and each volunteer will be assigned to an appropriate venue to work the event. There is a table that stores all the venues.
It stores the volunteer's appropriate venue assignment into the column venue_id.
ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: winforms map with links . we have users in each region of the world. I would like to create an environment picker that shows up a map on the form and has a link for each region. So if i was in NY i would click NY and would get the NY environment. Any ideas of doing this dynamically in winforms as opposed to havi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is the WiX equivilent of Environment.SpecialFolder.ApplicationData from .NET? I need to install a file into the Environment.SpecialFolder.ApplicationData folder, which differs between XP and Vista. Is there a built in way to reference the correct folder in WiX or will I have to use conditional checks for OS and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Is there a .NET namespace where I can find the WIN32 API message-related #defines, like WM_COMMAND, etc I'm overriding WndProc, so I want to write code like
if (m.Msg == WM_COMMAND)
my special stuff
else
base.WndProc(ref m)
A: AFAIK .NET does not ship with these constants. This site has all the values so i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there any way to get python omnicomplete to work with non-system modules in vim? The only thing I can get python omnicomplete to work with are system modules. I get nothing for help with modules in my site-packages or modules that I'm currently working on.
A: Once I generated ctags for one of my site-packages, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: C# Hiding form when running form program from the command line I'm working on a program that is form based but I have been asked to add some command line support, this works fine apart from the form flashes up and closes down when running from the command line. Is there anyway to hide the form whilst the command lin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I check if a number is a palindrome? How do I check if a number is a palindrome?
Any language. Any algorithm. (except the algorithm of making the number a string and then reversing the string).
A: Push each individual digit onto a stack, then pop them off. If it's the same forwards and back, it's a palindro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "135"
} |
Q: Do you draw a distinction between text editors and IDEs? I've seen several responses to questions asking for IDEs where text editors were suggested and vice-versa. That makes me think that people treat them as the same thing, where I draw clear distinctions.
*
*How do you define "text editor" and "IDE"?
*Do you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Ping always succeeds, cant easily check uptime using ping on a url Im getting frustrated because of OpenDNS and other services (ie: roadrunner) that now always returns a ping even if you type any invalid url ie: lkjsdaflkjdsjf.com --- I had created software for my own use that would ping a url to verify if the site ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: BizTalk resolving SSO error "Unable to redeem ticket, no ticket exists in the message" I am using Oracle adapter from the BizTalk Adapter Pack (WCF based for BTS 2006 R2). In the configuration of the "solicit-response" send ports, I have used Oracle's username and password to connect to the database.
Now I would li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I find the position where a string is malformed XML (in C#)? I'm writing a lightweight XML editor, and in cases where the user's input is not well formed, I would like to indicate to the user where the problem is, or at least where the first problem is. Does anyone know of an existing algorithm for this? I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: java in-memory compilation How can i generate bytecode (Byte[]) from a String at runtime, without using a "javac" process or something of this sort? is there a simple way of calling the compiler like that?
later addition:
I chose to accept the solution that actually best fits my situation. my application is a hobby-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What is the best way to manage permissions for a web application - bitmask or database table? I'm considering the best way to design a permissions system for an "admin" web application. The application is likely to have many users, each of whom could be assigned a certain role; some of these users could be permitted... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "61"
} |
Q: How do I reverse a UTF-8 string in place? Recently, someone asked about an algorithm for reversing a string in place in C. Most of the proposed solutions had troubles when dealing with non single-byte strings. So, I was wondering what could be a good algorithm for dealing specifically with utf-8 strings.
I came up w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Should I make sure arguments aren't null before using them in a function? The title may not really explain what I'm really trying to get at, couldn't really think of a way to describe what I mean.
I was wondering if it is good practice to check the arguments that a function accepts for nulls or empty before using th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Make xargs execute the command once for each line of input How can I make xargs execute the command exactly once for each line of input given?
It's default behavior is to chunk the lines and execute the command once, passing multiple lines to each instance.
From http://en.wikipedia.org/wiki/Xargs:
find /path -typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "472"
} |
Q: Best practices for deploying tools & scripts to production? I've got a number of batch processes that run behind the scenes for a Linux/PHP website. They are starting to grow in number and complexity, so I want to bring a small amount of process to bear on them.
My source tree has a bunch of cpp files and scripts, o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Advanced Console IO in .NET What is the best way to write data to the text console at arbitrary locations on the screen and with custom fore/background colors?
A: There are a couple of libraries that can be helpful when writing TUI based applications in C#:
*
*Gui.cs is a Terminal UI toolkit for .NET by Miguel d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: How do I detect unsigned integer overflow? I was writing a program in C++ to find all solutions of ab = c, where a, b and c together use all the digits 0-9 exactly once. The program looped over values of a and b, and it ran a digit-counting routine each time on a, b and ab to check if the digits condition was satisf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "724"
} |
Q: Print spinning cursor in a terminal running application using C How would I print a spinning curser in a utility that runs in a terminal using standard C?
I'm looking for something that prints: \ | / - over and over in the same position on the screen?
Thanks
A: You can also use \r:
#include <stdio.h>
#include <uni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How can I roll-back a ClickOnce application? Is there a way (hacky will do) to allow a user to go back to a previous version of a ClickOnce network deployed application?
I've looked in the docs and API and there seems to be no way. You can selectively choose if you would like to update, but once updated there is, se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Best CSS color wheel sites What site(s) do you recommend for looking at complimentary colors for site design? It would also be beneficial to enter a hex or RGB value and have the color wheel spit back complimentary colors.
Most popular:
*
*Kuler
Others in alphabetical order:
*
*4096 Color Wheel
*Allprofitallf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "61"
} |
Q: Getting gps data from blackberry (pearl) directly from usb interface Has anyone researched how to access the gps chipset on a blackberry over usb so that it is unnecessary to transmit this data over the cell carrier's data network?
Is it possible to access the GPS chipset, store information in a buffer, and open an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's the best way to embed IronPython inside my C# App? I have an application used by pretty tech-savey people and they want small island of programmability so I've used embedded Iron Python.
However, since IronPython 2.0 Eval() doesn't work any more. Specifically I can't both load modules and inject local variabl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/199390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |