text stringlengths 8 267k | meta dict |
|---|---|
Q: Postfix and Amazon S3 I have a Postfix mail server running on a Amazon instance. Is there a way to interact with Postfix and save every mail that comes to server in a file on Amazon S3 and to save email details in a Amazon SQS queue (mail details: to, from, subject, etc, and Amazon S3 file name)?
I'm new in Linux an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Joomla: multiple joomola sites under 1 domain/1 installation of joomla? Basically I am wondering if i can have 1 main site (e.g. 'www.mysite.com') with one look/template applied and articles associated with that site, then a completely different site with a different look/different articles for a sub domain 'www.mys... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Hiding code in ASP.NET application I have an ASP.NET application that i deployed to a server by copying the project to the server and then configuring IIS.
What happens now is that i need to prevent the access to the code. Is there any way to do this?
Do i need to deploy in a different way or is there a way to someh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: php script downloads after form submission instead of execution The site have a form where pdf is uploaded and form is submitted. For small pdf file size 345KB. it works fine. But for large pdf size the php script ids downloaded instead of execution. I have chnaged the .htaccess as per below for large file support. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sencha touch: Issue with adding items dynamically I have the following control:
app.views.MapControl = Ext.extend(Ext.Panel,
{
style: { background:'white' },
items:
[{ xtype: 'panel',
id: 'mapContainer',
width: 1700,
height: 1124,
html: "<img class='mapImg' style='width:100%... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can a session carry long text? In ASP.NET C# Session["transfer_item_1"] can this function carry a very long text of 1Mn chars? or do it have any limits?
A: You can do that but it is not recommended neither serves the purpose. It degrades server performance.
Check this for your complete options.
http://msdn.micros... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Incrementing javascript problem I'm extremely new to javascript so I've no idea if I'm doing this correctly.
I've got some php that is filling a javascript variable array:
<?php
$pages = get_pages(array('child_of' => $post->ID, 'sort_column' => 'menu_order'));
$data = array();
foreach($pages as $post){
setup_post... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Indy DnsResolver Invalid Packet Size Delphi XE2 i am working in delphi XE2
i want to run dnsresolver over tcp as it throws error when ever data is greater than 512 byte i think due to udp size limit.
so what configration is needed for dnsresolver to work over tcp with increased size limit.
thanks
A: TIdDNSResolver ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Touch Events on SVG with JQuery mobile I work on a web app which contain SVG in each page, in order to turn a page, I must to use swipe (left and right). Swipe events are detected without any problem on a div or img, etc. But it is impossible to detect touches event on included SVG file :(
I'm using JQuery 1.6.4 and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use a second database for user authentication in Symfony2? In my Symfony 2.0 application, I have to access a second database which contains the user data. Accordingly, I've got two database connections defined in config_*.yml. My approach to this problem was to pretty much duplicate the existing EntityUserPro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: The Weblogic server shuts down on closing the script window? I have installed the Fusion SOA 11.1.1.5 on a remote linux (64 bit) machine and successfully started the weblogic server by using the startWeblogic.sh command from the DOMAIN_HOME/ folder (not from the DOMAIN_HOME/bin/ folder). I have a couple of doubts wr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to check device is ipod when send sms inapps in iphone how to check device is ipod when send sms inapps in iphone.
i want to diasable sending sms when device is ipod touch
here is my code
smsComposer = [[MFMessageComposeViewController alloc] init];
smsComposer.navigationController.navigationBarHidden ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use both blank and default date in date_select in Rails? The following code works as expected, using the @the_date as the default selected date.
<%= date_select("the_date", "", :default => @the_date ) %>
However, in the case there is no date, it needs to show blanks. The following code displays blanks, but a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: WebGL geometry interactions I have a dynamic surface in WebGL, that is animated in vertex shader. I want other objects to interact with this surface (for example, an object riding on dynamic terrain). What's the best way to do this? Should all these calculations be done on CPU? Is there a way to calculate this stuff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JS/jQuery number increasing in for According to the example, i want in each times adding new input with putting number in fields(1, 2, 3), number increasing in each one from new input adding to name[+number increasing here+][] in the input.
Now i have this in my code:
Example:
if put to "field 1" number 2 we get to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to 'continue' from within ForEach WorkFlow activity? At the moment I'm capturing any relevant exceptions, then using an If activity to decide whether to continue processing or not. In non workflow code I'd just continue to the next item.
Is there a Workflow equivalent to continue?
A: Neither continue, nor break... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass parameters to ui:include that inside of c:forEach tag We are trying to create a list with iterating an entity with ui:include.
my .xhtml file is like;
<c:forEach items="#{entityHome.list}" var="entityId">
<ui:include src="/some.xhtml">
<ui:param name="id" value="#{entityId}" />
</ui:inclu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Conditional picture in an access form I would like to know whether it is possible or not to display a conditional picture in a form. Example:
if X>0 then picture 1 is displayed else picture 2 is displayed
I have looked for it but I didn't find anything
Thank you
A: If X > 0 Then
Me.Picture = "c:\picture1.jpg"
E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Detect if user is test user Facebook test users (created for an app) are working different in some ways than normal users. Ie. they can't like fanpages, so you can't test if "create.edge" listener is setup correctly.
Is there a way to detect if user authenticated to app is test user? It would be useful to implement ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MS CRM c#: Pickup string guid from dictionary and use it to populate lookup field when creating a new CRM record I'm a total newbie to C#. Trying to create a custom entity record. I have created a windows service that can connect and create the CRM custom entity record but only if I hard code the GUID's for the lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Format "12345678" to "1234-5678" How to format a string of numbers "12345678" to "1234-5678".
string str = "12345678";
//I want to format it like below
res = "1234-5678";
Thanks
A: You can use string.Insert:
string res = "12345678".Insert(4, "-");
The parameters are the index to insert into and the string to ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery ui autocomplete without filter I need to show user all autocomplete choices, no matter what text he already wrote in the field? Maybe i need some other plugin?
$('#addressSearch').autocomplete("search", "");
That doesn't work.
A: There are two scenarios:
*
*You're using a local data source. This is easy ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: jQuery in Windows 8 JS Applications Can we use frameworks like jQuery and jQuery UI in Windows 8 JS Applications? I can't find a document where I can read something about other frameworks.
Thanks.
A: Yes, you can. The only thing needed is to add the required JavaScript files in your application in Visual Studio and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to detect if .Net 3.5 is present on the System? I know this question has been answered in other post but it dosent solves my problem:
Senario:
i have developed an application .net framework 3.5 sp1 using WPF
When i run the application by clicking the executable i wish to check if the required .net Version is ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best way to calculate page count while creating a PDF in Quartz? My app creates a pdf page from app data, using Quartz and UIGraphics.
Basically I define a CGRect docRect to fit on that page, then increment an NSInteger yOffset each time I draw something.
If yOffset gets larger than docRect.size.height I do a UIGrap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Zend_Db_Select Select values not in specific table I've googled my question and read through a bunch of forum posts but I've yet to find the answer I'm looking for hopefully someone here can help me out.
For a project I'm building I've set up the following 3 tables; users, projects and projectUsers.
I've set up a f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JMS Timeout or TimeToLive I am fairly new to Java EE and JMS and am looking at doing an implementation using JMS.
Think of the following scenario:
Scenario
A user hits a servlet. A message is then put into a JMS server/Queue from this servlet. A response is then sent back to the user saying "Message Queued".
Option... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I divide the figure into the fields using SilverLight Can someone help me solve the question: How can I divide the figure into the fields, so depending on which area will be mouse click it will be carried out a specific event?
private void LayoutRoot_MouseLeftButtonDown(object sender, MouseButtonEventAr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to save a checkbox meta box in WordPress? I'm trying to add a checkbox into my custom meta box in WordPress and I ran into a problem with saving it - whenever I check the checkbox and update the post/page, it comes back unchecked again.
Here's the code I'm using:
add_meta_box(
'sl-meta-box-sidebar', // ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to set and destroy sessions in PHP Symfony How to set and destroy a session on the controller side?
Tried in the view side, works just fine. But now need it from inside the controller.
A: UPDATE:
Destroy a Session in Symfony 2 as follows:
$request->getSession()->invalidate(1);
As invalidate leaves the current ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: With ASP.Net, how do I enable browser caching for static content and disable it for dynamic content? I have found a lot of good information with regards to getting browsers to avoid caching dynamic content (e.g. .aspx pages), however I have not been successful with getting browsers to cache my static content, specif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Problem with understanding reference types I get from WCF service ObservableCoolection
MyTypes = e.Result;
ObservableCollection<MyType> MyTypes // it's a property of _myTypes
<telerik:RadGridView x:Name="grdSrL" ItemsSource="{Binding MyTypes}" SelectedItem="{Binding SelectedMyType, Mode=TwoWay}"
public ShowroomL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Looking for free/oss multiple window text editor (Perl + other lang) for view/edit different sections of same file at same time (windows platform) I'm looking for a free/oss multiple window code text editor (Perl + other languages) for viewing/editing different sections of same file. Can you recommend one for Window... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Bitwise subtraction Given the enum:
[Flags]
enum foo
{
a = 1,
b = 2,
c = 4
}
then
foo example = a | b;
If I don't know if foo contains c, previously I have been writing the following
if (example & foo.c == foo.c)
example = example ^ foo.c;
Is there a way to do this without checking for the existance of foo.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: ExtJS 4: Properly set waitMsgTarget using MVC pattern I have extjs 4.0 controller:
Ext.define('KS.controller.DailyReport', {
extend: 'Ext.app.Controller',
views: ['report.Daily'],
init: function() {
this.control({
'dailyReport button[action=send]': {
click: this.sendDailyReport
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to find out the last backup location used for a transaction log file in SQL 2005 or higher We have a product which uses a database and whenever a major release is done one of the upgrade scripts used on the database calls one of our stored procedures whose job is to drop and then recreate the fulltext... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set the Shift + End to select to the end of line? I'm using MonoDevelop 2.6 on MacOS X Snow Leopard.
Is there a way to customize the Shift + END (and Shift + Home) key combinations to select only to the end (or beginning) of the current line, not to the end of the document?
I suppose there is an option somwh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How can I format C# string output to contain newlines? strEmail =
"Hi All,"
+ "<br>"
+ "The User "
+ lstDataSender[0].ReturnDataset.Tables[0].Rows[0][1].ToString()
+ " has been created on "
+ DateTime.Now.ToShortDateString()
+ "."
I am writing C# code to generate an email whenever ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to code Jquery or Javascript in global.asax file Hi all i am having a requirement i.e i will have image icons on my form where i have to show tool tips when i hover the mouse on that icon. Assume that i have my controls as follows on a form
Bank Name Textbox Helpicon(when i mouse over on this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: JQUERY On Screen Keyboard When I search touch screen keyboard, I found this link.
JQUERY On Screen Keyboard
http://www.jquery4u.com/plugins/jquery-screen-keyboard-plugin/
I like this plugin so much.
But as my client requirement is a little more complex, I need to modify this plugin.
What I want to modify is keyboard... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to start rails server? I am developing rails 2.3.2 application.
When I type the command "rails script/server"
I got the following output instead of server starting why?
rails script/server
Usage:
rails new APP_PATH [options]
Options:
-J, [--skip-javascript] # Skip JavaScript files
[--dev] ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: facebook iOS SDK authorization without redirect to safari I need to authorize the access to facebook within the app, because I need to store the cookies where they can be used by the app later. So I want that the autorization takes place in a webview without the need for redirecting to safari. After some research I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Fluid Simulation using Smooth Particle Hydrodynamics Actually, I'm developing an SPH simulator using C++ and openGL. There are several problem I've encountered right now,
I make initiation fluid particles on one side of the box (I make box as boundary volume), shape them like box, and give them initial velocity equa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to run several classes in IntelliJ IDEA with same ordering? Is there a way of telling IntelliJ IDEA Community Edition to run several classes in the same ordering one after another? Every class implements its own public static void main(String[]) method.
I would like to avoid jUnit since it doesn't guarantee the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting rid of double green lines in blog posts I have a blog on Blogger, and sometimes, I notice that double green lines are automatically added below certain words, which will display an ad if you hover over it (see picture below). Is there a way I could permanently make these lines not show up (e.g. by adding cod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can HTML5 access private data like SMSes or contacts on iPhone/iOS? I'm not familiar with phone OSes. Can html5 do this on iPhone ?
Thank you.
A: simple answer: NO
SMSs access isn't even possible for native apps. Contact access can be done via "low level" C-APIs.
A: No cant access the SMS, you can't even access SM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I defind that object set was already created? I'm working with entity framework and mysql. We created a class
public class DataBaseContext : ObjectContext, IDbContext
There is a method
public IEnumerable<T> Find<T>(Func<T, bool> whereClause) where T : class
{
return CreateObjectSet<T>()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to implement a scheme interpreter for studying SICP I'm reading the book Structure and Interpretation
of Computer Programs, and I'd like to code a scheme interpreter gradually.
Do you knows the implementation of the scheme most easy to read (and short)?
I will make a JavaScript in C.
A: SICP itself has seve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Fast access to a (sorted) TList My project (running on Delphi 6!) requires a list of memory allocations (TMemoryAllocation) which I store within an object that also holds the information about the size of the allocation (FSize) and if the allocation is in use or free (FUsed). I use this basically as a GarbageCollect... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: what is the fastest way to generate random ip numbers in c? I need fast way to generate ip numbers that are valid (reserved ips are valid too).
For now i am using this:
unsigned char *p_ip;
unsigned long ul_dst;
p_ip = (unsigned char*) &ul_dst;
for(int i=0;i<sizeof(unsigned long);i++)
*p_ip++ = rand()%255;
ip.sin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to export a MySQL database (data folder) from an hard disk? I know, it is really sad trying to export a database just by copying the data folder! But I have a hard disk with an important database inside and I don't know how to export this database onto my actual system (winxp - mysql 5.0.37).
So, i've copied ol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Large print/echo break http response I am having a problem with an echo/print that returns a large amount of data. The response is broken and is as follows:
*
*end of data
*http response header printed in body
*start of data
I am running the following script to my browser to replicate the problem:
<?php
// M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: android.database.CursorIndexOutOfBoundsException I am running the software but when i scroll with the listview, its showing ok, but after a while i get this error message:
I am trying to display a cursor to a listview.
My Adapter class:
private class DBAdapter extends SimpleCursorAdapter {
private LayoutIn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: suhosin encryption bug when reloading apache2 configuration I have a Apache2 server installed running with php and suhosin. The php session are handled with Zend_Session and stored in database. Suhosin is configured to encrypt session data before saving it to the database.
While apache2 is running after a
/etc/init.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What does the dot mean in R – personal preference, naming convention or more? I am (probably) NOT referring to the "all other variables" meaning like var1~. here.
I was pointed to plyr once again and looked into mlplyand wondered why parameters are defined with leading dot like this:
function (.data, .fun = NULL, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "91"
} |
Q: WordPress posts in phpBB topics I like to know if there is a way to create topics on specific Forums when I save posts on WordPress side. Is there any tutorial available?
More specific. I like to allow my plugin users to combine a WordPress category to a phpBB forum, and when I create a new post in the WordPress, au... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526474",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting top and left of a CSS scaled element's normal state with jQuery? I'm scaling an element on hover with
transform: scale(1.2);
Now I need to get the top and left position on hover, but it gives me the top and left of the scaled position.. Makes sense, but I'd like the normal state top and left? Is there an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: php form submit counter So I've made an extremely simple 4 page static webpage for this client with a quick contact form handled by php. Everything goes swimmingly.
Then the client comes to me and requests that he is able to see a counter of how many submits have been made. So he generally wants a counter for his fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the difference between "descriptor" and "signature"? I am now using ASM (Java bytecode instrumentation library). To retrieve the signature of given method, there is a field which is named "desc". I guess this is an abbreviation of "descriptor", but why isn't it named as "signature"? Is there any difference b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: App showing in search but can't access I can see my app in search, but when i click it i get an page not found error, also I get a page not found error when trying to view insights. I wonder whats wrong?
my app name:Small Circles
url:http://mysmallcircles.appspot.com/
profile page:http://www.facebook.com/apps/appli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Undefined method 'on' for ActionModel I'm getting the following error:
NoMethodError in Users#new
Showing .../app/views/users/form/_new.haml where line #7 raised:
undefined method `on' for #<ActiveModel::Errors:0x007fb599ec6610>
The code in line 7 is:
7: = errors_for user, :first_name
And the application_helpe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: call FB.login() after FB.init() automatically i`m developing an app for Facebook.
My Code:
function init() {
window.fbAsyncInit = function() {
var appID = 'xxxxxxxxxxxxxxxxxxxxxxxxxx';
FB.init({ appId: appID,
status: true,
cookie: true,
xfbml:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to bind a DataTable to a WPF DataGrid while filtering the rows and have two-way binding I have a DataTable that represents a SQL table. The SQL table references itself in a parent/child manner, but only one level (a parent can't have a parent itself)
I want to bind this DataTable to a DataGrid so i can edit the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: net.rim.device.api.io.file.FileIOException: File system out of resources in blackberry Below code throws net.rim.device.api.io.file.FileIOException: File system out of resources this exception.
Can anyone tell me how it happens?
public Bitmap loadIconFromSDcard(int index) {
FileConnection fcon = null;
Bitm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Removing duplicates with Regex, using Editpad Lite 7 I have a comma-delimited list of words in a text document. I have basically just removed all the punctuation from a novel, so there is a lot of instances of the same words.
I can't find out how to use regex to leave just one instance of every word.
I'm using Edi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Force closing if i add a string to string array I have the code as below
String[] myList = new String[] {"Hello","World","Foo","Bar"};
ListView lv = new ListView(this);
myList[4] = "hi";
lv.setAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1,myList));
setContentView(lv);
The a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting background for fragment I have a list fragment and a details fragment in a xml layout which is set as the layout of an activity. How can I set a background image for each fragment. If I am doing it in xml like android:background=@drawable/anyimage it shows an error. I searched but didn't get what I needed, s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: libvlc media player in C# Hey guys and girls :) ok so i ran this project ->
http://www.helyar.net/2009/libvlc-media-player-in-c-part-2/ and it worked perfectly (he was using .net 2.0) however when i try anything above 3.5 it gives ->
Unable to load DLL ‘libvlc’: The specified module could not be found. (Exception ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Source for basic Shapes in WPF Does anybody know if there is some online source where one can download basic shapes such as the minimize/ maximize glyph, a star geometry or the Visual Studio pin glyph as WPF GEometry Path?
A: In Expression Blend you can find Shapes for WPF.
http://www.microsoft.com/expression/produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ThinkingSphinx Polymorphic relation problem | rails 3.1 I could not create index with thinking_sphinx for the simple polymorphic schema below. (Note: I am able to create index from has_many models but I want to create my indexes from 'belongs_to' model (Comment).)
For simplicity, I created a sample project which has... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why is a download manager required to utilize full download speed available via isp from computer in california accessing ec2 instance in virginia? So far I get an average of 700 kilobytes per second for downloads via chrome hitting an ec2 instance in virginia (us-east region). If I download directly from s3 in vir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ Constructor / Class Question: Error - left of must have class/struct/union I realise what this error means, the thing that is puzzling me is why I get it. I have emulated the error in this tiny program for the sake of this question. Here is the code:
source file:
#include "RandomGame.h"
using namespace std;
Nu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what is difference between sprite.width VS sprite.scaleX Both of sprite.width and sprite.scaleX can be used for scale a sprite. Is possible sprite.scaleX depends on screen size?
A: When you change the width property, the scaleX property changes accordingly
var rect:Shape = new Shape();
rect.graphics.beginFill(0xFF0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sqlite query results in crash in iPhone app - Memory Issue I am using a sqlite query to get nutrient values for a specific food item from USDA database.
The query works fine, when tried in simulator, but results in crash on device sometimes.
I am including the USDA database in the app itself. Also the table on whi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Widgets in Rails I have a business that I outsourced all of the tech for. Its essentially a widget on an external site, with a management panel on our domain selecting whats shown on the widget. Lets say its a manual "relevant news" widget.
I think I can code the rails part, but how would I do the widgets part? Can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can Joins between views and table hurt performance? I am new in sql server,
my manager has given me job where i have to find out performance of query in sql server 2008.
That query is very complex having joins between views and table. I read in internet that joins between views and table cause performance hurt?
If a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with Custom URL scheme and messages app in iOS I have registered an Custom URL scheme in my application. From server i send an SMS to the phone with the message starting with the custom URL scheme. example myapp://mymessageToApplication
When the SMS reaches the inbox, the messages application does not receogni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it neceassry to extends SQLiteOpenHelper? Is it necessary to extends SQLiteOpenHelper.I just want to copy the database(read only) from aseets folder.
A: if you just want to copy the database then its fine.
But if you want to read,update,delete or create new record in database then there are two ways
*
*Exte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Search in ListView c# I've wrote a method to search thru ListView for a given string and mark the ones that are found with Color. It works fine however with lots of information on screen and scrollable ListView it's sometimes hard to find what user is looking for.
Normally I do create special searches by modifying ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Instrumenting C/C++ codes using LLVM I just read about the LLVM project and that it could be used to do static analysis on C/C++ codes using the analyzer Clang which the front end of LLVM. I wanted to know if it is possible to extract all the accesses to memory(variables, local as well as global) in the source code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Log4j logging info messages without logging warn messages I'm trying to log certain info messages onto a file but as soon as I run the application both warn and info messages are logged. Now, from what I've read from this site, you cannot log one without logging the other. Has anyone tried this before? If so, how di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make invisible all running activities I want to show an alert box (like SMS alert) when a push notification is coming to device. My requirement is if the app is not visible or not running in forground, I want an alert box with transparent background. But is the app is running in forground, I just want an aler... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: isset in jQuery?
Possible Duplicate:
Finding whether the element exists in whole html page
i would like make somethings:
HTML:
<span id="one">one</span>
<span id="two">two</span>
<span id="three">three</span>
JavaScript:
if (isset($("#one"))){
alert('yes');
}
if (isset($("#two"))){
alert('yes');
}
if (is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: smartgwt filter editor problem i am using Listgrid of smartgwt api. i have set filter editor on the list grid using setShowFilterEditor(). On UI, i can filter out the text from the particular columns using filter editor which is shown on top of listgrid. till this, everything works fine. but problem starts after thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Zend_Search_Lucene implementation with Symfony2 returning empty result I have an implementation of Zend_Search_Lucene within a Symfony2 application. I am using Zend 1.11. The index seems to be being created, I have several files including:
_0.cfs
optimization.lock.file
read-lock-processing.lock.file
read.lock.file
s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to store SSL certificate in android webview In the app I'm working on, I have to make an HTTPS post to a web server. I was getting certificate not trusted errors when i do it directly(without webview).
But when i use android webview to load the HTTPS URL i can do
public void onReceivedSslError (WebVi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can't understand this "Unreachable code detected" error I have this snippet of code that is giving me problems.
The last break statements gives an error of "unreachable code detected"
this has caused a logical flaw in my program.
can someone identify the problem please?
thanks!
case 127232:
case1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get raw page source (not generated source) from c# The goal is to get the raw source of the page, I mean do not run the scripts or let the browsers format the page at all. for example: suppose the source is <table><tr></table> after the response, I don't want get <table><tbody><tr></tr></tbody></table>, how t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom LinearLayout width - weight placing problem I asked another questıon and after, I continued to this problem...
Firstly My first Question: how to Custom Button (has two TextFields) on Android
I extended a class form LinearLayout, and I add two buttons in it(width- fill_parent, weight-1).
But they can't place r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can i create circles in a image ....not using plot function? basically, i am supposed to create a image with circles and lines... not using plot function.
because the final output is to pop out by imshow().or image().or imagesc()...
and the created image will contiune the color processing.
A: The simplest way i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Air AutoUpdate & Windows 7 pin icon I've created an Air app for use in work. To make things slightly easier, I pin the icon to taskbar (Windows 7). The app uses the auto-update framework (default), which works fine.
After I update though, the pinned icon becomes a default blank page icon. If I click on this icon, Wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django-Admin.py not working I'm a complete noob at django and i cant seem to get the admin page up and running. I've set the urls.py correctly, and i've enabled the app in the settings.py module...all the database settings are correctly defined.
Help please
The error thrown is as shown below
Environment:
Request M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: not able to play audio from internet using AVAudioPlayer i tried to play an audio file from internet using AVAudioplayer but there is no response from UIView but if i m to play an mp3 file from bundle it works ..cud u guys help me out below is the code...
-(IBAction)playPause:(id)sender
{
NSURL *url=[NSURL URLWith... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the duration of "pointer not aliased by any other pointer" implication? Currently Visual C++ is shipped with runtime where malloc() is decorated with __declspec( restrict ).
MSDN says this decoration states to the compiler that a pointer returned by malloc() cannot be aliased by any other pointer. Okay, two s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to keep the VBScript command window open during execution When I execute a VBScript, the command window that it creates closes quickly before the user gets a chance to read the output. How can I get the window to stay open without modifying windows registry?
This is the code:
Set objShell = WScript.CreateObject(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How to define foreign key, index constraints in my migration script How should I define foreign key, index constraints in my db migration script for my Rails app in a 2.3.x environment?
A: ActiveRecord doesn't support adding foreign keys in a database-agnostic way, so you'll need to do this with DB-specific code. H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .setAttribute("disabled", false); changes editable attribute to false I want to have textboxes related to radiobuttons. Therefore each radio button should enable it's textbox and disable the others. However when I set the disabled attribute of textbox to true, it changes the editable attribute too. I tried setting e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "91"
} |
Q: how to get a single gps fix in android? I have a program that requires a single GPS fix when a service is started. This is needed to tell an on location change when the last location is. How to get 1 single GPS fix in an android service?
A: Ive found a way! all i did was defined a boolean StartUp then made this tru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Testing ServiceLoader in Eclipse Plugins I have four Eclipse plugin projects (create a new Java Project, right-click, configure, Convert to Plugin Project) in my workspace. The first (my.runtime) contains an interface (MyFactoryInterface) and a class (MyClient) that defines a method (List<String> getAllFactoryNames(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: explode function and array element reading
Possible Duplicate:
php explode and array index
I am new to PHP and would like to ask if there is a way to
write a php code like
$lengthofstay = ($duration <= 0 ? 'optional' : explode("_", $duration )[0]);
i mean calling the explode function and at the sametime reading... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.