text stringlengths 8 267k | meta dict |
|---|---|
Q: "Call to undefined function odbc_exec()" error connecting to Access database on Linux PHP server I am getting the folowing error trying to run a test query on an Access Database
"Fatal error: Call to undefined function odbc_exec() in /home/ratpackc/public_html/Preview/ADOdb/drivers/adodb-odbc.inc.php on line 536"
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jQuery Tab with tab titles as links I'm using the standard jquery tab functionality and i was wondering if there is any way to make some of the tab headers simply a links that will redirect the user to another pages.
I'm actually want that when you hover over the tab you will see: "http://www.mysite.com/mypage" , i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How should I store types of coupons in my db? I'm creating a coupon system with many different types of coupons. I'd like to structure it so it can be extended. I'm not sure the best way to store the different types of coupons, for example:
*
*Fixed amount off entire order
*Fixed precentage off entire order
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Combres.axd returns 404 in WebForms app I have 2 ASP.NET apps, 1 WebForms and 1 MVC. Combres worked beautifully for both while working locally on IIS Express. After deploying both apps to the test server (IIS 7, both apps are in the same web site in IIS) the combres.axd link referenced in the pages of the WebForms... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: MS Access: Detecting a new item and notifiying user I have an Access DB that stores sales data for a small business. Each sale is recorded as a record in the "Sales" table. For each sale, the item name and customer name are stored, along with some other information.
There is also a "Customer" table and an "Item" t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Server safely cast string and fail silently declare @input varchar(255) = 'abc'
select * from table where id = CAST(@input as int)
Can I do this so that the cast will fail silently, or default to some user-provided (or system default) value?
A: From SQL Server 2012 and up you can use try_convert and try_parse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: ASP.Net Web Parts, personalization, and javascript Folks,
I have some personalized properties on an ASP.Net Web Part that I would like to set via Ajax (for example, the size to which the user has expanded the WebPart using the jQuery Resizable plugin.)
I've read this question and answer, but I don't think it will wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Different User Agents in the browsers I have noticed that some browsers via a build in development feature allow you to choose different user agents.
Does this mean that they change their rendering engine?
Say for example, if I set Safari's user agent to internet explorer - will that then change the rending engine f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I change the colors for my source code on GitHub? I tried using GitHub to host a gist of Perl code, but I don't think there is enough contrast in colors. Can I modify them? I've tried searching Google, GitHub, and Stackoverflow.
A: I don't think there's any way to do this through Github; however, you could ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Makefile-based Eclipse CDT with run/debug launch configuration depend on release/debug build configuration I have a Makefile that based on given target (all/debug) generates executable in release/debug directories on the project folder.
I have setup the Eclipse-CDT C/C++ build behavior mechanism to generate the righ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Jenkins Master Slave Interaction Does the Server maintain a constant/continuous connection with client throughout the build process? or is the interaction between server and client connectionless?
As in does it open a connection distribute builds, close connection, And after the build is over client opens a connecti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I access a pixel in OpenCV? I have an x,y point coordinate, how would I use this to access a specific point on an IplImage?
Thanks
A: Use CV_IMAGE_ELEM
CV_IMAGE_ELEM( image_header, elemtype, y, x*N+C )
E.g. given an 8-bit 3 channel (such as RGB) IplImage* img, we want (x,y) on the 2nd channel:
CV_IMAGE_ELEM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is adding maximum character restrictions a good idea on form fields which store data in a database? I already have minimum character limit, but was wondering is also adding a maximum a good idea?
For example; I have a post topic form which creates a forum topic (and stores the info in a MySQL database - the data typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does Android's Java version relate to a Java SE version? I am constantly wondering how the Java version used for Android development relates to a Java SE version. For example, I was reading today about "Type Inference and Generic Methods" which is a feature added in Java SE 7. I wonder to myself, "Can I use th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: mysql dynamic rows everyone i would like to perform a query on MySQL with dynamic rows.
Imagine this:
table phones_categories
+----+------------+
| id | name |
+----+------------+
| 1 | Home Phone |
| 2 | Cell Phone |
| 3 | Fax |
+----+------------+
table phones
+----+-----------+-----------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Download and execute SQL script - what are the security issues + solutions? I'm tasked with designing a .Net application that will download a sql script file from a specific server and execute that file against a database. I can think of a number of security steps I'll want to include:
*
*Use a secure connection... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Android TextView casting error: android.widget.LinearLayout cannot be cast to android.widget.TextView I have the following textview in a layout file, this is the full contents of the layout file:
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to implement a dialog for different activities? I want to show the same dialog in different activities. I tried to make a BaseActivitiy. The Activities extends my BaseActivity. That worked so far, but now I want to update the Activity which shows the dialog when the dialog is closed. Update means in my case to f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to Insert conditional hyperlink in Crystal Reports I have Crystal reports, and I'd like to modify a field to be a hyperlink, depending on another field. But the other field may or may not have data. How do I define the field?
Fields: IDNumber, LinkField
If LinkField is not NULL, show IDNumber as its own value,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android: How do you fill a bitmap with color by volume? I have a bitmap image that is of irregular shape that I fill with a certain color to simulate a "meter" of sorts. My current method uses a ColorMatrixColorFilter to replace color on the original bimtap, up to a percentage by bitmap height. What I'd really like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Latex editor for Red Hat Can anyone suggest me a good latex editor (GUI) for RedHat LInux. I have tex installed on my machine which is fine for compiling documents in command line mode, but without a GUI editor (with code completion facility) it is really difficult to draft a new tex document.
I have looked at Kile ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Jumble text on website My website is coming up with some weird jumbled text. Has anyone seen this before?
The site is nextlevelwebworks.com. Is this happening for you too? Thank you.
A: I tried it in Chrome, Firefox, and IE, and they all turned out the same. What browsers/OS did you try it on?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7535404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: calculate area of 2-dimensional confidence ellipse in R So I have log-transformed measurement data arranged in a simple table:
x y
1.158362492 1.322219295
1.1430148 1.267171728
1.11058971 1.252853031
1.120573931 1.260071388
1.149219113 1.278753601
1.123851641 1.276461804
1.096910013 1.222716471
I k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails/Mysql/SQLite - What's the best idea for building 2- or 3-level menu I think about the best way, how to create a 2- 3-level menu. My first idea is everything to store to one database table, with the following structure:
- id
- item
- level
If I create the first-level menu item, so level will 0. If I will creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create a numeric vector with names in one statement? I'm trying to set the default value for a function parameter to a named numeric. Is there a way to create one in a single statement? I checked ?numeric and ?vector but it doesn't seem so. Perhaps I can convert/coerce a matrix or data.frame and achieve the same ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "86"
} |
Q: Drupal 7 Bugtracker module? I need a Bugtracker / Issuetracker module for Drupal 7. All i've found is Support Ticketing System. But its a bit buggy, always tells me "You must select a client" (user rights are configured properly, dont ask ;-).
Is there any alternative to it?
A: Did you try the project module and pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Bast way to move file from server to server in PHP I have sites where stored some xml files, and I want to download to our server, we don't have ftp connection, so we can download through http. I always used file(url) is there any better way to download files through php
A: If you can access them via http, file() (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I highlight many code blocks [code][/code] with PHP? Hello I have a dynamic text and I want to add code like all the forums like this:
[code]My code here...[/code]
Is there an easy way to have a function in PHP to do this stuff?? For example if I write on my text:
Hello world example with PHP [code]echo "he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Making TextView scrollable without knowing max lines I want to make my TextView vertically scrollable. I have read "Making TextView Scrollable in Android" but since I don't know the size of the screen of the final device, I can't know which value should be set for maximum lines.
Is there any other way, so it gets th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to test a stale link click (or link I can't get to) using capybara/rspec Artists cannot rate their own artworks
it "should display error if voting on own artwork", :js => true do
sign_in
visit "/upcoming"
click_link "like_post_1"
page.should have_content("Can't vote on your own artwork")
end
This was pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Adding a class to fb:comment-count I'd like to add a class to fb:comment-count (without using a div). I noticed when using web inspector there appears to be a blank class assignment by default. I was wondering if anyone knew how to add a class into this field?
A: You don't have control over what classes Facebook re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ruby and a Math Problem Let's say I have to have a cart with a subtotal of 1836.36. I must achieve this exact amount by adding up several products from a list with a range of prices.
Say, I have a few products at 9.99, 29.99, 59.99 and I can add several of each to meet the desired subtotal. How would one approach t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP: Bolding of overlapping keywords in string This is a problem that I have figured out how to solve, but I want to solve it in a simpler way... I'm trying to improve as a programmer.
Have done my research and have failed to find an elegant solution to the following problem:
I have a hypothetical array of keywords ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add button to bottom of linear layout programmatically I have a bunch of buttons displayed using the default gravity. The last button I add to the LinearLayout view is what I'd like to appear at the bottom of the view. How do I add it programmtically to appear at the bottom of the screen? I've tried setting the grav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535434",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I get the same result of the "tr///" operator from perl in java What is the fastest way to implement the perl operator tr///?
For instance, if I were to have a String "ATGCATGC" and I use perl tr/GTCA/CAGT/ then I would get "TACGTACG".
Is there a single java function that does this?
A: There's no way to do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Eclipse color theme plugin issue I just installed the Eclipse color theme plugin and when I go to "Preferences-General-Appearance-Color Theme" and choose a new theme it does not change my colors. I am testing this in both the "Web" and "JavaScript" perspectives.
Currently my background color is black (which it was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Making margins smaller - Java Printing I am using this code to print on paper:
//Overriden from printable interface
public int print(Graphics g, PageFormat pageFormat, int pageIndex)
throws PrinterException {
if (pageIndex != 0) {
return Printable.NO_SUCH_PAGE;
}
Pap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Making an HTML table of specific width colummns I'm trying to made a table in HTML. One column is 85% wide, and the text in it is in the middle. I believe it is because I have a form bigger than the text in another column. My question is, how do I get the text in the middle to go to the top?
A: for the TD :
verti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: hadoop : supporting multiple outputs for Map Reduce jobs Seems like it is supported in Hadoop(reference), but I dont know how to use this.
I want to :
a.) Map - Read a huge XML file and load the relevant data and pass on to reduce
b.) Reduce - write two .sql files for different tables
Why I am choosing map/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why doesn't gravity scale work in box2d I am trying to turn off gravity on one of my bodies. I have used the bodyDef.gravityScale = 0.0f but I am having no luck. Here u can look at my code below. Please help.
b2BodyDef monkey1BodyDef;
monkey1BodyDef.position.Set(0, 200/PTM_RATIO);
monkey1BodyDef.type = b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ggplot2 - draw logistic distribution with small part of the area colored I have following code to draw my logistic distribution:
x=seq(-2000,2000,length=1000)
dat <- data.frame(x=x)
dat$value <- dlogis(x,location=200,scale=400/log(10))
dat$type <- "Expected score"
p <- ggplot(data=dat, aes(x=x, y=value)) + g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can you access PCI cards(32 bits) in "real mode"? Can you access PCI cards(32 bits) in "real mode" ? Isn't "real mode" 16 bits? I have a developer claiming he can only access hardware in Real mode. But PCI is 32bits...
A: Yes, you can.
IO ports 0xCF8 and 0xCF9 act as index and data registers for accessing PCI Con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is the static keyword needed in this template code? Working on a simple example for template functions. The code compiles and works as expected. But my question is why "static" is required in both "Cmp" and "Lit"? Otherwise, it will not compile?
Thanks a lot!
template<class T> class Cmp{
public:
static int w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Tomcat 404 error in Eclipse - For any page except Welcome page I am trying to run a website in Eclipse using Tomcat, but I just can view the welcome page. Any link or URL to other pages bring error 404. What I've done so far:
*
*I use a Dynamic Web Project, with some jsp pages. There are no errors in the files.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing text from UITextView to string in different ViewController I need to pass the text of a UITextView in viewController1 to viewController2 and set the text to a string in viewController2. I thought I had the code figured out, but it turns out that nothing is being passed.
In viewController2.h I added
vie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP Form Post to ASP.NET ASPX Page? I have three PHP web sites that collect a small amount of form data. I want to set the action of these PHP pages to post to the ASP.NET (another instance) web site.
On the ASPX side, on page load, I'm looking for the form collection, and doing some stuff in SQL with it.
I though... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Comment box not appearing in XFBML Like button linked to Facebook page On my website I have an XFBML Like button linked to a Facebook page. I set up the app with the website's domain as the App Domain and included the Javascript SDK with the app id.
The Like button itself works, but the comment section does not appe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Transform any date (from anywhere) to DD-MM-YYYY I'm trying to create a function that could get a date in different formats and (languages) and transform it to DD-MM-YYYY. For example, this function could get 22 Fev 2011 (Portuguese) and also 22 Feb 2011 (English). For both it should return 22-02-2011.
Let's assum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why after creating a JFrame object and setting it as visible, the program will not end executing? My program looks like this:
import java.awt.*;
import javax.swing.*;
public class Main {
public static void main(String[] args) {
JFrame jf = new JFrame();
jf.setSize(new Dimension(200, 200));
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How does an Objective-C method have access to the callee's ivars? I was reading Apple's documentation, The Objective-C Programming Language (PDF link). On pg. 18, under The Receiver’s Instance Variables, I saw this.
A method has automatic access to the receiving object’s instance
variables. You don’t need to pass... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: When i append html element it override click functions this.div=$j("<div class='test' id='test"+this._x+"'>"+this.getHtml(inner)+"<a id='testa"+this._x+"''>Close</a></div>");
this.div.hide().appendTo($j("body")).fadeIn(100);
this.div.children("#testa"+this._x).bind('click', function(){
alert(this._... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how do i tell nginx to handle the file after fastcgi rewrites it? I have a asp.net app and i am using nginx with fastcgi&mono. When i visit static.mysite.com/type/258/nicename.png i need nginx to grab the file from apppath/public/uploads/00/00/01/02 which is hex of 258. ATM i have asp.net rewriting the file however ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Declaring In-Line Secret Keys in Ruby On Rails I'm learning Ruby On Rails. I'm trying to use the aws-s3 gem to access Amazon S3. One line of my controller code reads:
AWS::S3::Base.establish_connection!(
:access_key_id => 'myrealaccesskeyishere',
:secret_access_key => 'myrealsecretkeyishere'
)
I'v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: UIButton custom font vertical alignment I've got a UIButton which uses a custom font, which is set when my view loads:
- (void)viewDidLoad
{
[super viewDidLoad];
self.searchButton.titleLabel.font = [UIFont fontWithName: @"FONTNAME" size: 15.0 ];
}
The problem I've got is that the font is appearing to fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "122"
} |
Q: How to decrypt data with Openssl tool encrypted with AES128 in iOS I have many snippets of code, which encrypt the data with AES128 (If you provide your working implementation I will be very thankfull) For example this one:
- (NSData*)AES128EncryptWithKey:(NSString*)key {
// 'key' should be 16 bytes for AES128, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Mono for Android exit code 255 on BitmapFactory.DecodeStream I'm using Mono for Android (latest version as of this post) with the Visual Studio plugin to build an Android application. It targets API Level 8, Android 2.2 framework.
The app runs fine on a Motorola Droid running Android version 2.2.2
It crashes with al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is this class using connection pool feature right now ? - MSSQL 2008 R2 - ASP.net 4.0 I looked over the web but i could not understand exactly connection pool thing. This is my query executing class. Every query is getting executed by this class.
Thank you.
using System;
using System.Collections.Generic;
using Syste... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MVC 3 Session.Abandon() called before setting a TempData["myvalue"] = "foo" causes the next controller to have TempData as null I have a controller will logic that looks for a: Session value
//checks value null etc.. for existing record in session memory.
Session["certnum"]
Then in the controller I had decide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to fix problems regarding connection between Android program and MySQL I am very new to Android and php. I was following a turtorial from a website and made a program that sends and year and receives the info of people in my database who are born after it. However, I am getting these logcat errors:
09-23 18:30:0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Download Latest Version of a CodePlex Project I'm writing an update program for another piece of software. This update program downloads/installs updates to this program's extensions (my update program is, in fact, just another extension).
Some of these extensions are CodePlex projects. Other's are just on people'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do I update the quantity column from two other tables in mySQL? I have three tables so I can display separate tables and keep track of different things.
How do I make 'pull_qty" in CARTONS_PULLED and 'add_qty' in CARTONS_ADDED update 'qty' in CARTONS _CURRENT?
When I create a new Part Number with a quantity it i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pros/cons of MongoDB or MySQL for this purpose I'm looking for a bit of help or guidance on which database to use for a project. If you can raise any points, or note flaws, answer any questions or promote either database type for the purpose I'm about to spell out, I would really appreciate it.
Anyways:
*
*We hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: get certain data from pages using crawler I am looking to use a crawler to fetch data from a site, I found
How do I make a simple crawler in PHP? and it was helpfull but I am looking to use the code on http://findpeopleonplus.com/ to get all the google plus links from the pages.
I will paste the code here for refe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Limiting query_posts in Wordpress, but still having pagination I really hope someone can help me. Basically I have a Wordpress site I am using as an affiliate site. I have about 1/2 million posts, which are essentially the products. The site is running fine, except for on the category pages where there are more t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with removing element I don't know why this working:
$('.deleteQuestion').live('click', function(){
$.ajax({
type: 'GET',
url: '/delete_question/' + $(this).attr('name') + '/',
success: $('[what="question"][name="' + $(this).attr('name') + '"]').remove() ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: can browsers select scripts based on user's viewing resolution? I want to implement a JQuery script that requires the browser's width at 100% which depends solely on the user's viewing resolution. Can i prepare multiple scripts for the different resolutions for the browser to automatically detect and choose or does ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems with BinaryFormatter on class with DataContract? I have a class
[DataContract]
public class Car
{
public bool pbIsHatchBack;
string prSt = "royi";
}
And i want to serialize it with BinaryFormatter:
BinaryFormatter binFormat = new BinaryFormatter();
Stream fStream = new... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL time difference within single table
I have a single MySQL table with login data of users.
user | date | type
-----+---------------------+------
1 | 2011-01-05 08:00:00 | login
1 | 2011-01-06 09:00:00 | login
1 | 2011-01-06 10:00:00 | logout
1 | 2011-01-06 09:50:00 | login
Given the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mysql keeps entering blank fields, can anyone help me fix this? I'm trying to learn php and mysql and its been going good but I'm trying to use the $_POST method to insert something to a database from another page, and when I check the database to see if it worked it creates another row but with no information.
Firs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fold left a list of BigDecimal? ("overloaded method + cannot be applied") I want to write a short functional sum-function for a List of BigDecimal and tried with:
def sum(xs: List[BigDecimal]): BigDecimal = (0 /: xs) (_ + _)
But I got this error message:
<console>:7: error: overloaded method value + with alt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What version of Visual studio 11 is bundled with Windows 8 Developer Preview? is the version of Visual studio 11 bundled with Windows 8 Developer preview the same as the version available as standalone download from Microsoft site ?
cause i have noticed the one bundled with windows 8 only have metro-style/Grid Proje... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: The container "…" must contain only one certificate and its private key I am unable to install a mobile provisioning certificate on iOS 5 because I get this error:
The container "…" must contain only one certificate and its private key.
I used the same process that worked in the past but on iOS 5 it doesn't work and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Check for Event Daily, and Send Notification Messages What is the best way to set up a system that checks for events daily and sends messages via email, Twitter, SMS, and possibly Facebook? Keep in mind, that I do not have access to a web server with root access (Using Rackspace Cloud). Would PHP have a solution for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Template type constructor parameters Given a template class:
template<class T>
class Foo
{
public:
void FunctionThatCreatesT()
{
_object = new T;
}
private:
shared_ptr<T> _object;
}
Is it possible to somehow pass a set of constructor parameters for T to Foo (perhaps when Foo is constructed) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Shared DataSource between combobox and textbox I have this three controls:
ComboBox: list of myobject
TextBox: view a description
DataSource: list(of MyObject)
MyObject:
*
*property id as int
*property combodesctription as string
*property description as string
I want to select an element on the combo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: development with git and php (web development) I'm struggling with the best approach to test php development code which is dependent on certain framework files to be present. I think there are three possible scenario's with git:
*
*Create a copy of the live production directory and clone this 'dev' directory to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Printing control with C when i execute the below code, the compiler returns the message "(.text+0x31): undefined reference to 'sqrt'". but if i take away the q* the compiler correctly gives me 8.000000
i'm trying to get the program to multiply the INCREMENT by 1 (and eventually 2 and 3 when i write the loop in).
how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use git to track SRPM customizations? Our team frequently performs customization to various packages distributed with RHEL/CentOS. Our workflow involves installing the SRPM, executing rpmbuild -bp to unpack and patch the source, making our changes and creating a .patch to be included in the specfile, and b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is the IP address of the Facebook server that sends me app deauthorization callbacks? I would like to whitelist the IP addresses of the Facebook servers that sends me a callback whenever a user deauthorizes my App. Which IP addresses should I whitelist?
A: You can check Facebook's IPs with:
whois -h whois.radb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any IDE capable of Rename refactoring namespaces in PHP? Do you know any PHP IDE capable of rename classes and namespaces, and refactor the code (all files) properly?
A: Same as the suggestion made by @BetaRide. I use PHPStorm: http://www.jetbrains.com/phpstorm/ and its probably one of the best IDE's I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to find a index from a two dimensional array What I'm trying to do is print the largest number within a two dimensional array and it's index location. I'm able to find the largest number, but I can't seem to figure out how to print it's index location. Anyway, here's what I have so far:
public static void main(S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Web deployment stops at first dll I am trying to deploy a webapp to a win2003/iis6 server using msbuild and msdeploy, but the process halts at the end of transferring the first dll, returning this message:
Web deployment task failed. (Unable to write data to the transport
connection: ...
This message is followed wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display different iframe app for fans and non-fans? How can U display different iframe app for fans and non-fans of a page without asking user about permissions like Static Iframe Tab app (http://www.facebook.com/iframehost) is doing?
A: Take a look at the data you get from facebook in the so called "signed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you GoTo a line label in a different object? E.g. Given Sheet 1 contains:
Ref: Do things
How can I direct a code in Module 1 to GoTo Ref? If I were in the Sheet1 code moduke then I could simply use a
Goto Ref
But this doesn't work across different modules
A: Your question is not clear and you didn't provide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: To check declaration of a variable before compilation I code in C/C++ and use vim for editing. I have found that most of times after completing my code when I compile, I get undeclared variables error. These are variables which I forgot to declare before using them.
I want to know is there any utility with vim which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: RewriteRule to accept 2 parameters mydomain.com/MyFolder/parameter-1
I have this htaccess RewriteRule -
RewriteRule ^([a-z0-9\-]+)/?$ index.php?c=$1 [NC,L]
The .htaccess file is inside MyFolder and this only accept a single parameter.
How can do a RewriteRule to accept 2 parameters
mydomain.com/MyFolder/paramete... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is an appropriate directory in which to install Android SDK? I don't use java much so what are the common (best practice) locations to install components like this. I want to put them in a system directory so multiple users have access.
A: Common locations are /opt, /srv, and /usr/local. I tend to lean toward... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: JavaConfig problem in web application (Vaadin + Spring) UPDATED
I found an suspicious log entry:
org.springframework.beans.factory.wiring.BeanConfigurerSupport:
BeanFactory has not been set on BeanConfigurerSupport: Make sure this configurer runs in a Spring container.
Unable to configure bean of type [com.mycomp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (#3) User must be on whitelist, music.listens - Open Graph Music i'v set up my Music Application using this.
i'm trying to pubish new user action but it wont work i'm getting (#3) User must be on whitelist.
this is the code.
FB.api('/me/music.listens&song=track-page-url, 'post', function(response) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rules/guidelines for documenting C# code? I am a relatively new developer and have been assigned the task of documenting code written by an advanced C# developer. My boss told me to look through it, and to document it so that it would be easier to modify and update as needed.
My question is: Is there a standard typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Dot product between row vectors by MMULT not working in Excel I am using Excel to do some dot product between two row vectors:
=MMULT(B1049:M1049, TRANSPOSE(B1050:M1050))
But it does not work, as the cell for the formula shows "#VALUE!". I wonder why? Thanks!
Note that all the cells in "B1049:M1049" and "B1050:M105... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: replace two newlines to one in shell command line There are lot of questions about replacing multi-newlines to one newline but no one is working for me.
I have a file:
first line
second line MARKER
third line MARKER
other lines
many other lines
I need to replace two newlines (if they exist) after MARKER to one ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ActiveRecord OR clause in scoped query statuses = %w(sick healthy hungry)
query = User.scoped(:joins => 'left outer join pets on pets.user_id = users.id', :conditions => { 'pets.id' => nil, 'users.job_status' => stati })
Given the code above, is it possible to add an OR clause to the :conditions to say something l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I enable/disable cells using Vaadin table component? I have a table with 2 columns: a checkbox and a textfield. I want to disable the textfield depending of the respective (same row) checkbox status. If the checkbox is checked then the textfield will be cleared and be read only. Is this possible ? Here is my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Webmatrix 2 Beta and Visual Studio 10 Issue I just downloaded the Webmatrix 2 Prerelease Beta-
http://www.microsoft.com/web/gallery/install.aspx?appid=webmatrix&prerelease=true
I played around and made a database with some tables. Then I went to open up Visual Studio 2010 and I was prompted to install some missing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where is your Application Delegate set and who initializes its window and viewController properties? I have a very newbie question about IOS apps... If I create a new View Based Application called TestForStackOverflow, Xcode automatically creates code like this for the TestForStackOverflowAppDelegate.h:
@class TestF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Do DLL functions run in a new thread automatically? I did some research and I learned that if I run a program my system will automatically start it in a new thread. What does it look like with a DLL?
Some pseudo-code from a DLL, extern_func() is exported from the DLL:
func1()
{
while(true) ...do something;
}
exter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: problem with swipe (fling) gesture recognition on ImageView in Android I am trying to work a simple swipe/fling gesture recognizer on an ImageView in my app. However, I dont see anything. Can any one kindly have a look at the code and let me know what am I missing here ? Thanks.
Note1: from my debugging, I can see t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Crystal Reports for VS 2010 or 2008 - ActiveX Control - How to Use? I am trying to use Crystal Reports ActiveX Viewer 13 from within Winforms. While SAP/BO has said they are not going to support this but I see the ActiveX control available on the machine. Any idea on how to use this control?
The Problem i'm facing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Single vs Multiple Classes Curious what strategy would be considered better:
One large class per element that contains everything.
vs
Multiple smaller classes all containing pieces.
A: in general : multiple smaller
like " bold red underline dim"
cause if tomorrow you want to change the style of red to more red th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7535626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.