instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I just finished rewriting a significant portion of my web site using python's django, but I also have some legacy code in php that I haven't finished migrating over yet. Is it possible to get these two working on the same domain and if so, how do I go about doing it?
I'm running this site on a virtual Ubuntu instance a... | stackexchange/codereview |
Some jquery plugin extend widget use _create method, while others use _init method, can someone explain the differences between the two?
Also any guidance on when it is better to extend widget or directly extend jquery.fn?
| stackexchange/codereview |
I have some 3 methods.
login();
isLogin();
reply();
function isLogin(){
FB.getLoginStatus(function(response) {
if (response.session) {
// logged in and connected user, someone you know
} else {
// no user session available, someone you dont know
}
});
}
function login (){
FB.login(... | stackexchange/codereview |
Is there any functionality baked into Android SDK that will give user visual clue that menu is available? Or has anybody worked on this problem?
Currently, I need to rely on user clicking Menu button and sometimes it's just not so obvious that certain Activity has Menu.
So, any suggestions?
| stackexchange/codereview |
I have the following trackbar controls which I have added to a tabpage 'tab1':
TrackBar[] tbs = new TrackBar[nooftbsneeded];
// Add TrackBars
TrackBar tbx = new TrackBar();
tbx.Location = new Point(28, 150 + (i * 200));
tbx.Size = new Size(... | stackexchange/codereview |
What would the regular expression be for removing any content between a quote, and the directory "uploads/"?
Using a regexpression generator, I get this: (?<=\=")[^]+?(?=uploads/)
$block_data = preg_replace('/(?<=\=")[^]+?(?=uploads/)/g','',$block_data);
But seems to be removing everything :(
| stackexchange/codereview |
I am about to create a bitmap that holds control of 512 bits, all 512 bits should be 0 to indicate that the bit is free when the program starts. Function occupyDataBlocks(int number) should find free bits put the position of the bit in the array int data_blocks[] and set the occupied bit to 1.
Under is some code that ... | stackexchange/codereview |
With Rails 2.8 I am using a system gem compiled on a Solaris server, used as production. Rails 3 uses bundler and when I deploy with Capistrano and execute bundle install, bundler is not capable to install that gem. MySql gem must be compiled from source as I documented here: http://riccardotacconi.blogspot.com/2009/10... | stackexchange/codereview |
Got a newbie CSS question, just beginning to get into CSS so please bear with me. In my ASP.NET MVC app there's a menu:
<div id="menucontainer">
<ul id="menu">
<li>something</li>
<li>something</li>
<li>something</li>
<li>something</li>
<li>something</li>
</ul>
</div>
And... | stackexchange/codereview |
What are Drupal behaviors at all?
What type of service layer it offers to module developers?
What type of relation it maps to jQuery.ready?
| stackexchange/codereview |
This doesn't appear to be well documented or I missed it, so before I run a bunch of my own tests I was wondering if anyone already knows the answers to some of these questions.
First off, when I say "Application" I am referring to extending the Application class. http://developer.android.com/reference/android/app/App... | stackexchange/codereview |
I am programming in OpenGL and C++. I know 2 points on 1 line (a diagonal line) and wish to rotate an object around that diagonal line. How can I go about doing this? I know how to use glrotatef to rotate it around the x, y or z axis but am not sure about this.
| stackexchange/codereview |
In an asp.net mvc application, I would like to be able to generate views, where the routing engine will create all URLs that point to a different site, i.e. change the application path.
| stackexchange/codereview |
I'm running Python 2.6.2 on XP. I have a large number of text files (100k+) spread across several folders that I would like to consolidate in a single folder on an external drive.
I've tried using shutil.copy() and shutil.copytree() and distutils.file_util.copy_file() to copy files from source to destination. None of t... | stackexchange/codereview |
How od I update the title property for an item in a tabPanel from another function?
mainpanel is my tabPanel and I am successfully updating the title according to my js debugger. Calling doLayout(); doesn't seem to redraw the tab in the UI though!
var mainpanel = Ext.getCmp('mainpanel');
var item = mainpanel.items.... | stackexchange/codereview |
I'm wondering, .net has all these build in GUI elements. The purpose is that we build a .net web application and for the coding itselve I know my way.
But as for user interaction, ajax, etc..
I'm very familiar with jQuery in PHP but I noticed that in .Net everybody starts using it too.
Is jQuery the best way these days... | stackexchange/codereview |
I have a web application that utilizes the ReportViewer control in ASP.NET. The reports are defined in the web application, in .rdlc files.
The reports work great, except for the printing functionality. When the user clicks the "print" icon in the header section of the report, it appears that the web app tries to inst... | stackexchange/codereview |
I have created a composite control with sample details as follows. Basically, the first time on page load the control sets a view state variable and the problem is that on post back (when the button is clicked), the ViewState variable is null. I have researched extensively and I am not able to find a solution. I checke... | stackexchange/codereview |
I am working on a piece of software which generated a polygon mesh to represent a sphere, and I want to cut a hole through the sphere. This polygon mesh is only an overlay across the surface of the sphere. I have a good idea of how to determine which polygons will intersect my hole, and I can remove them from my collec... | stackexchange/codereview |
I am looking for an embeddable interactive console. I want the user to be able to type in some custom commands, and the application to write command responses in it. Would be awesome if it would understand powershell or python, ans supports command completion.
I already built my own bash-like terminal, but I do not w... | stackexchange/codereview |
I have used this code to exactly try to have the RGB code of color:
var huePixel = HueCanvas.css('background-color').match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);//["rgb(0, 70, 255", "0", "70", "255"]
var svPixel = SVCanvas.get(0).getContext("2d").getImageData(satPos,valPos,1,1).data;
//opacity*original + (1-opacity)*back... | stackexchange/codereview |
I use JavaDB (Derby) as an embedded database in my Java Swing application. I would like to detect and print the version of JavaDB I'm using. I have included derby.jar in my .jar-file for the application.
How can I detect and print the version of my embedded JavaDB?
| stackexchange/codereview |
I know that you can get the line number and column number from a org.xml.sax.SAXParseException.
Is it possible to get the line number and column number from a org.w3c.dom.Node?
| stackexchange/codereview |
I'm writing a mini shell and although I've got most of it planned out, one thing I'm not sure how to do is implement piping the output of one program as the input of another. Is there a sample or something that can point me in the right direction?
| stackexchange/codereview |
When I declare this function:
void vLFSR_ParseInput(unsigned char * pucDataArray,unsigned char unCount){}
and try to pass it this array
unsigned char g_ucUSCI_A0_RXBufferIndex = 0x00;
unsigned char g_ucaUSCI_A0_RXBuffer[RXBUFFERSIZE];
with this function call
vLFSR_ParseInput(&g_ucaUSCI_A0_RXBuffer,g_ucUSCI_A0_RXBu... | stackexchange/codereview |
One team will analyze our .NET solution code.
Before that, we wondered how many lines of code contains our project.
Is there a way to achieve find out this (in VS 2010) ?
| stackexchange/codereview |
Hi i am sending the mail through the libmail, downloaded from http://www.phpclasses.org . Mail Function is working fime but it does not deliver the bounced message delivered report in the return path mail ID inbox and also i am face the problem in how to check if the mail is delivered are not. i already read this file:... | stackexchange/codereview |
I've setup a ExtJS Grid, while using the PagingToolbar (with PagingMemoryProxy on an ArrayStore).
I have removed items from the store of the grid, but the PagingToolbar will not show that the items have been removed.
Any suggestions on how to do this?
| stackexchange/codereview |
I have a HTML table that is built with a repeater. Sometimes the table has 5 rows, sometimes it has 8 rows.
It was easy to add the header rows.
<asp:PlaceHolder runat="server" ID="additionalHeaderColumns" />
In code behind I added controls (htmlheadercells) to the contentholder:
Dim tableHeaderCell As New Tab... | stackexchange/codereview |
We've got a Windows Server 2003 running IIS 6 where we host multiple sites with different domains. www.site1.com, www.site2.com etc.
Now one of these sites need a SSL certificate, so I ordered a certificate from rapidssl.com for the domain www.site1.com.
The problem:
After installing this SSL certificate all https requ... | stackexchange/codereview |
Customer class have name property that corresponds to name field in customer table.
Customer class also define the map that use for put the fieldName and fieldValue.
on database customer name define in customer table and fieldvalue define in form table.
now how i can retrieve customer name from customer table and field... | stackexchange/codereview |
Can someone tell me what this is doing? How should I refer to this in my html? What I want is to echo an error message in the html.
$('#' + $field)
.addClass('invalid')
.siblings('.error')
.text($message)
.show();
| stackexchange/codereview |
I need to represent Binary Search Tree as a DB schema? How do I do it? Its kind of problem. I dont have any code. I need direction how to show BST as a DB schema.
| stackexchange/codereview |
I'am developing a software based on Entity Framework to handle data in a MS SQL Server 2008 database.
[Trouble 1]
I've just tried to insert some small data (about 2 Mb) from my progam to the database : the performance are very bad ! It takes more than 1 minute to insert these datas !
I've try to generate pre-compiled v... | stackexchange/codereview |
does anybody know we can translate from real image captured using cameras be converted to the cartoon space ?
Please note that my goal is not to create animations or the likes, but just to translate to "cartoon colors" if possible.
will simple requantization to a space where there is less quantization levels work Or s... | stackexchange/codereview |
The only available reproducible example I can find to share with the board is the Android sample code NotePad, which is loaded into the IDE's Package Explorer as 'NotesList'.
I want to know why, in the package's NoteEditor.java, LinedEditText (extended from EditText) can't be renamed? In other words why can't I rewrit... | stackexchange/codereview |
Question summary: How do I modify the code below so that untrusted, dynamically-loaded code runs in a security sandbox while the rest of the application remains unrestricted? Why doesn't URLClassLoader just handle it like it says it does?
EDIT: Updated to respond to Ani B.
EDIT 2: Added updated PluginSecurityManager.
M... | stackexchange/codereview |
I'm thinking of asking my team, of mixed skill levels, to use Google Guava. Prior to Guava, I'd have used the Apache Collections (or its generified version).
Guava, as opposed to Apache Collections, seems to be stronger in some ways, but perhaps less easy to use for less experienced programmers. Here's one area where I... | stackexchange/codereview |
Greetings,
I am trying to code a solution for an order form pricing calculator using the excellent calculation plugin. My form has two different prices for each item, one for quantities under 10 and one for quantities over that amount.
This is the code I have so far:
$(document).ready(function() {
// bind the reca... | stackexchange/codereview |
I'm trying to create a pack ui referencing a xaml resource inside of an assembly file in powershell. After reading this post I tried to do this:
$resource = new-object system.uri("pack://application:,,,/WPFResource;component/test.xaml")
The I get an error noting that it is expecting a port since there are two colons.
... | stackexchange/codereview |
I came across through a presentation(dalvik-vm-internals) on Dalvik VM, in that it is mentioned as for the below loops, we have use (2) and (3) and to avoid (7).
(1) for (int i = initializer; i >= 0; i--)
(2) int limit = calculate limit;
for (int i = 0; i < limit; i++)
(3) Type[] array = get array;
for (Type obj : arra... | stackexchange/codereview |
I'm afraid I don't know templates (or C++, really), but I know algorithms and data structures (even some OOP! :). Anyway, to make the question a bit more precise, consider what I would like to be part of the answer (among others I don't know in advance).
Why is it coded as a template?
How does the template work?
How d... | stackexchange/codereview |
Here is my code (using CodeIgniter):
$now = date('Y-m-d');
$then = strtotime($now . '-1 week');
$then = date('Y-m-d', $then);
$q3 = $this->db->query("SELECT *
FROM posts
WHERE publish_date BETWEEN '$then' AND '$now'");
$data['posts_today'] = $q3->num_rows();
I c... | stackexchange/codereview |
I was using a hosting to run my site, lately it has been working fine but today i opened the site in the browser at "http://www.arquisanjose.org/ver2" and shows me the following message:
i´ll appreciate some of your help...
| stackexchange/codereview |
I'm on Ubuntu 10.10/Ruby 1.9.2
Whatever I do, I can't get a sinatra app to start on my local machine.
hello.rb:
require 'sinatra'
get '/' do
"Hello World!"
end
"$ ruby hello.rb" and "$ ruby -rubygems hello.rb" both result in a new prompt with no action taken.
Any tips or pointers?
| stackexchange/codereview |
i'm trying to make a simple image-preloader for just ONE image.
it should load an image and - if finished - fire an event for displaying it.
what's the simplest method to do this?
i only know the pure javascript solution, like document.createElement("img") - but what's the best method using jquery?
what i've got so far... | stackexchange/codereview |
What data structure would be best for a non-tree (in the graph theory sense), path-saved, troubleshooting flow for a web troubleshooting site?
In plainer words, if I'm wanting to model a troubleshooting flow, such that it's not strictly in a "downward" direction towards a resolution or contact point, is there a more sp... | stackexchange/codereview |
I'm a newbee to WPF and I need your help - please. :)
I need an ItemsControl with only vertical scroll and if items don't fit they must wrap.
I've made a tiny sample of my code:
<Grid>
<ItemsControl Margin="64,73,65,76" BorderThickness="1" Name="lst" HorizontalContentAlignment="Stretch" Background="White" B... | stackexchange/codereview |
I use PDO and i can't insert some data:
use this code:
$sql = 'INSERT INTO `releases` (id, artists, release, label, catalog, date, tracklist, type, status, vote, votes_count) ';
$sql .= 'VALUES (:id, :artists, :release, :label, :catalog, :date, :tracklist, :type, :status, :vote, :votes_count)';
$query = $this->db->pr... | stackexchange/codereview |
In PHP I often do the following:
$_SESSION['var']['foo'] = array('bar1' => 1, 'bar2' => 2);
// ...
$_SESSION['var']['foo']['bar2'] = 3;
// ...
echo $_SESSION['var']['foo']['bar2']; // 3
I'm wondering what the recommended way of storing multidimensional arrays in a session with Kohana.
I know I can do the following, bu... | stackexchange/codereview |
I have 3 repositories, each created with the same code base but different enough to warrant different repositories. My "dream" work flow would be to do work in the development repository and then pull these changes into the other repositories. I know I can do this with something like:
hg pull -r X -f repo
but this w... | stackexchange/codereview |
I have a WPF application, that I want to convert to an application running from the browser. The reason is that WPF doesnt run on Mac/Linux, and Silverlight is not an option because of it's security restrictions.
The basic idea is to turn the app into a webserver-like application, and handle the UI completely in html/a... | stackexchange/codereview |
I am working on a web application using SVG.
The plan is to use the Google Webfonts APIs to let the user choose their font type and then have their name rendered in SVG. The problem is that when I use the Google APIs to access the fonts, it does not work (reverts back to Serif font). However, when I download the Google... | stackexchange/codereview |
Is there a good image manipulation library/framework that can be used in a Flash/Flex application? I'm looking for some distortion effects in fotoflexer.com like bulge, pinch, stretch, squish, Smooth Wrinkles?
Any ideas/comments will be appreciated.
| stackexchange/codereview |
is there a way to programmatically turn off the display in iOS? Not just turning brightness down, but off like the way the Phone App does. I am happy to use private API, since this is for personal use.
Thanks!
| stackexchange/codereview |
Let's say we have a html string like "2 < 4"
How should be determined if it contains any of these extended sequences?
I 've found HTML::Entities on CPAN, but it doesn't provide 'check' method.
Details: fixing 'truncate' method in a way to not leave corrupted string like "2 &l" and not to do unnecesary work. It shoul... | stackexchange/codereview |
The scenario is the following. I have a plain text file which contains 2,000,000 lines with an ID. This list of IDs needs to be converted to a simple XML file. The following code works fine as long as there are only some thousand entries in the input file.
def xmlBuilder = new StreamingMarkupBuilder()
def f = new File(... | stackexchange/codereview |
I'm trying to embed python into c to use it for configuration:
If I do it like this:
/******************************************************************************
*
* Embeding Python Example
*
* To run:
* gcc -c test.c -o test.o -I"C:/Python25/include"
* gcc -o test.exe test.o -L"C:/Python25/libs" -lpython25
* ... | stackexchange/codereview |
My traceback is as follows:
C:\Romeo\Scripts>python
Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyglet.media.avbin
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:... | stackexchange/codereview |
I'm developing a C# Winforms application for a customer. The customer wants the program secured by a hardlock, so only people having the appropriate hardlock can access the program. I know there are a ton of ways to secure accessing to a Winforms application, but he inststs on using a hardlock.
I have never experienc... | stackexchange/codereview |
Can anyone please tell me how can I convert this float number: 12.25 to binary?
I know how to convert the "12" but not the 0.25
Any help is much appreciated.
Thanks
| stackexchange/codereview |
Im looking for something like SELECT PRODUCT(table.price) FROM table GROUP BY table.sale similar to how SUM works.
Have I missed something on the documentation, or is there really no PRODUCT function?
If so, why not?
Note: I looked for the function in postgres, mysql and mssql and found none so I assumed all sql does n... | stackexchange/codereview |
I have a field (Total) that has a computed value.
This is the control source: =[FrmSupplierQuote].[Form].[TotalSupplierCost]
This field is updating just fine when the subform is updated
When this field updates I wish to execute the subroutine that updates the field FinalPrice:
Public Sub Update_FinalPrice()
Me.Fina... | stackexchange/codereview |
I'm new to WPF control template and need your help on this.
I got a sample Microsoft Ribbon project here.
I tried to change the color of the ribbon menu button but I can not make the yellow border goes off. Please see screenshot below.
If you have a work-around, please help!
You can get MS Ribbon from:
http://www.mi... | stackexchange/codereview |
What are some advantages and disadvantages between the two. Especially for something like a 3D game.
| stackexchange/codereview |
I have a UITableViewCell drawn using drawRect:. I'm drawing an shape in drawRect and would like to animate this shape (using some parameter) when using the cell goes into edit mode.
However, I couldn't find how to use animated parameters within drawRect. Could someone point me to the right documentation or is it imposs... | stackexchange/codereview |
Dragging and dropping a marker on a Google Map inside a modal JQuery dialog isn't working properly using JQuery 1.4.3 and JQuery-UI 1.8.5.
The following snippet is reproducing the issue in Chrome 6.0 and Firefox 3.6.10 (but not Opera 10.63 which surprisingly doesn't have the problem), and this was working before upgr... | stackexchange/codereview |
We recently changed our login to use HTTPS, and we are experiencing issues with the login.
After the login, the user is redirected to an unencrypted (HTTP) page. When it reaches this page, the site checks if the user is logged in. It creates a new session and it appears that the user is not logged in, and thus our user... | stackexchange/codereview |
I have an entity with an embedded key. The entity has only the key as a field and the key has 7 fields, some of which can be null.
When I run the following query:
Criteria criteria = session.createCriteria(getPersistentClass());
criteria.add(Restrictions.eq("id.profPropertyId", profileExtensionName));
Object obj = cri... | stackexchange/codereview |
I have recently used the Asual Jquery Address v.1.3 and it workes successfully with Firefox but I found the following problem in the Chrome:
it can't fire the ExternalChangeFunction envent and there is no alternative from using this event because document.ready fires again when trying to change the address by this scri... | stackexchange/codereview |
i have code that know how to connect to user facebook account,and take his name.
this function does works well, the problem is , when i try to get hebrew name, than i get gibrish.
charset=windows-1255 - i tried UTF-8 too, and still i have gibrish.
for gibrish example:
׳׳™׳˜׳ ׳§׳•׳•׳
׳–
the code:
require 'src/facebook.... | stackexchange/codereview |
Okay, I have run into a really bizarre problem.
I have a wxWidgets program that has two frames, a main one, and a secondary one.
The main one has a button that calls the second one to open.
I had trouble with calling a derived class from the second wxframe's class, so I moved the declaration/implementation of the class... | stackexchange/codereview |
Anyone using sandcasle..i didnt find any straught forward step by step walktought to use it and create msbuild project settings that would generate the friendly help file.
I installed it from codeplex and installed the file builder but they dont say how to use it clearly. any example would be apptrciated.
| stackexchange/codereview |
I'm working on broadcast, and I'm failing pretty badly at even getting the thing to work. I know I have to do the setsockopt() call, but what is needed before that to ensure that the broadcast will go to every box on the network? I vaguely remember something about complementing the network address or something like tha... | stackexchange/codereview |
Does anyone have any ideas for how to pragmatically quickly check if a zip file is corrupted based on file size? Ideally the best way to check if a zip is corrupted is to do a CRC check but this can take a long time especially if there is a lot of large zip files. I would be happy just to be able to do a quick file siz... | stackexchange/codereview |
I'm scratching a long time itch and have started coding a simple
browser-based image editor in Sproutcore.
70% of my image editing needs consist of cropping pictures. For the
task of selecting which part of the image should remain visible, I
would like to use the interface every image editor uses: the rubber
band ... | stackexchange/codereview |
This kind of question has been asked before, but has not been well supported at StackOverlfow...maybe because some people think its elementary..but beginners like me have spent days on this but to no avail. Kindly help [I'm sure its going to be an ever occurring issue]
I'm trying to make a flex project and want to inte... | stackexchange/codereview |
I need to read a large CSV file (8-15 MB) and generate a LineChart in Flex AIR. Since Chart need data in structurd format like XML.
When I read CSV and convert it to XML object 8 MB file size become 24 MB XML object and not able to graph.
Best solution is to read Line by line and read only part of data.
How can I achei... | stackexchange/codereview |
Greetings, I am developing an Admin Control panel and I have to use ODBC to connect to the Database. I'm used to using MySQLi so this is extremely awkward for me. I'm trying to make this as OOP as possible, so I'm using classes and prepared statements.
I need to know if there is an ODBC alternative to bind_param and h... | stackexchange/codereview |
I would like to pick some of your brains on this matter...
I've got a large form where there are a lot of multiple selection choices. Some are radio groups and yet others are "select all that apply" checkbox groups.
I'm trying to figure out the best way to translate each of these selections within my XML tree to send t... | stackexchange/codereview |
I am trying to listen for UIMenuController Notification in iphone sdk 3.0 .
But it seems that my notification can never get called. Here is my code:
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(menuControllerWillShow:) name:UIMenuControllerWillShowMenuNotification object:nil];
and my m... | stackexchange/codereview |
I have a Rails 3.0.0 application that has a model named 'Encoding' and is currently running on 1.8.7 fine. I'm trying to upgrade to 1.9.2, but the name 'Encoding' is conflicting with that version of Ruby.
I tried creating a new project, and when running rails g model encoding with 1.9.2 it complains giving:
The name ... | stackexchange/codereview |
I'm working through an exercise sheet regarding interfaces, generics and abstract classes in Java. No matter what way I seem to code it, the class Exercise1 won't work. The question asked are commented in the code. Any help would be appreciated, I'm not sure if the error is in the Exercise one code or the implementatio... | stackexchange/codereview |
Currently I am trying to load some Xaml files to create testdata.
I used the Xaml files to create data for the WPF designer in Visual Studio (DesignData).
Now I want to reuse them in my Unit Tests. I need to load them somehow programmatically. Here is a small test program:
// The data model
class TestItem
{
public ... | stackexchange/codereview |
I want the ability to let users indicate what countries they have visited.. my models.py looks something like this:
class User(models.Model):
name = models.CharField(max_length=50)
countries = models.ManyToManyField(Countries)
class Countries(models.Model):
#This is where I don't know what to do.
... | stackexchange/codereview |
What do you prefer and why?
I've just finished my first Mac app and am wondering if this is an important decision.
| stackexchange/codereview |
I have the following Ruby program:
require 'date'
class Person
def initialize(name, dob)
@name = name
@dob = dob
end
def age
Time.now - @dob
end
def marry(someone)
"Life: " + age.to_s
end
end
fred = Person.new('Fred', Date.new(1934, 4, 16))
p fred
p fred.age.to_s
p fred.marry(1)
But ruby 1.9.2 give... | stackexchange/codereview |
What is the recommended way of doing date arithmetics in Perl?
Say for example that I want to know the date three days ago from today (where today = 2010-10-17 and today - 3 days = 2010-10-13). How would you do that in Perl?
| stackexchange/codereview |
... with a button outside of the uiwebview?
please see screenshot attached.
the thing is, that I have a local html site in the webview, that goes to further local web sites. I want the user to be able to get back to the "home page" of the local website by clicking on the "home" button on the top, which is not part of ... | stackexchange/codereview |
I have a gridview and i want its items to act different if user performs click or long click that is why i am using OnItemClickListener and OnItemLongClickListener but when long click happens both listeners react.I want to perform only OnItemLongClickListener.
| stackexchange/codereview |
How do I know what a particular address pointed by my pointer contains? I want to print the content in this address location? What should I add as a placeholder?
| stackexchange/codereview |
I am trying to move TeamCity from one server to another. I have got it all installed on the new server and have run the instructions in the help file:
http://confluence.jetbrains.net/display/TCD5/Restoring+TeamCity+Data+from+Backup
I am running TeamCity 5.1.4 on both servers.
I got a success message on the maintaindb c... | stackexchange/codereview |
I usually use ClickOnce as my publication method, but I hate sending a bunch of files to people and having to say "Please unzip and run setup". All I need to do is this simple thing. A program that puts all files together in a single file, then unzip them to a temp folder and runs Setup. I haven't check very deep in Vi... | stackexchange/codereview |
i am running a site with joomla. It has a bunch of mod rewrite rules i don't totally understand.. as well as some kind of SEF link thing running.
i have a specific page named sched.html that i need to serve up and be completely ignored from the .htaccess.
I have tried everything i can possibly think of. including a num... | stackexchange/codereview |
When I look at misc. Android tutorials and examples when it comes to specifying colors I very often see constants like @color/red or @color/black etc. being used. For some strange reason that NEVER works for me! I always need to specify colors using the "#RGB", #ARGB, ..., #AARRGGBB notation.
As soon, as I try to use a... | stackexchange/codereview |
I am working on a prototype port of one of our iPhone apps to Android.
The iPhone app uses the RouteMe API to load our own custom maps into the application. (also tiled, just like Google Maps itself, so only loading what you see at that moment - this is very important in this case)
I have been searching for a similar p... | stackexchange/codereview |
In what directory(local cache) of snow leopard does macports fetch and stores the packages downloaded using macports?
| stackexchange/codereview |
I want to set an ItemTimplate according to some property.
I've just create a markup, where I set ItemTemplate like this:
<controls:Panorama Title="Some Title" ItemsSource="{Binding Modules}" ItemTemplate="{Binding Id, Converter={StaticResource ControlTemplateConverter}}">
<controls:Panorama.Background>
<Im... | stackexchange/codereview |
I am using apache poi 3.6 with java to read excel files.initially i started with HSSF files.So, i was implementing org.apache.poi.hssf.usermodel.*; package for all those functionalities.
For Example...
1) i am using mySheet.setForceFormulaRecalcualtion(true); => for formula must be recalculated when workbook is opened... | stackexchange/codereview |
Is there a way how I could pass variables to Bootstrap.php? This is how I bootstrap in the index.php:
// let's go!
$application = new Zend_Application(APPLICATION_ENVIRONMENT,
APPLICATION_PATH.'/configs/application.ini');
try {
$application->bootstrap();
$application->run();... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.