instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
how do i load a local image from android assets from a generated (php) server-side html file?
eg.
>
img src="file:///android_asset/calendar-date-icon.png">
-or-
background:#ffffff url(file:///android_asset/calendar-date-icon.png)no-repeat;
cannot get either to work
| stackexchange/codereview |
How do I get id of an insert query? Simple:
insert into Ex(sth) values("value");
select @@identity
does not work. When I try to ExecuteScalar or any other I get exception: {"There was an error parsing the query. [ Token line number = 3,Token line offset = 95,Token in error = select ]"}.
I remind this is the CE edition... | stackexchange/codereview |
I am new to Android development and am interested in working out a design of an application. I am however, unfamiliar with the best way to handle what I want to do. I am interested in obtaining information from my band's Joomla website and placing it into an Android application. At the moment I'd like to get News artic... | stackexchange/codereview |
Why does the last assert in this built-in unit test in the ASP.NET MVC 2 project pass?
//File: AccountControllerTest.cs
[TestMethod]
public void ChangePassword_Get_ReturnsView()
{
// Arrange
AccountController controller = GetAccountController();
// Act
ActionResult result =... | stackexchange/codereview |
in my app I want to save the text that was typed in in a UITextView. How can I do this?
Thanks for you help.
Leon
| stackexchange/codereview |
I have:
img = imread('pic.jpg','jpg');
r = img(:,:,1);
g = img(:,:,2);
b = img(:,:,3);
subplot(3,1,1);
imhist(r);
subplot(3,1,2);
imhist(g);
subplot(3,1,3);
imhist(b);
How can I change colors of the histogram to Red, Green and Blue?
How can I change size of window tha appears?
EDIT:
Luis Miguel's answer regarding siz... | stackexchange/codereview |
As part of a master page template, several sites include a login control. Since the site is served over HTTP, I want the login control, once a successful login has been achieved, to resolve to a portal served over HTTPS.
The closest I've seen to achieve this may be here, but I'm not entirely clear on its implementatio... | stackexchange/codereview |
How do I sort my results in a random order. my code looks something like this at the moment:
Dim searcher As IndexSearcher = New IndexSearcher(dir, True)
Dim collector As TopScoreDocCollector = TopScoreDocCollector.create(100, True)
searcher.Search(query, collector)
Dim hits() As ScoreDoc = collector.TopDocs.scoreDocs
... | stackexchange/codereview |
how to create folder in C# and give her full-control & full-sharing ?
thank's in advance
| stackexchange/codereview |
I want to stop the execution of one single line from a site, so that the whole page is read by the browser except that single line. Or the browser may simply skip the execution of that javascript function.
OR
Is there way i can tweak the javascript somehow so that the random number generating function in javascript do ... | stackexchange/codereview |
I have a control with a property public MyClass MyProperty{...} which value is shown on the screen as a graph. I want this property to be bindable to any other MyClass in the program by using the Binding class (MyProperty would be the propertyName parameter in this Binding constructor, and the other MyClass would be th... | stackexchange/codereview |
HI all,
I am working with Delphi 7. I am facing a problem with Grid.
My Grid having 100 rows, I am appending some more after that. For example, I am selected item is on 1oth. The grid shows 20 items on screen at a time. I scrolled the grid to downward. I reached last one. Here grid's Itemindex= 10; Please note the se... | stackexchange/codereview |
I've a very trivial requirement which makes me go nuts. I've a DataGridView in windows forms application. This contains one databound ComboBox Column. I'm using DisplayMember and ValueMember properties of that combobox.
Now my requirement is ComboBox should show the list of DisplayMembers in drop down list but when us... | stackexchange/codereview |
I have two buttons in my view. When I sent the tag value of one of them in Interface Builder they stop working. I get EXC_BAD_ACCESS error.
| stackexchange/codereview |
Possible Duplicate:
Redirect STDERR / STDOUT of a process AFTER it’s been started, using command line?
Is there a way, in Bash, to capture/redirect the output (and stderr?) of a process once it's already running?
| stackexchange/codereview |
With XQuery you can use library modules within your query. They can be imported via
import module namespace mynamespace = 'com.mynamespace' at 'filename.xq';
The question is: is there a way to determine which file is associated with the module namespace so that the programmer can decide dynamically?
For example, my d... | stackexchange/codereview |
I need to dynamically create a class. To go in futher detail I need to dynamically create a subclass of Django's Form class.
By "dynamically" I intend to create a class based on configuration provided by a user.
e.g.
I want a class named CommentForm which should subclass the Form class.
The class should have a list of... | stackexchange/codereview |
According to the Hibernate Reference Documentation it should be possible to mix different inheritance mapping strategies when using Hibernate's XML-Metadata:
http://docs.jboss.org/hibernate/stable/core/reference/en/html/inheritance.html#inheritance-mixing-tableperclass-tablepersubclass
However, the corresponding sectio... | stackexchange/codereview |
I have defined a performance counter as:
PerformanceCounterCategory pcc = new PerformanceCounterCategory("Network Interface", ipAddress);
string instance = pcc.GetInstanceNames()[1]; //first card
PerformanceCounter bandwidthCounter = new PerformanceCounter("Network Interface", "Current Bandwidth", instance, ipAddress... | stackexchange/codereview |
I have C program I compile with mingw on Windows. It works fine but requires MSVCRT.DLL. I want to link that statically (like I can do in Visual Studio). Is this possible?
I tried -static flag to gcc and it didn't make any change.
What about C++ program using also standard C++ library?
| stackexchange/codereview |
I want to test one program which can capture and send IP packets to some clients, so how to mock request or client in Cucumber? thanks
| stackexchange/codereview |
I have a c# web service. When I get a new request I create a logging instance. I have many other instances of other classes to process the request and I want them to log as well. What is the best way to share logging instance without passing it in constructors or properties ?
| stackexchange/codereview |
Pretty straight forward question: How do I build a thrift dll for use in a Windows Phone 7 application?
| stackexchange/codereview |
I have a base class A and classes B and C are derived from it. A is an abstract class, and all three classes have a constructor that takes 2 arguments. Is it possible to make a method in the base class A like this:
A* clone() const
{
return new this.GetType(value1, value2);
}
and if the current object whose clone(... | stackexchange/codereview |
I have a variable in a function that I want to be accessible by other functions. How would you do that?
| stackexchange/codereview |
FullSimplify fails to recognize that:
a*Conjugate[b] + b*Conjugate[a] = 2 Re[a*b]
I have some very complex equations that could be simplified greatly if Mathematica could recognize this simple identity
(and that a*Conjugate[b] - b*Conjugate[a] = 2 Im[a*b]).
See, Mathematica will not finish solving my equations... | stackexchange/codereview |
I'm just wondering if it would be possible to open new browser window/tab inside AJAX/GWT application. For example: there is an application which takes all the space of one page, and in one part there is tabbed panel, so I would like to open fully functional browser window/tab inside that panel.
Is it possible somehow?... | stackexchange/codereview |
I am posting values to from an ASP.NET website to a completely different site (Paypal actually). I accomplish this by returning a page to the user that has all the hidden form inputs written and then a Javascript function that automatically submits the form.
The process is supposed to be seamless, but the blank page is... | stackexchange/codereview |
I'm a math teacher wanting to insert some dynamic math into a website. What I'd like to achieve is to have a button that a student can press to randomly vary a question so that it's the same type of question, but with different numbers. For example,
Factor the quadratic expression of the form ax^2 + bx + c, where a = 1... | stackexchange/codereview |
Wondering if there's a way I can avoid fetching the attachments as well.
| stackexchange/codereview |
I'm parameterizing an Excel chart via OLE. The background picture is set.
Sheets.Item['Chart1'].SetBackgroundPicture("ThePicture.jpg")
I want to change the Picturetype to stretched.
| stackexchange/codereview |
I know this sounds a big vague so I'll try and be as precise as I can be. I'm pretty new to programming. I wrote an application a year ago that all my coworkers use on a daily basis. Now I have added a basic peer to peer update function, with an ACL defined in a local host file. It have it working in a way that fil... | stackexchange/codereview |
I am using the excellent asio for an asynchronous network client. When handling read (async_read) I am concerned that the method/function handling the data might hang or take too long (the function is supplied by the user of the class).
What is the best way of calling the supplied function and ensuring it won't take ... | stackexchange/codereview |
I'm trying to figure out if an obj returned from a call is of a certain type. Here is my code:
type MyType<'T>=
val mutable myArr : array
val mutable id : int
val mutable value : 'T
and in some method that has MyType in scope...
let a = someFunThatReturnsObj() // a could be of type MyType
How do I f... | stackexchange/codereview |
I just want to create my own OLE server, which support in-place activation.
e.g. In TOlecontrol we can do following:
OleContainer1.CreateObject('WORD.Document',FALSE);
That is ok. Word document is embeded into the main application form. But when I tried:
OleContainer1.CreateObject('Server.MyOleServer',FALSE);
MyOleS... | stackexchange/codereview |
Resharper has some commands I just can't live without (keybindings are given for the Visual Studio template):
Open by filename (Ctrl+Shift+T)
Locate in solution explorer (alt-shift-T, useful only when solution explorer is configured not to track the current file already)
Does visual studio have alternatives to these ... | stackexchange/codereview |
In SL4, I am finding it oddly difficult to figure out how to make a HyperlinkButton navigate to another Silverlight page in the same application when clicked. The structure is:
<HyperlinkButton Content="Technical Information Screen" Height="23"
Name="hyperlinkButton1" Width="320" NavigateUri="/tis.xaml" />
"tis.xaml"... | stackexchange/codereview |
I want to make a simple stupid twitter app using Twitter API.
If I request this page from my browser it does work:
http://search.twitter.com/search.atom?q=hello&rpp=10&page=1
but if I request this page from python using urllib or urllib2 most of the times it doesn't work:
response = urllib2.urlopen("http://search.twit... | stackexchange/codereview |
I want to use the standard AuthorizeAttribute (i.e. not inherit it) but with a custom redirect. Is that possible? where should I check for 401 and redirect?
I've tried to add
<customErrors mode="On" >
<error statusCode="401" redirect="/Errors/NotAuthorized/" />
</customErrors>
but it didn't work.
| stackexchange/codereview |
I am working on an application, in which i will be receiving data in HashMap.
Every "value" in hasmap needs to be formatted based on XML Key tables. For example-
suppose HashMap has following values-
TxnDate = "15-Oct-2010"
cardType = "MC"
The XML table is something like this-
<Param name="TxnDate" input="dd-Mon-yyyy... | stackexchange/codereview |
I am using JQGrid within an ASP .NET MVC application. The grid itself is working great. However, the header height of the grid (or first grid on the page) is growing to match the height of my left navigation menu. Here is most of the Site.Master layout that I have. I just don't see why this is happening.
<div class... | stackexchange/codereview |
Someone I used to work for emailed me out of the blue and said they want me to update a VB3 (!!!) program I wrote for them because customers are reporting having problems running it under Windows 7. They have lost the source code (natch). Is there a decompiler for VB3?
| stackexchange/codereview |
We are maintaining a Lucene index which contains around 20mm documents. The nature of the search queries is such that indexing and quering can be easily split between different indexes.
To achive that we need to keep many (potentially thousands) of IndexWriters or IndexReaders/Searchers in memory to deal with indexing ... | stackexchange/codereview |
HI, I am new to WebOS dev.
I finished writing the sample app of chapter 2 of this book, everything seems to be correct except when I start the app I get this:
Is like my app is still loading but I can't really tell and it never ends. what does this mean and how can I debug this? What could be causing this?
I have trie... | stackexchange/codereview |
I am quite new to programing so I hope this question is simple enough.
I need to know how to convert a string input of numbers separated by spaces on a single line:
5.2 5.6 5.3
and convert this to a float list
lsit = [5.2,5.6,5.3]
How can this be done?
| stackexchange/codereview |
I installed ShareKit for Twitter Support in my app. I registered all keys and urls and so on. But my problem is: In my app the user sees sentences. I want that the user can tweet this sentence. What method do I have to write. I've got:
-(IBAction)tweetSentence {
NSString* message = [[sprueche objectAtIndex: sprueche... | stackexchange/codereview |
I'm wondering if it would be okay to keep all of my pages in one folder on a site. and leave only the index.html page in public_html?
I know the URL will be like example.com/pages/about.html but theirs a way to change that right?
| stackexchange/codereview |
I'm working with this structure in C:
/** This structure describes an Internet host address. */
typedef struct pj_hostent
{
char *h_name; /**< The official name of the host. */
char **h_aliases; /**< Aliases list. */
int h_addrtype; /**< Host address type. */
int h_length; ... | stackexchange/codereview |
Is there a way to execute a command in java that doesn't suffer from the startup overhead (slowness) of using ProcessBuilder?
More detail: I am using im4java which is a java library that internally uses ProcessBuilder to execute imagemagick's programs. It is slow. I have created a small unit test that shows that Proces... | stackexchange/codereview |
Is there a shortcut to jump out of closing parenthesis in PyDev/Eclipse? Having to hit arrow key to move the cursor outside of the parenthesis is kind of a pain.
| stackexchange/codereview |
I am using AdWhirl in my app and got a suspicious crash mid-game.
It appears to crash in the animationDidStop:finished: function which I didn't create.
Could this be a bug in AdWhirl?
I can't find this file referenced in the log:
(MMHTMLAdView.m:123)
This is the log:
Date/Time: 2010-10-21 09:54:14.861 +0200
OS... | stackexchange/codereview |
I am a newbie to VTiger, I am using the 5.2.0 version to try, learn implementing Issue Tracking.
Intro:
A client sends an email to say support@company.com, Mail Converter or Mail Scanner.. scans for the new email and if found creates a new ticket.
If admin sees a new ticket which is being raised in Trouble Tickets, mak... | stackexchange/codereview |
What's wrong with
public partial class MainWindow : Window
{
public ObservableCollection<TabViewModel> Tabs { get; set; }
public ICollectionView TabsViewSource { get; set; }
public int CurrentIndex { get { return TabsViewSource.CurrentPosition; } }
I get
Inconsistent accessibility: property type 'System... | stackexchange/codereview |
When using StringBuffer in java, I'm wondering how the append function is implemented when it needs to reallocate space.
For example, if I append a string longer than the currently allocated space, how does it manage this in the details of the method?
| stackexchange/codereview |
I am stuck; I did a search and I can't find a pointer on how to get this project to work. I have a form on my index.html.erb as:
<html> <head>
<title>Ajax List Demo</title> <h1>Listing posts</h1>
<%= javascript_include_tag "prototype" %> </head> <body>
<h3>Add to list using Ajax</h3>
<% form_t... | stackexchange/codereview |
I'm trying to open a file in Windows Phone 7, but it says it doesn't exist. Here's the code I'm trying:
IsolatedStorageFile file = IsolatedStorageFile.GetUserStoreForApplication();
bool test = file.FileExists("\\ClientBin\\clubs.xml");
And in my project I added a folder called ClientBin, and the clubs.xml is in there.... | stackexchange/codereview |
As Python's urllib module is too slow, I'm using Java code wrapped with JPype in my web site. When I tested my web site with Django web server, there was no problem. However when I switched the web server to apache2 + mod_python, following error occurs. I googled many times but couldn't find the answer. Is there any so... | stackexchange/codereview |
Why web storage API, web workers API and geolaction API are referred
as HTML5 features if they are into different working draft?
| stackexchange/codereview |
Java netty can only take X number of request per second? With the selector approach is it true that it can be a bottleneck in terms of serving request per second? We find that when the traffic is high, clients are unable to connect through, resulting in a time out.
| stackexchange/codereview |
I just started experimenting with jqModal and am having a strange issue.
The modal window is displayed correctly however I get a javascript error when I click anywhere inside it. When I look at the offending line of code, it turns out that jqModal is trying to run my entire page as if it were one big piece of javascrip... | stackexchange/codereview |
I implemented Facebook-Connect successfully and I'm able to retrieve User-Information using the Facebook Toolkit. But I cant sucessfully logout.
When I press the facebook-Logout button (which automatically appears when I'm logged in, because I'm using the autologoutlink-property)
<fb:login-button autologoutlink="true"... | stackexchange/codereview |
I am drawing some overlays on google map. If i move around the map too much, I get this error :
10-15 14:43:43.020: ERROR/dalvikvm-heap(299): 32768-byte external allocation too large for this process.
10-15 14:43:43.020: ERROR/GraphicsJNI(299): VM won't let us allocate 32768 bytes
10-15 14:43:43.260: ERROR/AndroidRunti... | stackexchange/codereview |
I've cretaed a TVF which returns a table with parent-records from a recursive CTE here.
That works excellent and the result is available directly. Now i wanted to get the child-records(they have the same FK as the current record's PK).
The problem is that it takes 1:10 minutes to get 22 child-records for a given id.
Wh... | stackexchange/codereview |
I recently read about SQLite and thought I would give it a try. When I insert one record it performs okay. But when I insert one hundred it takes five seconds, and as the record count increases so does the time. What could be wrong? I am using the SQLite Wrapper (system.data.SQlite):
dbcon = new SQLiteConnection(connec... | stackexchange/codereview |
We have a project that was implemented in linq to sql and is being migrated to LLBLGenPro runtime using the adapter pattern.
The first version of the app did a huge amount of caching, placing entire tables into the httpcache and then doing all the linking in the codebehind. (sigh)
So you get something like :
from p in... | stackexchange/codereview |
In a static C# method, I do var brush = new LinearGradientBrush(_snazzyGradient);, and this line throws an exception. _snazzyGradient is defined as follows:
private static readonly GradientStopCollection _snazzyGradient =
new GradientStopCollection
{
new GradientStop((Color)ColorConverter.ConvertFromSt... | stackexchange/codereview |
I'm developing an iPhone app, and I need a little help. I created a button and I want when I click on to change an image's imageView by the button's one.
the image and button :
CGRect slot1Rect = CGRectMake(70, 90, 80, 110);
UIImageView *slot1 = [[UIImageView alloc] initWithFrame:slot1Rect];
[slot1 setImage:[UI... | stackexchange/codereview |
I'm trying to create a blurred drop shadow (similar to the CSS3 box-shadow) in Internet Explorer. The most logical way to do this seems to be to find all elements that need a shadow in IE, and inject a new div inside of them using jQuery. This new div will fill the exact same space as its parent, and it can then be b... | stackexchange/codereview |
This should be a fairly straight forward python question, but I'm getting stuck getting the syntax right.
Let's say I have a string:
"1:a,b,c::2:e,f,g::3:h,i,j"
and I want to convert this to a map like so:
{'1': ['a', 'b', 'c'], '2': ['e', 'f', 'g'], '3': ['h', 'i', 'j']}
How would this be done?
I can figure out how ... | stackexchange/codereview |
i got two javascript objects api and myApi :
var api = {};
api.foo = function(){ ... };
api.foo2 = function(){ ... };
var myApi = {};
myApi.foo = function(){ ...};
myApi.myFoo = function(){ ...};
myApi.myFoo2 = function(){ ...};
i want to add all myApi.* functions to api object without overriding api.foo.
Indeed, i w... | stackexchange/codereview |
I want some simple CI for a small dev setup. Two motivations -- a full build takes some time, and an anticipated testsuite will also take some time. I really would rather not dive headfirst into one of the big players that require a java application container or whatever to show fancy graphs with multiple colors and et... | stackexchange/codereview |
I have a web site with several pages. Page1, Page2, .. etc
I don't want the user to visit Page2 posting its URL directly in the browser because Page2 should be visited only from Page1. In PHP, what should I code in Page2 to know that the user was before in Page1 and clicked a link or something that brough him or her to... | stackexchange/codereview |
Guys,
I have made two web application, both application deployed on differnent server with database. one have SQL and other Oracle.
server 1: Web application 1/SQL Database.
Server 2: Web Application 2/Oracle Database.
I have given link of Web application 2 on web Application 1. its means single sign on logic. I have ... | stackexchange/codereview |
i have a div to show when i pressed a button and hide when i pressed anywhere.
jQuery(document).ready(function () {
$(document).click(function (e) {
if (e.button == 0) {
$('#DivToHide').hide();
}
});
//If its own, return
$('#DivToHide').click(function () {
return fal... | stackexchange/codereview |
Is it possible to keep the same Method name for both insert and update in ObjectDatasource?
I am using Save() method for insert and update.But ObjectDataSource fires Update but does not
fire insert.
| stackexchange/codereview |
I have a model that references a ForeignKey(User) field.
When a user selects an item on his form I would like them to be able to see the get_full_name() instead of just the username.
class Books(models.Model):
author = models.ForeignKey(User)
| stackexchange/codereview |
I have my Rails application set up where each user can upload an avatar. The image is uploaded directly to Amazon's S3 using HTTP Post. So far everything is working except that the user is able to upload any type of file.
I'm using a fork of the d2s3 plugin by camelpunch. Here are the helpers:
policy = Base64.encode6... | stackexchange/codereview |
I have been looking over the Python documentation for code formatting best practice for large lists and dictionaries, for example,
something = {'foo' : 'bar', 'foo2' : 'bar2', 'foo3' : 'bar3'..... 200 chars wide, etc..}
or
something = {'foo' : 'bar',
'foo2' : 'bar2',
'foo3' : 'bar3',
... | stackexchange/codereview |
For ASP.NET Web Site, when I modifiy resouce files, is it necessary to deploy the new App_GlobalResources.compiled along with App_GlobalResources.dll to the server?
Thanks.
| stackexchange/codereview |
I have a table with 50 rows. I want to select particular rows with checkmark accessory but when i select some rows and scroll down the table then i see pre checked rows. I know that table cell are reused but i want to emit this problem what can i do about this?
- (NSInteger)numberOfSectionsInTableView:(UITableView *)t... | stackexchange/codereview |
I've been trying all day and just can't make the the TTPickerTextField work. It displays, I set its dataSource to the example code's MockDataSource and type in a name from the mock and it doesn't work. There doesn't seem to be any documentation or any examples anywhere on the internet, something that I find surprising.... | stackexchange/codereview |
I am using Visual Studio 2010, C#, Entity Framework 4 and Oracle 10g.
I need to be able to return the result of a database function as a scalar property of an anonymous type.
My Oracle schema has two tables, PARENT and CHILD, and a function FNC_ADD. I have created an entity model using the Visual Studio ADO.NET Entity... | stackexchange/codereview |
I have been given an old dll and the assignment of accessing it through C# .NET 3.5. I believe the dll was originally built with VB6, but am not positive. There is no documentation or source for the dll aside from an example for how to use the it in VB6. I have been able to succesfully access it through VB.NET 3.5. Exa... | stackexchange/codereview |
I'd like to embed a PayPal donate button on my website. But the problem is I live in Iran -- the country is sanctioned and people don't use international bank accounts or major credit cards.
Any thoughts? Please help!
Regards
Frustrated
| stackexchange/codereview |
I have a bunch of tables of data and I need to add a php function to them. The following is what the data normally looks like
<TR class="tr7">
<TD class="td70"><FONT class="ft5">Chateauguay</FONT></TD>
<TD class="td71"> </TD>
<TD class="td72">80</TD>
<TD class="td73"> </TD>
<TD class="td74">180</TD>
<TD... | stackexchange/codereview |
This one is a bit tricky, and I've been stuck on it for a bit of time. What I wish to do is put tags in place of brackets '[' (e.g. for buttons, links, etc), and in place of ']'
<section>
<title>Buttons</title>
<orderedlist>
<listitem>
<para>Clicking on [Save] will attempt to save changes,... | stackexchange/codereview |
Being a bit of a C++ fanatic, i am in desperate need of using void pointers in C#. The task at hand requires me to not know the type of a certain variable at compile time.
So, i thought about preparing a structure with all the info needed to identify the type at runtime. Now, the idea would work in C++, however, C# is... | stackexchange/codereview |
I'm just learning OpenMP from online tutorials and resources. I want to square a matrix (multiply it with itself) using a parallel for loop. In IBM compiler documentation, I found the requirement that "the iteration variable must be a signed integer." Is this also true in the GCC implementation? Is it specified in the ... | stackexchange/codereview |
What is wrong here, is Lazy Evaluation too?
teste.hs
module Main where
import Control.Parallel(par,pseq)
import Text.Printf
import Control.Exception
import System.CPUTime
import Data.List
import IO
import Data.Char
import Control.DeepSeq
--Calcula o tempo entre o inicio e o fim de rodagem do progr... | stackexchange/codereview |
Hi i am trying to create a basic contact list that has same functionality has the native one i.e. arranged in alphabetical order and have the scrolling thumb tab on the side to scroll through letters.
How do i create that scroll tab thing? i will use some sort of sorting algorithm to sort my contact list in order so th... | stackexchange/codereview |
I have two tables, UsersSample and UsersSearching. UsersMain is a table of the majority of available users. UsersSearching is a table of any users who have searched on the site.
I am trying to determine if a user from USersSample has searched (and appears in the UsersSearching table). But I'm having difficulty eve... | stackexchange/codereview |
From the following trials
<tag attr="\"">
<tag attr="<![CDATA["]]>">
<tag attr='"'>
Only the last one works for an XML parser that I'm using here.
Is there an alternative?
| stackexchange/codereview |
I am developing a GUI in python with wxPython framework to launch several subprocess programs. Now I could do it for the local files, e.g. if we have a compiled .out file under the path "/AAA/BBB/xxx.out", I could do with command like this:
subprocess.Popen("/AAA/BBB/xxx.out", stdout=subprocess.PIPE)
Now, I am thinkin... | stackexchange/codereview |
I want to build an Android widget that will update very frequently (5 seconds). This means, I want to only update it when the screen is on and when the home screen is the active Activity.
How do I get a list of home apps (or apps that respond to
<category android:name="android.intent.category.HOME"/>)
In the android A... | stackexchange/codereview |
Hey,
Is it possible to add push notification functionality to an already existing app?
Will it be possible if I have to change the appID?
I am asking this because I am about ready to submit my app, and currently don't require push notifications. In the provisioning portal I have already created default appID, with a wi... | stackexchange/codereview |
I need to convert tiff file to gif . can some one give me php or python script to do that ?
| stackexchange/codereview |
Okay, I can't find this in DevExpress' documentation. I have a DevExpress Wizard Control which automatically docks to the forms it's in. How can I disable the docking in Visual Studio 2010? I see no property that seems to be doing this and tried to change the docking in the constructor of the main form by setting the..... | stackexchange/codereview |
My HTML contains a fieldset, six text input fields formatted in a table, and a submit button. The submit button includes the attribute onClick="check()" and it's worked with simpler alerts so I know that's not the problem. Here's my JavaScript:
var $ = function (id) { return document.getElementById(id); }
function che... | stackexchange/codereview |
I have a C source file having comments in // (C++) style. I want to change all the comments to the old /* */ (C) style. Is there a way to do this using an existing script?
| stackexchange/codereview |
I am looking for an example of the r code for using Ornstein-Uhlenbeck to estimate time for mean reversion when considering cointegrated securities
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.