text stringlengths 8 267k | meta dict |
|---|---|
Q: jQuery Fancybox & Loading file using location.hash both not working http://www.alphenweer.nl/index.php#page:alphen-afgelopenuur.php
The first thing you will see is the first bug.
I use the function getdata() located in my index.js file to call the page, and put it in the main DIV. That could be a problem, if anyone ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to use a String instead of a variable name in Java I've created 3 variables
radio1
radio2
radio3
is it possible to use a for loop and from a String called "radio" to add the counter in the end in order to get the variable?
for instance something like this
for(i=1;i<=3;i++)
if(("radio" + i).method... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Where should I put my static text files in order to be OTPy? I'm building a server with cowboy, and I've got some static HTML pages that I want to serve. Is there an OTP friendly place to put that sort of thing? Is there an established way to tell rebar where to look for this sort of thing?
A: If the pages are part... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to pop a layer in cocos2d please look the following picture
i want to do this function,when i click some button,it pop out a layer
my code is
-(id)init{
if (self = [super init]) {
CCMenuItem *successbtn = [CCMenuItemImage itemFromNormalImage:@"success.png"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to display 2 video on 2 different surface view within an android activity? I've done some research on display 2 different videos on 2 different surface view, but didn't manage to find any.
Is this possible in android?
I'm want to use android MediaPlayer to stream the videos.
Found something similar bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to center a relatively positioned element with jquery? I am trying to make a function which returns "what the left value should be to center the current element". This allows me to animate to the center (and back) or to simply center an item.
I am having trouble with the relative positioning part though. What di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Help with basic reading user input in C I am currently just learning C and for a project I need to read in integer inputs from the user. Currently I am using code that looks like this:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
int a, b;
printf("Please enter your first numbe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: jQuery - If ( "A" left value is equal to "B" width minus "C" width ) Title says it well:
If ( element-A's left value is equal to element-B's width minus element-C's width )
http://jsfiddle.net/UAKXq/1
What am I doing wrong?
A: This one is correct
if (parseInt(A.css('left')) == B.width() - C.width()) {
http://jsfid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Read dataset in R in which comma is used for field separator and decimal point How could you read this dataset in R, the problem is
that the numbers are floats and are like 4,000000059604644E+16
and they are separated by a ,
4,000000059604644E-16 , 7,999997138977056E-16, 9,000002145767216E-16
4,999999403953552E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: file's owner of xib is not what i expect i'm using xcode4.
i have a xib window (perhaps copyed by another one, i forgot because i have made it some times ago) named: chooseCharacter.xib
i have the chooseCharacter.h and .m as view controller (i thought)
i have added
-(IBAction)doneButtonClick;
on the chooseCharacte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get more encapsulation in C#? I have recently learned C# fully, approximately. However, in C++ I could implement a better encapsulation when passing objects to methods, with const modifier. But in C#, objects can be modified through the reference parameter, such as Dispose on Graphics object.
I need sometimes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Javascript procedural image Is it possible to create in javascript(without connecting to server) image, that after creation can be placed on website? In example, I send only formula from server, and client creates image based on it which I can use as jpg/png/bmp background(and do repeating etc).
A: Yes. There is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I combine this two htaccess rules? I have two conditions for the pages /portfolio and /portfolio/
RewriteRule ^portfolio$ index.php?p=portfolio&%{QUERY_STRING}
RewriteRule ^portfolio/$ index.php?p=portfolio&%{QUERY_STRING}
Is there a possibility to combine this conditions?
A: RewriteRule ^portfolio/?$ inde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I maximize HTTP network throughput? I was running a benchmark on CouchDB when I noticed that even with large bulk inserts, running a few of them in parallel is almost twice as fast. I also know that web browsers use a number of parallel connections to speed up page loading.
What is the reason multiple connect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Thread safe adding of subitem to a ListView control I'm trying to convert an old Windows Forms Application to a WPF application.
The following code no longer compiles under C# .NET 4.0:
// Thread safe adding of subitem to ListView control
private delegate void AddSubItemCallback(
ListView control,
int item,
st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery UI tabs positioned about 50% of their height below eachother This is quite odd, and I can't get it to stop happening.
Here's the relevant code. I'm using a Google CDN host for the UI-lightness theme.
<div id="prof_div">
<ul>
<li><a href="#prof_home">Profile</a></li><br/>
<li><a href="#prof... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which strategy to use with multiprocessing in python I am completely new to multiprocessing. I have been reading documentation about multiprocessing module. I read about Pool, Threads, Queues etc. but I am completely lost.
What I want to do with multiprocessing is that, convert my humble http downloader, to work wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Click binding not working I'm having trouble with the click binding. I'm trying to run some sample code from the Knockout website, which isn't working. The number of clicks isn't updating. I'm not getting any javascript errors in Firefox. Can someone help?
This is the code I have:
<head runat="server">
<script ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rotate, then translate in three.js I would like to rotate then a plane created with THREE.PlaneGeometry, but I have some problems.
*
*What's the axis in front of the camera with FirstPersonCamera ?
My own tests have revealed a X-front/back, Y-top/bottom, Z-left/right, am I right ?
*In order to make a cube with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I set default parameter value to BigInteger type? I need to have a class that has a constructor with BigInteger type. I'd like to set a default value to 0 to it with this code, but I got compile error.
public class Hello
{
BigInteger X {get; set;}
public Hello(BigInteger x = 0)
{
X = x;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Segmentation Fault on creating an array in C I have recently migrated to a new laptop - HP dv6119tx (Intel Core i5, 4 GB RAM). It has Windows 7 Home Premium 64 bit installed.
I am trying to create an array of type int of length 10^6 in C++ (Dev C++), which I used to create comfortably on my last laptop (32 bit Wind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: iOS Reachability error will not display I have created an error message that should display if the user can not connect to google.com by either WI-FI or WWAN. I do not get any coding errors, so nothing seems to be wrong. I am using a UIWebview that goes to twitter.com. The issue may be that I am trying to get the er... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rewriting URL based on who is logged in Im looking for the best way to change the URL to pages based on who is logged on, the limitation is all the pages are PRE generated so the actual html will already be generated and cannot be generated again on a pr user basis.
Posible solutions
A posible solution might be to u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Put two monadic values into a pair and return it I am playing with Parsec and I want to combine two parsers into one with the result put in a pair, and then feed it another function to operate on the parse result to write something like this:
try (pFactor <&> (char '*' *> pTerm) `using` (*))
So I wrote this:
(<&>) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to update foreign key value in mysql database I have three tables: categories, languages and categories_languages. Categories_languages is many to many table which links together categories and languages. I would like to update a foregin key value in table languages but it throws me error #1451 - Cannot delete o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: .append jquery, limit to one character per I have these two functions:
jQuery.fn.enterText = function(e){
if( $("#cursor").val() && e.keyCode != 32 ){
var character = $("#cursor").val();
$("#cursor").val("");
this.append("<span class = 'text'>"+character+"</span>");
$("#cursor").insertAfter(".text:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: help with script path how do i reference my script properly so when deployed application won't have a problem finding it?
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js "></script>
<script type="text/javascript" src="/Public/Scripts/jqModal.js"></script>
<scrip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get an instruction trace on Mac OS X 10.5 PPC? Apple used to ship a tool called amber as part of CHUD with Xcode 2.5, which would allow you to get an instruction trace for a process. You could then feed the instruction trace to simg5. The simg5 tool shipped with Xcode 3 but without amber, which makes it k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to combine asterix syntax with table abbreviations Is it possible to combine * syntax with table abbreviations?
I want to do something like:
"SELECT subfunds.* FROM subfunds S" +
" INNER JOIN funds F ON S.id_fund = F.id" +
" WHERE F.fund_short IN('" + stSQLFundList + "')"
The above code gets a syntax error
"i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java RegExp escape repeated single quote I'm trying to split a string by single quotes, but taking into account that a repeated single quote represents a escaped quote. So for example the following string
String ss ="aaa''bbb'ccc''ddd'eee";
would be splitted in
aaa''bbb
ccc''ddd
eee
so the regular expression shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to build Android NDK .so without STL? I'm using the newest Android NDK r6b to build my shared object. This library does not use any kind of STL at all, but resulting .so includes many STL stuff like std::bad_alloc_what(void) and many more, which increases size of binary greatly. Also release builds include this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Problem running Heroku's Facebook app tutorial with Python I am testing Heroku's ability to write a Facebook app with Python. I'm having a problem running the basic tutorial. It seemed like this question was worth asking on StackOverflow in case there's an answer that helps other people who run into the exact same p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is it possible to SIMULATE a mouse click using a mouse down and up events? A previous question has gotten me thinking. Is it possible to simulate a MouseEvent.CLICK to get fired by just firing first a MOUSE_DOWN followed by a MOUSE_UP.
As per Adobe's doumentation.
"... For a click event to occur, it must always foll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Spawning a kernel mode thread - Windows I have intensive processing that I need to perform in a device driver, at DISPATCH_LEVEL or lower IRQL.
*
*How do I create a kernel-thread?
*What IRQL does it run at? Can I control this?
*How is it scheduled? Because I am thinking from a user-mode perspective here, what p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delete TableViewRow in Titanium mobile I have a TableView, but don't want to use the builtin swipe-to-delete functionality for various reasons. So, I have a button in that row that should delete the containing row. How would I do that? The TableView object has a deleteRow() function, but it requires the index of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: presentmodalviewcontroller - how to not to make it cover entire screen? I have a tab bar and a search button on its toolbar. So now whenever the user clicks the search i would like a view to come up (presenetmodalviewcontroller) but present modal view controller covers entire screen is there any way that it covers o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating named relations in Rails 3 models I'm trying to learn Rails and I'm struggling to understand how self relations are declared using the ActiveRecord component.
If I have something like this:
class Comment < ActiveRecord::Base
has_many :comments
belongs_to :comments
end
Being the related comments the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to synchronize sliders' values? I use jquery mobile sliders:
<div data-role="fieldcontain">
<input type="range" name="slider1" id="slider1" value="0" min="0" max="255" />
</div><br><br>
<div data-role="fieldcontain">
<select name="switcher1" id="switcher1" data-role="slider">
<option value="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why isn't my div content showing? I have a #info div element which shows some text strings like below:
<body>
...
<div id="info">
ABCDEFGHIJKLMNOPQRSTUVWXYZ ...
</div>
</body>
I would like to CSS the #info div to position it at the bottom center of the page, so I did the following thing:
#info{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: can you use jqmodal ajax with web forms is there a way to use jqmodal's ajax property with asp.net webforms?
<script type="text/javascript">
$(document).ready(function() {
$('#Button1').click(function() {
$('#modalContent').jqm({
ajax: "~/ShelterCreateForm.ascx"
});
$(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Obstacle avoidance using 2 fixed cameras on a robot I will be start working on a robotics project which involves a mobile robot that has mounted 2 cameras (1.3 MP) fixed at a distance of 0.5m in between.I also have a few ultrasonic sensors, but they have only a 10 metter range and my enviroment is rather large (as a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: iOS only CSS file? Is there a way to include a CSS file that only works for iOS? Thanks.
It would be preferred if this is done browser side, although server side detection could be a viable option if it works well enough (server is python flask based)
A: You can use CSS media queries:
http://www.mobilexweb.com/blog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Not able to make an HTTP access to SQL Server Analysis services 2008 on Windows Server 2008 via IIS 7 My intention is to access the SSAS Database without Windows authentication. The user outside the domain should be able to access the cube and built PIVOT tables around it. Thus I found that we can use HTTP access fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error message: "identifier expected" I´m doing an exercise from the learning book "Java, how to program". I am supposed to write a program that makes the user type in miles driven, and liters of gasoline used for a not decided number of trips.
The program is supposed to print miles pr liter for each trip, and an ave... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Welcome aboard ActiveRecord::ConnectionNotEstablished I'm using Ubuntu, with Rails 3.0.1 with mysql2 socket.
When i do runing install, rake db:create and after rails server, my Welcome aboard, shows ActiveRecord::ConnectionNotEstablished in About your application’s environment
What i do?
A: Had the same problem on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is sencha touch / jquery mobile mature enough for production? Last week i've been busy with mobile html5 frameworks like sencha touch and jquery mobile.
I bumped into a few bugs and strange things when testing on real android phones. (from slow to missing components to even not displaying anything)
Is it correct to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Proper way to initialize gettext in runtime in asp.net / monodevelop I am trying to get localization to work in an asp.net mvc project using monodevelop on mac. I have added a translation project and translated the text 'Welcome' in danish.
public class HomeController : Controller
{
public ActionResult Index ()
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery sliders calculator Hi I want to create some sliders, what i need to do is to make a slider which has 3 options in it:
*
*the amount the user wants to borrow (from 12,500 upto 100,000) - will display a value from where the selector is here
*over how long (from five yrs upto 25yrs) - will display a value f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: drupal insert or update DB record with only one function similar quest is here: Help with db query in drupal - if exists update else insert
But drupal_write_record() third argument is to determine update or insert. Maybe drupal has another function, who self determine insert or update by primary key? Or I should it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to create a Prouhet–Thue–Morse sequence in Haskell? I'm a noob in Haskell, but some experience with ActionScript 3.0 Object Orientated. Thus working on a major programming transition. I've read the basic knowledge about Haskel, like arithmetics. And I can write simple functions.
As a practical assignment I have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Predict time to fully load page in javascript In javascript, is there anyway to query how large css/js files are, and how large image files are? I have a unique situation where I give a user a preview of a page, and that page can either be the full page, or google's cached text-only version of the page. The text onl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Submit multiple form using jquery Is there any way to submit multiple forms using ajax ?
for eg form id="form1" and form id="form2"
both the forms will be submitted separately as needed.
to be more specific i am using this for my form submission.
thanks
A: Sure:
$('#form1, #form2').submit();
after having AJAXifi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: org.aopalliance.intercept.MethodInterceptor not found despite being in Classpath - Spring + JBoss AS 7 I am trying to use Java Persistence API (JPA) with Spring in a JSF 2.0 application with Hibernate 3 on JBoss Application Server 7 Web Profile. Upon startup, I get the following error:
21:24:12,880 WARN [org.jboss.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issues registering C++ COM DLL on 64-bit Windows 7 I have a simple C++ ATL COM DLL and a 32-bit Visual Studio Setup installer. All is well on 32-bit Windows but there are some issues on 64-bit Windows 7.
In addition to HKCR, my RGS script adds some registry entries to HKCU as well. After inspection with Registry Edi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Building web based interface for mssql I am maintaining the databases for my organization in mssql. I have many tables for my database. Now I have to develop a web based service so that any user without the knowledge of sql could access the tables and pull the information they want. I have little knowledge in php...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ocean 2010.1 with VS2010 Can I use Ocean for petrel 2010.1 with VS.2010 to write petrel plug ins?
I ask because I need to use some specific features on the .NET 4.0.
Thanks
A: You can use VS 2010 if you do not need the Wizard to generate Ocean stub code.
Petrel 2010 uses .Net 2.0. This means you can use features ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RoR Routes Error: From a link_to built URL, route appears in rake routes routes.rb
resources :project_associations, :only => [:update]
rake routes
project_association PUT /project_associations/:id(.:format) {:action=>"update", :controller=>"project_associations"}
ERB
<%= link_to membership_command[:text], proj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C++ class has no member named 'blah' I have a .h file with this in it:
#ifndef CS240_LINKED_LIST_H
#define CS240_LINKED_LIST_H
#include <string>
//! LLNode implements a doubly-linked list node
class LLNode {
friend class LinkedList;
public:
LLNode(const std::string & v, LLNode * p, LLNode ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove the extension of a file Given a filename like:
package.zip image.jpeg video.avi etc
I'd like to remove the extension if exists. How can I make this in Java? THanks!
A: Here is a slightly more robust version:
public static String stripExtension(final String s)
{
return s != null && s.lastIndexOf(".... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Is a binary JSON javascript library available for browsers? In order for efficient server side parsing I am looking into a BSON solution directly for the browser javascript environment. The idea is to utilize the entire ASCII space by means of binary websockets. Any suggestions?
(Any nodejs suggestions are welcome a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: HTML Resizing Text I want to have a div stay at 500 height. Text is dynamically inserted into this div. Different text lengths are inserted. Right now, my div expands to accomodate the full text. How can I instead have text shrink so it always fits within the bounds?
A: You cannot use HTML and CSS to dynamicall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove Specific Information from a String - PHP I'm working on a php script for work, I've got most of it figured out and spent hours,
trying to get this working. Here's the deal. I've got this information.
</i>xxxx at \<a href=\"http://xxx/xxx/xxxx/11205xxx3887\" data-hovercard=\"/ajax/xxxx/xxx.php?id=112054175xxx3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Maps Javascript API: Multiple Markers at One Location Because of "Sub Stores" I'm building a site that uses this api to look for some specific stores. One of them is Target. The problem is my searches usually return 2 to 3 markers at the locations showing "Target", "Target Optics" and "Target Pharmacy". Does ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: While-loop in Java not working Alright, so the problem is this:
I want to enter a bunch of numbers, a random set, of say 5 numbers. At the end of that number, I'll add a sixth number, 0, which will be a signal for my loop to end.
To achieve this, this is what I'll do.
I run my program and this is my input:
1 3 4 2 5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find the cause for blocked threads found via jstack? I ran jstack on my java application (runs on tomcat and ubuntu server edition) because it seems to consume a lot of memory after a while.
So, with jstack I found out that many threads seem to be blocked:
Console log: http://dl.dropbox.com/u/17844821/zeug/th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do the Windows DDK samples deal with being paged out? I don't see much code dealing with it in the samples How come the Windows DDK samples do not deal with being paged out? Are they non-pageable?
A: Pageable code is marked with #pragma code_seg("PAGE"). That's why the drivers are not dealing with paging. They ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to track messages on an outlook server i'm writting a program, and some of its features is to track email messages sent to a specific email addresse.
the server is MS exchange, and i'm wondering how to make this feature.
the purpose is :
whenever an email is sent to a specific addressse : admin@domain.com, this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: andengine empty TextureRegion I want to create a Sprite with its children. The Sprite will be empty but the children will not. So I need a TextureRegion to create the sprite. Such as sprite itself is empty, I don't need to create a texture from assets, but I need a Texture to create the sprite
new Sprite(pX, pY, pT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery Plugins and the Rails 3 Asset Pipeline -- What am i doing wrong? I'm working on a web app in Rails 3.1, fully (I think) utilizing the asset pipeline for css, images, and js. I'm running into a pretty consistent issue when I try to implement jQuery plugins. I've been able to solve it in one case, but not in an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring 3.0 with default servlet 2.3 Just out of curiosity I want to know why does the spring releases comes with servlet 2.3 api and not with servlet 2.5 spec? I downloaded spring 3.0 and I see servlet 2.3 api.
A: I guess Spring 3.0 is compatible with servlet 2.3 onwards. You can always use newer version since Serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you install paramiko on Mac OSX? I'm having a lot of problems with this one.
When I try using easy_install, I get this error:
warning: GMP library not found; Not building Crypto.PublicKey._fastmath.
unable to execute gcc-4.0: No such file or directory
error: Setup script exited with error: command 'gcc-4.0' ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: strongly typed model /need output in model format actually i'm new to this technology, i am using mvc2 architecture. l cant able to load the data from my model to view page. i used strongly typed model EventListing.Models.EventInfo. i need output in model format. how can i use my select function
Model
public class E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create one to many in SQLITE3? How to create one to many in SQLITE3?
I have 2 tables:
Mans:
_id name
1 antony
2 fred
and
point
_id date point
1 23 77
24 99
2 25 78
5 0
I don't know SQL syntax, help me , please.
A: The syntax for this is as fol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What HTML5 Canvas based Mapping libraries exist? The Bing Maps and Google Maps JavaScript/Ajax Mapping Controls/Libraries use <img/> tags for rending map tiles and such.
Are there any mapping controls/libraries available that utilize the HTML5 Canvas element for rendering the map tiles?
A more modern control would b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Using regex to insert a space in a string in php I have a string that is not properly formed and am attempting to correct it. An example of the string is: -
A Someone(US)B Nobody(US)
I am attempting to correct it to: -
A Someone(US) B Nobody(US)
I am using the below code to match ")" followed by a capital letter and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android video recording app nuiances I have just started Android development.And my goal is to create an android webcam app.
I have taken the base code from here:API Demos
and my modified code is included below..
recording happens on click event.But the first time i click,
logcat shows me could not connect to camera... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: django - what's the proper way of passing the "request" parameter to a custom template tag I created a custom template tag that I want to use on every page on my web site. I have a function get_ip inside the custom template tag that needs the request parameter in order to get the IP address from the user. See below... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Monodevelop ask me for a ssh key password when it is registered in ssh-agent I can commit it fine using the command line and monodevelop has no issue with the public repo but when i try to push it to github it keeps asking me for the password to idrsa, I have tried using ssh-add to verify the key and it ver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to delete the first row of a dataframe in R? I have a dataset with 11 columns with over a 1000 rows each. The columns were labeled V1, V2, V11, etc..
I replaced the names with something more useful to me using the "c" command.
I didn't realize that row 1 also contained labels for each column and my actual data s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "98"
} |
Q: Inserting linebreak in the title attribute using javascript/jquery Question:
I need to put a linebreak inside my tooltip so it's not all on one line. I use tooltipsy to generate my tooltips. It works by using the title attribute on any anchor tags with the class "hastipy" as the content of the tooltip.
So the code: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to find files with same size? I have a file structure like so
a/file1
a/file2
a/file3
a/...
b/file1
b/file2
b/file3
b/...
...
where within each dir, some files have the same file size, and I would like to delete those.
I guess if the problem could be solved for one dir e.g. dir a, then I could wrap a for-loop a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Rails get title How can I get the title of my page using Rails? content_for will set it, so is there a better way than to assign it to an instance variable?
A: If your'e using content_for to set it, you can simply use content_for to get it as well.
<% content_for :title, "My Title" %>
Some time later ...
<title><... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do I need to try/catch on opendir in PHP due to E_WARNING? I'm making a little file browser for homework - and I have it working as well as I need to, but I'm a little confused on handling error scenarios in PHP now that I'm trying to refactor my coding.
I'm used to C++/C# try/catch error handling, which PHP seems t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Sending info from UITableView to SuperView I have a UITableViewController that I pragmatically call into my superview when needed. When I tap a table view I want the info to be placed in a UITextField. now I can get it to log correctly from the superview but the text never gets placed in its correct field.
Coming fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# - How to Rretrieve Background Color of Window I have searched in this forum and I have not found anything that would help me with the following. Please help if possible. Thank you.
I have set the background of a window to black (or any other color I like). As part of the calculations done by the app, I plot diffe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting objects in a Guice object graph I'm trying to make a facade for a library I'm giving out. In my facade I use Guice to contruct the object graph. Deep in the object graph is a Proxy object, that has getURL/setURL methods.
In my facade, how do I get the Proxy instance used to create my root object? I want my f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Skipping text while reading files in C++ I'm learning C++, and I'm doing work with data loaded from external text files using cin.
I'm trying to recognize certain strings in large amounts of data that I need to skip through.
How would I write a function that skips through a certain number of characters in a file / o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: My sub query is adding 20 seconds to the execution time. How can I speed it up? I have a table of sent SMS text messages which must join to a delivery receipt table to get the latest status of a message.
There are 997,148 sent text messages.
I am running this query:
SELECT
m.id,
m.user_id,
m.api_key,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Telerik MVC Grid Ajax Parameters? I am kind of fed up with trying to figure Ajax Grid parameters. I have created several grids and the parameters just kind of seem to be willy-nilly, I try one thing, it doesn't work for one, then works for another.
My understanding is that you really don't have to put the parameter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Destroy a record before it's saved in rails 3 In my model I have specified a before_save method to run, and check the new record against some data. If the new record isn't what I want - how can I stop it from being saved?
Here is essentially what I'm trying to do (and failing):
before_save :itemCheck
def itemCh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Repository pattern with foreign key relationships in EF I've constructed a database and used the Entity Framework to generate some domain model classes. Basically VideCollection is a collection of Videos and I'd like to display the each Video Collection along with it's Videos on some page. Following the repository p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it necessary temporary variable when allocating ivar used only in that class? If ivar is used by other classes, I use @property (noatomic, retain) and @synthesize.
And I add it to the view like this. label is ivar.
UILabel *aLabel = [UILabel alloc] initWithFrame:frame];
self.label = aLabel;
[aLabel release];
[sel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access a Div inside a Div (JQuery) I got a problem with accessing a Div's attribute inside another Div.
I'm using the JQuery Plugin QuickFlip and want to change the background image
of the back.
<div class="quickFlip">
<div class="blackPanel"> </div>
<div class="redPanel">
<p class="quickFlipCta">Click to Fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Snake Game Program - Making the Body of the Snake EDIT: (QUESTION ANSWERED)
So I have a Thread controlling x and y and making it change. My problem is that when the snakes body gets put up in the GUI it puts it directly on top of the head instead of 12 spaces behind it. I know why it's doing it but I am not sure ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Website and Service Sharing Bin Directory I have an ASP.NET Website and Windows Service that I'm installing with a Wix msi.
They have the exact same dll references. I'm trying to decide if we should just have the Windows Service share the Website's bin directory and get its assemblies from there.
My gut says this is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Animation: specify speed, not time I have a draggable element $myElement with revert: true. Now specifying revertDuration will determine the time the reverting animation will take to complete.
My problem is that the speed of the animation will vary greatly depending on how far $myElement is dropped from the original... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: href attribute of not being set In my application, I send an AJAX request to a server, and based on some data, I have to change the href attribute of element. Here's my code:
$('#unclaimed_codes_list li').map(function(){
$(this).children("a:first").text(fname + ' ' + lname + '(' + key + ')');
}
$.get('/accs/g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Handle time of received interrupt in windows I have an external controller with only one button connected to PC with RS232.
Operating in Windows, I want to know the time of hardware interrupt being received.
Time of control being received by user application process is incorrect here.
I want to know the way of redef... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: rails -double negative of variable * warning - newbie alert *
I'm reading a book called RailsSpace to learn Ruby on Rails framework. The author built user profiles which the user can edit, and now he's building the public facing profiles based off the other user profiles. The only change he has to make is to basical... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Self hosted WCF Service not working when i type url in browser? I'm new to wcf. I have Made simple self hosted service and added app.config but when I type address in the browser it is not showing me the service page that we get when we create our service http://localhost:8067/WCFService it is not displaying the ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7541685",
"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.