instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
when we giving hyperlink to a text <a> tag will automatically assigned to the text.Like that how i can giving my own tag to the text.So i need a button the toolbar and when i selecting that button a custom tag will automatically added to the selected text.
| stackexchange/codereview |
I'm currently implementing a two dimensional FFT for real input data using opencl (more specifically a fast 2D convolution using FFTs, so I only need something which behaves similary enough to apply the convolution to). The 2D FFT is implemented using an 1D FFT on the rows and afterwards an 1D FFT on the cols.
To make ... | stackexchange/codereview |
I have a bunch of pages I am chaining together and presenting as modal view controllers. THey all have viewDidLoad methods. It seems that when one is loaded though it calls the viewDidLoad methods of ones in the background too. How can I stop this? Thanks!
| stackexchange/codereview |
I have what I hope is not a unique situation...
...and I'm looking for suggestions.
I am looking for a better synchronization plugin for Eclipse than FileSync
-or-
I am looking for a distributed (preferably) version control system that will allow me and the other developers in my team the ability to work with local fil... | stackexchange/codereview |
I need to estimate future website traffic & conversion volume based on:
1) Baseline historical averages for 6 differing types of traffic segments
2) How each of those distinct visitor segments interacts with 5 unique content groups
After searching the internet I've concluded modules exist that can easily be
adapted t... | stackexchange/codereview |
I needed to change a query into a JOIN of two tables.
$q = "SELECT * FROM table1 AS a JOIN table2 AS b USING(id) WHERE a.id= $id";
$stmt = db::getInstance()->prepare($sql);
return $stmt->fetchAll(PDO::FETCH_ASSOC);
All off the sudden I cannot refer to each row value with $rows['value']
,BUT I need to use $rows[0]['val... | stackexchange/codereview |
By some setting as using IDENTITY_INSERT we have duplicate entry in identity column, What is the best method of removing duplicate entry.
I have a table Details With column DetailID | FKey | Col1 | Col2 | Col3 | Col4
DetailID is "Identity" and FKey is foreign key with another table.
Now we have already 240000 record. ... | stackexchange/codereview |
How would you go about binding a WPF datagrid that needs to display data from many different datasources with varying number of columns with different column headers and types?
What I'm currently doing is creating a custom List<DataGridColumn>() list of datagrid columns in my ViewModel for each different collection of ... | stackexchange/codereview |
I've got a WP7 app where I need to enter large numeric data (6 digits and more) - is there some kind of advanced numeric control to enter large numbers comfortably?
| stackexchange/codereview |
I'm reading a C# book for beginners, and in every end of the chapter, there are exercises to be answered based on the lessons tackled.
One of those exercises goes this way: (not the exact wordings)
Write a program that will accept an int as the array length, and the values for the array.
Then will print:
"0" if the arr... | stackexchange/codereview |
I am trying to implement DotNetOpenid in my asp.net website. However, the more I try to read up on DotNetOpenid, the more confused I get. My initial goal is to allow user login process (similar to StackOverflow).
I attempted to get some help via this question dotnetopenid tutorial
but was unsuccessful (since I am not... | stackexchange/codereview |
Is there a way to pull/fetch code from a specific tag in a repo.
Am aware that after clone, i can checkout to the tag but is it possible to specify a tag during a pull?
In ClearCase i can rebase or deliver a specific baseline of code, is there a way where i can use git tags similarly to pull/push code upto a specified ... | stackexchange/codereview |
I am wondering what best practices are for providing dynamic content in lightweight, 'drop in' widget style that can be used by third party content editors.
To elaborate, we would like to give third parties the ability to show dynamic content from us on their website without a back end system integration where they w... | stackexchange/codereview |
How do i make Base class with [TestClass()], where i will do MyClassInitialize(), and after that, i will just make my another Test classes just like that - MyNewTest : BaseTest
and there will no initializing?
| stackexchange/codereview |
I have a form that looks like the following (see image). If the user hits the Login button, I want the keypad to disappear. How do I do that.
Note that TextFieldDelegate methods wouldnt get called since the user is simply hitting the UIButton (Login). Hence, anything I can put in the IBAction for this button?
| stackexchange/codereview |
When compiling this code I get:
fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory
Why?
Code:
#include <windows.h> // use as needed for your system
#include <gl/Gl.h>
#include <gl/glut.h>
#include <iostream>
#include <fstream.h>
//**************Global Data
char ifileName[30],oFileN... | stackexchange/codereview |
I've found a very annoying problem with the itemRenderers in a DataGroup in flex 4, when I mouseout of the itemRenderer is returns to its default state. Here's an example:
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/... | stackexchange/codereview |
Feeling rather dumb: I have a C++ project, using Eclipse CDT (Eclipse 3.6, CDT 1.3.1).
I have defined more than one launch configuration: each points to a different executable within the project. But, when I press F11 to debug, Eclipse always loads the first configuration, and I can find no way to make it launch the ... | stackexchange/codereview |
Sometimes, for whatever reason, I have to produce patch-files (under Linux) that are in the wrong direction. I know that I can deal with this by using the -R switch when applying it via patch, but it would be nice if there were a way of permanently reversing the patch-file. Is there a utility that can do this, or e.g... | stackexchange/codereview |
I'm setting up a technical debt register at The Office and want to make it a fairly comprehensive tool.
What are the key pieces of information that we should be recording?
| stackexchange/codereview |
I'm binding an ItemsControl with Canvas as ItemsPanelTemplate to an ObservableCollection.
I want to make the items draggable using the DraggableExtender as posted in
Dragging an image in WPF
(I don't want to use transforms - I need to use the Canvas Left and Top properties)
It's defined as :
<ItemsControl ItemsSour... | stackexchange/codereview |
I have a basic HTML form that I am centering. I am using jQuery plugin to dynamically validate that the fields are required. When it adds the "Field is required" message after the text box, it causes the form/table to shift due to the fact that it is in a table. This makes sense.
The question I have is what is the b... | stackexchange/codereview |
I want to broaden my programming experience and so figured that learning C (not C++) would be a nice idea - I've got a starting project (some simple 2D games using SDL) and given it a go, but I have to admit I'm struggling.
Now I consider myself to be a very a competent C# developer, but C is just a completely differen... | stackexchange/codereview |
Is it possible to detect if any sound plays on a windows xp machine? Help in any language would be useful. I basically need to write a program that runs all the time and outputs some text to a file whenever a sound plays. I don't need any specific information about the sound, just whether a sound is playing. I don'... | stackexchange/codereview |
Is there a way to get this code to automatically overwrite files?
// Requires project reference to Microsoft.VisualBasic
using Microsoft.VisualBasic.FileIO;
class FileProgress
{
static void Main()
{
string sourcePath = @"C:\Users\public\documents\";
string destinationPath = @"C:\testFolder";
Fil... | stackexchange/codereview |
I'm trying to create a project in .Net for IPhone using Monotouch. My problem is:
I have a DLL generated by Visual Studio 2010. This DLL just have an Interface and two other classes. I can use with no problems in my project in Visual Studio, but when I try to use the same one in Monotouch, i've got this error:
Building... | stackexchange/codereview |
Is there a lightweight way to watch and record the values of properties of arbitary instances in my .NET application? Preferably one that works for release builds too and without having to attach a full fledged debugger. Sort of like what Crack.NET does but with live updates, recording and most importantly, one that wo... | stackexchange/codereview |
//dd/mm/yyyy
list<String> datesList
//weeks of year
list<int> weeksList
//month
list<int> monthsList
I would like to sort all of them in ascending order, what is the most efficient way to do this? (espcially the dates list, which is a string list with each item has the entry dd/mm/yyyy).
| stackexchange/codereview |
While using Team Foundation Server sometimes we have to delete our projects entirely and make them again from scratch. But while mapping, everytime we have to map our projects to a different folder. Deleting the old folder does not work at all, it creates another one while mapping. I guess there is a list that Visual S... | stackexchange/codereview |
I'd like to develop a multithreaded UDP server in C/Linux. The service is running on a single port x, thus there's only the possibility to bind a single UDP socket to it. In order to work under high loads, I have n threads (statically defined), say 1 thread per CPU. Work could be delivered to the thread using epoll_wai... | stackexchange/codereview |
I have the following code in an NSCollectionView subclass:
-(void)drawRect:(NSRect)rect {
if(!NSEqualRects(highlightBox,NSZeroRect)) {
[[NSColor colorWithCalibratedRed:1.0f green:0.2f blue:0.2f alpha:1.0f] set];
NSRectFillUsingOperation(NSInsetRect(tempHighlightBox, -1.0, -1.0),NSCompo... | stackexchange/codereview |
don't know if this is possible ..
I want to add a li element to every second span-tag.
My HTML look like that:
<span class="article_item"><img src="images/container_item.jpg" /><h2><a href="">Nokia Connecting N97</a></h2><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer eu mattis lectus.</p></span>
<... | stackexchange/codereview |
I integrate phpBB on my site using iframe. It mostly works seamlessly and all looks great.
Sometimes, for reasons I haven't figured out, the following page will not try to load the iframe in FireFox (will work on IE/Chrome) but instead open the "Save As..." (or open/save) dialog indicating the .php file has been served... | stackexchange/codereview |
Is there any way in python for S60 (using the python 2.5.4 codebase) to track the amount of data transferred over the mobile device's internet connection?
| stackexchange/codereview |
Due to overwhelming user complaints I have decided try allowing users of my Android application to move it to the SD card as per the official documentation. However, a core feature of my application requires a background service to be continuously running. When someone who has moved my app to their SD card mounts the... | stackexchange/codereview |
Can Silverlight apps (the .xap file, the testpage.html, content resources along side a ClientBin, out of browser settings, etc) be created using only System.CodeDom from a regular .NET app? Meaning I have a console or winforms app that creates Silverlight apps - is this possible with System.Codedom?
I have searched hig... | stackexchange/codereview |
I have a simple form I want users to be able to log into; here is the template code with the CSRF tag in it:
<html>
<head><title>My Site</title></head>
<body>
<form action="" method="post">{% csrf_token %}
<label for="username">User name:</label>
<input type="text" name="username" value="" id="user... | stackexchange/codereview |
When using fprintf to convert floats to text in a decimal representation, the output is a series of decimal digits (potentially beginning with 0).
How does this representation work?
>>fprintf('%tu\n',pi)
>>1078530011
>>fprintf('%bu\n',pi)
>>04614256656552045848
Apologies if this is very trivial; I can't find an answ... | stackexchange/codereview |
I have the following code:
var d = document.createElement("div");
d.id = "d_1";
d.style.backgroundImage = "url(img/lr.png");
d.style.backgroundRepeat = "no-repeat";
d.style.width = "150px";
d.style.height = "25px";
d.style.position = "absolute";
d.style.left = "460px";
d.style.top = "385px";
d.style.visibility = "visib... | stackexchange/codereview |
Is there any functionality in Eclipse (similar to Visual Studio), to automatically tag the JAR's with increasing version?
I googled for this first, but didn't find any specific answer.
Thanks!
| stackexchange/codereview |
hey guys i am developing a final year location-based project(gps) in android.I have to create a server using php and mysql which contains name and location(in latitude and longitude) of important hospitals in Mumbai.The android client should be able to retrieve the the latitude and longitude of locations in mysql(exter... | stackexchange/codereview |
I'm using an AJAX uploader in Rails 3, along with paper_clip and have files uploading here:
def upload
@photo = Photo.create({ :photo => params[:file], :title => params[:filename] })
respond_to do |format|
format.json
end
end
I want to set the photo's title as the photo's filename, but don't ... | stackexchange/codereview |
I am building my query using PredicateBuilder from LinqKit.
it is great and does exactly what i am looking for.
To make my code more reusable (tables and views) i created a generic predicate builder class:
public class LocalPredicateBuilder<T> where T : IResort
...
var predicate = PredicateBuilder.True<T>(
which ... | stackexchange/codereview |
Is there any possible way that a generic type can be used to contain a child of a base class.
From the assignment given to me, I am to create something similar to the following in structure.
template <class T>
class Fruit {
private:
int count;
int location_id;
T type;
public:
virtual void displayInf... | stackexchange/codereview |
I used to work with math.h without any problem. Now, I use an external library which itself has a file called math.h, but which includes < cmath>.
Adding this library to my project (or even just adding the include directory, without touching the code) now generates tons of errors from < cmath> :
C:\Program Files\Micro... | stackexchange/codereview |
Under my version of msysgit, I can't use process substitution.
cat <(echo 'foo')
sh.exe": cannot make pipe for process substitution: Function not implemented
If I upgraded to the latest version of msysgit, would its version of msys / mingw be able to handle process substitution?
My current version of msysgit is 1.7.0.... | stackexchange/codereview |
I cannot seem to get this script to work. Can anyone please help? The DIV's width is not defined. It just stretches across the whole page.
<html>
<head>
<style type="text/css">
#box{
height:100px;
border:3px;
border-style:solid;
border-color:#000;
}
</style>
<script>
document.getElementById('box').style... | stackexchange/codereview |
Suppose the current month is "Oct". I want that it will add one month in current month i.e it will show "Nov". For this my code is written below but it gives exception that Input string was not in a correct format.
So please correct the code?
if (Convert.ToInt32(ddlMonth.SelectedIndex ) <= Convert.ToInt32(DateTime.Now... | stackexchange/codereview |
So I started to write a POJO class, created public variables and now want to get getters and setters for them (folowing Java Naming Conventions)
so I have for example something like
package logic;
import java.util.Set;
import java.util.HashSet;
public class Route {
private Long id;
private String name;
private ... | stackexchange/codereview |
I played a lot with Doctrine 1.2. Creating and deleting records are no problem anymore ;). But sometimes i have empty records in my database. Every field is set to NULL. I have the feeling it has something to do with relations. How can i prevent Doctrine of creating such empty entries.
| stackexchange/codereview |
I will be writing a little Python script tomorrow, to retrieve all the data from an old MS Access database into a CSV file first, and then after some data cleansing, munging etc, I will import the data into a mySQL database on Linux.
I intend to use pyodbc to make a connection to the MS Access db. I will be running the... | stackexchange/codereview |
I am new to Embedded Programming, taking courses on it. And working with ATSTK600.
I am looking for some help on "how to write header files for Devices". Well, to be specific, what are the standard to be followed while writing header files like naming a register, etc (how to create .h & include, that I know).
Recently,... | stackexchange/codereview |
How can I debug TSQL on SQL Server 2005 instance?
Thanks.
| stackexchange/codereview |
I have been struggling to find out why this rollover is not behaving as it should in IE8.
Go here: http://baked-beans.tv in IE8, you'll see that the rollover only works on the lower half of the thumbnails.
Btw, this is not activated by an <a> tag but by a :hover for the <div>.
What I can't figure out is why it works o... | stackexchange/codereview |
Hello everybody
I have a LINQ declaration like this :
var query = from foo in NHibernate_Helper.session.Linq<TheType>() select foo;
Is it possible to store TheType into a variable to dynamically define this one ?
Thank you by advance
| stackexchange/codereview |
Possible Duplicate:
Iterable objects and array type hinting?
I am passing a JSON'd feed from Twitter into my application, and sometimes Twitters API returns empty or incomplete feeds. This is causing a problem when I try to iterate the feeds using foreach - does anyone know of a suitable test to find out if an objec... | stackexchange/codereview |
I'm looking to optimize generating of slightly different APKs of the same Android app, the only difference being the http API server it's using (dev/staging/prod).
Ideally, I'd just want my Eclipse to build 2 APKs, one with the prod server and one with the dev one.
I'm even OK with having 2 Run configurations, but I ha... | stackexchange/codereview |
I'm trying to do it for hours now, and I just can't do it.
What I want is:
A radio or select drop-down with varying options (from the database). This part is ok, it's just a query and building the options.
Then there are 3 text fields, each option from the above form has data for these 3 text fields.
When the user clic... | stackexchange/codereview |
When I put text directly into a <pre> tag and press Ctrl+K, Ctrl+D, the whitespace is preserved.
<pre>
This
whitespace
gets
preserved.</pre>
But when I put text in a tag nested within a <pre> tag, the whitespace is not preserved.
<pre><code>This whitespace doesn't get preserved.</code></pre>
Only ... | stackexchange/codereview |
I hope to use an UIAlertView prompt to reminder user some messages, the alerview will be closed automatically in 2 seconds.
my codes:
IBOutlet UIAlertView *aUIAlertView;
....
@property (retain,nonatomic) IBOutlet UIAlertView *aUIAlertView;
....
UIAlertView * alert=[[UIAlertView alloc]
... | stackexchange/codereview |
i'm attempting to launch a command line executable program as a background process in Windows 7, but it's not working. my AIR application is a native installer application: myAIRApp.exe.
i've bundled myApp.exe with my AIR application, so that when it launches for the first time, the application copies myApp.exe to the... | stackexchange/codereview |
Has anyone managed to achieve this?
Application should work like this:
App admin can add AD users
App admin can define users not from AD
If user is added from AD and trying to access to application from same AD - application should log him in automatically (single sign on).
If user is not from AD, or not added as appl... | stackexchange/codereview |
Is there a way we can access the android phone app and move it's hold button to Right down instead of left top currently? Basically is it a non-open source google app (I see contacts is one) or can we download the source and modify it?
Thanks for pointers!
| stackexchange/codereview |
Sample code for dll/pyd:
#include <boost/python.hpp>
#include <iostream>
class Base
{
public: Base() {}
public: int getValue() { return 1; }
};
typedef boost::shared_ptr<Base> BasePtr;
class ParentA : public Base
{
public: ParentA() : Base() {}
};
typedef boost::shared_ptr<ParentA> ParentAPtr;
class Collector
... | stackexchange/codereview |
I'm trying to find the ideal exception handling strategy for my MVC project. I have done the following and am looking for some feedback.
Problem:
I have disparate result types (Pages, Partial Pages, JSON, Files, etc). Controller.OnException() doesn't have an easy way to identify what kind of result the client is expect... | stackexchange/codereview |
Sometimes I start Vim by pointing it at a directory, but I'm not certain yet which file I'll need to change, so I end up looking through several files.
Is there a way to make the file browser open a selected file into a new buffer so that the file browser is still available without having to reopen it with :e path/to/... | stackexchange/codereview |
Does anyone (please) know how to do this? I thought that there would be an easy way to achieve this but can't find anything about saving the contents of WebBrowser HTML.
| stackexchange/codereview |
Is there a way to make spring (v.3.0) parse placeholders in files that are not .properties?
I know I can write my own PropertyPlaceholderConfigurer but I was looking for a "cleaner" way to do it.
EDIT:
To be more specific, what I actually want to do is to replace placeholders present in .sql files. So the values of the... | stackexchange/codereview |
After calling list() on a Hibernate Query which you expect to just return a list of Foo objects (see example below), how best would you deal with this situation?
Query query = session.createQuery("from Foo");
List list = query.list();
I don't particularly like seeing this:
public List read() { ... }
When I would mu... | stackexchange/codereview |
val y=2;
fun f(x) = x*y;
fun g(h) = let val y=5 in 3+h(y) end;
let val y=3 in g(f) end;
I'm looking for a line by line explanation. I'm new to ML and trying to decipher some online code. Also, a description of the "let/in" commands would be very helpful.
| stackexchange/codereview |
I have the insert working fine with my SQL Server CE database however I am struggling to update.
Can anyone see whats wrong with what I am trying
using (SqlCeConnection con = new SqlCeConnection(ConfigurationManager.ConnectionStrings["MyConnection"].ConnectionString))
{
con.Open();
// Insert into the SqlCe tab... | stackexchange/codereview |
in my def create controller I'd like to include something along the lines of:
:description = > 'Uploaded on May 27, 2010"
How can I make the May 27, 2010 dynamic in the controller?
Thanks!
| stackexchange/codereview |
I would like to implement a java application (server application) that can download a new version (.jar file) from a given url, and then update itself at runtime.
What is the best way to do this and is it possible?
I guess that the application can download a new .jar file and start it. But how should I do the handover,... | stackexchange/codereview |
I was following a tutorial.
it was working great..
my doubht is, to execute single query they executed in this method
"+ (void) getInitialDataToDisplay:(NSString *)dbPath {"
as
"select coffeeID, coffeeName from coffee""
that's fine. but for my next view if I want execute a new query like "select * from coffee wher... | stackexchange/codereview |
i would like to develop iPhone App something similar to this link
i am planning to develop this using jQuery.
i would like to have some pointers as how to set database and access it.
| stackexchange/codereview |
I need to manage server sessions in iPhone. As I researched there are many ways. One way is to use the apple native method calls by make use of the NSURLConnection and NSHTTPCookieStorage classes. However using the 3rd party libraries like ASIHttpRequest can also be helpful cos it already has implemented the above scen... | stackexchange/codereview |
I'm setting up a horizontally scrolling site, with Index Exhibit. One section needs to have a video, which I can't set up in the Indexhibit CMS backend (where it would add it to the wide div's width), so I need to add it to the PHP generation file. Basically, it needs to check if an element with the ID vid is present. ... | stackexchange/codereview |
I have created the Info path form.
Once the new form created i need to send the email to users which the user selected in the people picker field.
Is that possible to do this using Designer,or VS 2010.
Give some reference to do this.
| stackexchange/codereview |
Problem
Problem shaping
Image sequence position and size are fixed and known beforehand (it's not scaled). It will be quite short, maximum of 20 frames and in a closed loop. I want to verify (event driven by button click), that I have seen it before.
Lets say I have some image sequence, like:
http://img514.imageshack.... | stackexchange/codereview |
I am trying to implement a library with extended parsing capabilities. I decided that I will use fsyacc because I knew it from the university. Unfortunately I encountered following problem.
I defined a class for the head of my grammar (Head) and place its implementation in a single file. Then I defined parser as:
...
... | stackexchange/codereview |
I've got a subclass of Field:
class MyIDField(Field):
...
def to_python(self, value):
return to_base_36(value)
And I use it as a primary key like this:
class Foo(m.Model):
id = MyIDField(primary_key=True)
class Bar(m.Model):
foo = m.ForeignKey(Foo)
Then the MyIDField.to_python function isn't ... | stackexchange/codereview |
I have the following query:
update234ae5.php?q=1&q=2....
must be rewritten to:
update.php?cond=234ae5&q=1&q=2....
I use:
"^/update(([a-zA-Z0-9]+))" => "/update.php?cond=$1"
How can I add the rest of url string, because my url is rewritten to
update.php?cond=234ae5&
without the rest of params
In Apache I use... | stackexchange/codereview |
I've scoured the web for the entire day trying to find an example on how to implement what I read concerning changing a command label dynamically here:
http:// wiki.eclipse.org/Platform_UI_Command_Design#Issue_102_-_Comm ands_implementation_of_label_changing
I have the a command defined in my plugin.xml that uses the s... | stackexchange/codereview |
I've been trying to find a JPA Criteria API tutorial but haven't been much successful. Do you know about any for beginners? I'd like to start using it in an Java5/Maven app to build complex search queries.
| stackexchange/codereview |
Here is my code.
import urllib2
import urllib
import json
from BeautifulSoup import BeautifulSoup
class parser:
"""
This class uses the Beautiful Soup library to scrape the information from
the HTML source code from Google Translate.
It also offers a way to consume the AJAX result of the translation, ... | stackexchange/codereview |
I have an Accordion control that is populated dynamically. I want to catch the event raised when a new pane is clicked on to open. I don't see the event at all in intelli-sense and when I code it by hand anyways I get errors.
Is there any way to catch this event?
The goal is to let a control in the masterpage that is h... | stackexchange/codereview |
I am just getting started developing my first Android app, and one function that I need the app to do is to be able to place a voice call and play a recording into the call.
I have been looking all over the place and I cannot find the ability to do this in the Android SDK. I do see there is com.android.internal.telepho... | stackexchange/codereview |
Does anyone have any information on how to connect from the sequel gem to a remote mysql database over ssl? I can connect without ssl but trying to connect as a user who requires ssl just fails with the error message:
Sequel::DatabaseConnectionError: Mysql::Error Access denied for
user 'ssl_user'@'<IP_ADDRESS>' (using... | stackexchange/codereview |
I've had numerous problems compiling shared objects that link statically against static libraries. This problem only shows up on x84_64 platforms. When doing the same compilation work on x86_32 I do not have any problems.
Perhaps this is a OS specific GCC configuration thing, but my research indicates that its how GCC... | stackexchange/codereview |
I have a xaml page that I want to host another xaml page for various reasons. I attempted to use the Frame control, but I ended up with a warning telling me that the default constructor must be public...
<controls:PivotItem Header="page1">
<Controls:Frame Source="MyPage.xaml"/>
</controls:PivotItem>
Okay, well t... | stackexchange/codereview |
I just updated my app so that it's a universal app. In doing so I added support for UIPopoverController in a certain place. Now the app seems to be crashing on 3.1.3 iPhone/iTouch devices:
OS Version: iPhone OS 3.1.3 (7E18)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001... | stackexchange/codereview |
I am watching Apple's overall intro to Game Center. It says that to be a game center game you have to:
1) Register your bundle ID through the developer portal.
2) When your game is launched, you have to authenticate a game center player.
Is it OK if I make the authentication part optional, and if it happens later th... | stackexchange/codereview |
I'm writing a text/code editing program for my own use in Java/Swing, and was wondering how I would go about setting up a built-in C compiler inside it. I would likely use GCC or TCC as the compiler. Anyway, my question is- how would I actually implement the compiler? Would I use a library that gives Java access to com... | stackexchange/codereview |
Using the strpos() function in PHP, how can I echo what strpos() has found? All items that it has found. Thanks
| stackexchange/codereview |
I'm trying to do a form submit to my controller through jQuery Ajax. The following code works for the most part, however, the ThreadId parameter does not get passed. If I call the controller directly without using jQuery, it gets passed, but when using jquery, I don't see the ThreadId after form.serialize(). WHat wo... | stackexchange/codereview |
I have what I would assume is a pretty standard setup...spring, jpa (hibernate) and I'm trying to add ehcache.
I have it all configured and verified that it's working...I'm logging the hibernate sql statements and cache statements and can see that the cache is getting invoked and that once the object is in the cache, w... | stackexchange/codereview |
I have tested a JSF application with the CSRFtester tool, and the tool didn't report any CSRF problems. But I had read in the "OWASP_Top_10_2007_for_JEE.pdf", that all Java EE web application frameworks are vulnerable to CSRF and also some says we need to create a secret key for each session and append it to the url. B... | stackexchange/codereview |
I'd like to paste yanked text into Vim's command line. Is it possible?
| stackexchange/codereview |
I am trying to search within Google Cache, so I need to fire this query:
http://webcache.googleusercontent.com/search?q=cache:news.ycombinator.com/news+hacker+news
And get some content like timestamp from the page. But when I do this using curl (ruby), it gives a permission denied error, i.e. scraping is blocked and ... | stackexchange/codereview |
I have a small conundrum when it comes to Scala properties.
Various blogs and tutorials tell me that this:
class Something
{
var foo = 1
}
...can be specified as...
class Something
{
private var _field = 1
def foo = _field
def foo_(foo: Int) = _field = foo
}
This makes perfect sense to me, when doing... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.