instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I'm trying to toggle some divs and at the same time set an "active" state on the links. Below is my code.
$(".product_buy").hide();
$(".product_geo").hide();
$("a.buy, a.geo").click(function()
{
$("#" + this.className + "_" + this.rel).slideToggle("fast");
$(this).toggleClass("item_active");
... | stackexchange/codereview |
I have an requirement to gather the components required to build an application in Sybase unwired platform, I am completely clueless as I suppose that it's a new platform introduced.
Please assist.
| stackexchange/codereview |
At work, I mainly program in C++ and when it needs to be graphical/multi-threaded/network enabled use Qt. Our environment is windows and I currently program w/ a combination of Visual Studio(debuggin purposes only) and Qt-Creator for actual coding (like their autocomplete better than VS).
At home, I mainly use linux (... | stackexchange/codereview |
Is RDF a superset of the Entity Attribute Value model?
I'm looking into EAV Frameworks and it seems that many RDF Frameworks could be used to provide EAV Frameworks.
E.g. With an RDF store and something like LinqToRDF would I have myself a ready-to-go .NET EAV Framework?
| stackexchange/codereview |
The below function takes in a array of char pointers Eg :
arr[0]: ls
arr[1]: -l
arr[2]: -a
arr[3]: /etc
arr[4]:NULL /* Since execvp expects a NULL at the end */
// function call is runCmd(arr);
the function definition is below :
void runCmd(char *arr[]){
pid_t child_pid,tpid;
int child_status;
... | stackexchange/codereview |
I'm writing an application that accesses a SharePoint site using the Client Object Model and I'm behind a proxy server.
I call...
ClientContext.ExecuteQuery()
and receive the following error message...
The remote server returned an error: (407) Proxy Authentication Required.
How do I pass my proxy credentials to the C... | stackexchange/codereview |
Here's the code:
def fetch_feed(self):
client = gdata.contacts.service.ContactsService()
client.ClientLogin(username, password) #Will change to AuthSub later.
query = gdata.contacts.service.ContactsQuery()
query.max_results = 3000
feed = client.GetContactsFeed(query.ToUri())
... | stackexchange/codereview |
I am building an application that downloads images from the web to the SD Card and then displays them conveniently. The application also generates thumbnails for those pictures. Problem is that those images and their generated thumbnails are indexed by the Media service and for instance appear in the gallery.
Furtherm... | stackexchange/codereview |
I have installed SQL Server with Microsoft Visual Studio and now I need to use SQL Server Management Studio and there is no such application in the Start menu. It just has Import and Export Data and SQL Server Configuration Manager. What do I do next?
when i tried to install the sql server 2008 from the given link by ... | stackexchange/codereview |
I want to use floating-point numbers in my J2ME (MIDP 2.0) program.
I don't need high precision, so I'm considering choosing float type.
However, it seems to me that I read a Java article which says that double is better supported by processors, so it is faster.
I'm doing many operations with such numbers, so performan... | stackexchange/codereview |
I want to make a function that will handle focus for multiple forms. I'm certainly doing something wrong here because it isn't working as expected. Can someone tell me what's wrong?
<a href="#" onclick="x('a','b','')">test</a>
<script type="text/javascript">
function x(xform, xbox, xval) {
document.xform.xbox.focus(... | stackexchange/codereview |
I'd like to save my gold and experience attributes so that they can be retrieved whenever the app launches.
I don't know whether I should use .plists or NSUserdefaults. What's the difference? Can I somewhere manually edit the NSUserdefaults outside of the code like I can do it with plists? The problem is, I don't want... | stackexchange/codereview |
I have a C++ class which has four private floats and a bunch of nonstatic public functions that operate on this data.
Is it guaranteed, or possible to make it so, that the four floats are contiguous and there is no padding. This would make the class the size of four floats, and it's address would be that of the first f... | stackexchange/codereview |
I don't usually bother with signing my .NET assemblies, so I don't know much beyond the basic mechanics of it. For a small project I'm working on, it was necessary to sign, and I created a new key, protected with a password.
I expected to be prompted for this password at some point in time when recompiling the assembly... | stackexchange/codereview |
Okay so I am quite new to Rails and am trying to do the following without success:
I have an Object (from my Active Record) containing a project, which contains n sub-projects, which contain n tasks. Now for each of these I want a partial view.
So I render from the project view the sub-project with the following code:
... | stackexchange/codereview |
I'd like to override a class method, not creating subclass/extending from a class.
An example:
from django.contrib import admin
class NewModelAdmin(admin.ModelAdmin):
def formfield_for_dbfield(self, db_field, **kwargs):
# some custom stuff
Now I don't want to change all the classes (aka Models) which exte... | stackexchange/codereview |
I am on Windows 7 32bit running the latest drivers from Zebra and printing via USB to the TLP2844. I am trying to generate a set of labels and print them to the label printer from C# using the RawPrinterHelper class as mentioned in numerous posts online. If I power the printer up and use the oM command which is to di... | stackexchange/codereview |
Here's a code of the simpliest multilevel menu:
<nav>
<ul>
<li><a href="#">I am a 1st level link</a></li>
<li><a href="#">I am a 1st level link with children and I want to have an arrow next to me (or different background)</a>
<ul>
<li><a href="#">I am a 2nd level link</a... | stackexchange/codereview |
On my AWS instance I created an empty git repo. From TortoiseGit on XP, I pushed to the server and all seemed to go well. But there is no indication on the server that anything has happened - nothing new in git status or git log.
Where are the files I thought I pushed?
If I need to do a pull from the server instead of ... | stackexchange/codereview |
I was just able to get Apache ANT running on my computer. The ant -version commando outputs the version number , verifying that the installation went well.
I have read that ANT is well suited to handle deployment of web applications including PHP projects and have spent some time to get it working, but I just can't get... | stackexchange/codereview |
I need to enable zooming on the Silverlight charts I use - at the moment this is Silverlight Toolkit. As far as I've understood the SL Toolkit charts don't support zooming, however I'm looking into implementing this functionality. So far I haven't managed to get far: applying ScaleTransforms to the Series elements does... | stackexchange/codereview |
I am developing a small stored procedure on SQL server 2008. I have little knowledge on SQL queries, but enough to achieve simple tasks. However I came up with a problem I can't solve myself. Before I start explaining my problem, please pardon me if I spell a SQL query-word wrong because I am not a native English speak... | stackexchange/codereview |
Normally this is a pretty common question, I've read through lots of threads here on SO about converting a whole db to UTF-8.
..
However, I've tried a few php scripts in avail.
My problem is while my db is ISO-8859-1 none of the content is encoded in ISO-8859-1.
In my db an ampersand is &
a British pound symbol is £
... | stackexchange/codereview |
Let's suppose I have the following structure in my project (I'm using iBatis as DAO):
public class UsersManager {
public void do {
mySqlMapClient.startTransaction();
// my code here
mySqlMapClient.endTransaction();
mySqlMapClient.commitTransaction();
}
}
public class StatsManage... | stackexchange/codereview |
For example: A two-dimensional array can be visualized like a brick-wall with square bricks, where every brick represents a coordinate in our array. A 3-dimensional array can in the same way be visualized as a box, or cube.
But, here is the tricky part, how do you visualize an array with multiple (More than 3) dimensio... | stackexchange/codereview |
I would like a software environment in which I can test the speed of my software on hardware with specific resources. For example, how fast does this program run on an 800MHz x86 with 24 Mb of RAM, when my host hardware is a 3GHz quad core amd64 with 12GB of RAM? Emulators such as qemu make a great point of running "... | stackexchange/codereview |
Is it possible to run the Cufon text replacement script in PHP (or before its sent to the browser)? The reason I ask is that there is a bit of an issue with the displayed HTML being its normal browser rendered text before Cufon is able to draw its magic over it. The user sees a flash of unrendered text (FOUT) before it... | stackexchange/codereview |
Im creating a PDF Document on my Website.
All works just fine, but when i try to add a Image into the PDF i get
"We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly."
So something fails with Prawn.
This is how i try
"image 'logo.png"
i tryed so many ways, all ... | stackexchange/codereview |
Without keeping a list of current threads, I'm trying to see that a realtime signal gets delivered to all threads in my process. My idea is to go about it like this:
Initially the signal handler is installed and the signal is unblocked in all threads.
When one thread wants to send the 'broadcast' signal, it acquires a... | stackexchange/codereview |
All,
I'm using the JSON Perl module to encode JSON.
I'd like the resulting JSON to include lines like this:
{
"startDate": new Date(2010,11,15,0,0),
"aString" : "String Data",
"aNumber" : 1234
}
In order to create that, I have a Perl HASHREF like this:
{
startDate => SEE BELOW,
aString => "String Da... | stackexchange/codereview |
When you use POCO's in place of the Entity Framework generated objects, you have to turn of the default code generation in the EDM Designer by setting the value of the Code Generation Strategy property of the conceptual model (or EDM) to None, and also by setting the Custom Tool property of the EDMX file (.edmx) to an ... | stackexchange/codereview |
I have a system currently written in Python that can be separated into backend and frontend layers. Python is too slow, so I want to rewrite the backend in a fast compiled language while keeping the frontend in Python, in a way that lets the backend functionality be called from Python. What are the best choices to do s... | stackexchange/codereview |
I am implementing this solution as an alternative to polymorphism.
Why can you not have a foreign key in a polymorphic association?
But I am wondering if there is an easy way to go:
Article.comments instead of Article.commentable.comments
| stackexchange/codereview |
I'm trying to make a page that takes a form submission and adds the contents as a new value in the $_SESSION() array, what seems to be happening though is the value is being overridden.
The form has 3 text inputs named a, b and c and refreshes the page on submission. What tells me it's being replaced is $_SESSION[0] wi... | stackexchange/codereview |
I am adding a toolbar to Outlook.
The toolbar will have one button on it.
This button, when pressed, will open up a web site.
I've created the button & toolbar no problem, but cannot work out how to add the hyperlink?
Set oTBar = oView.Add("toolbarname")
oTBar.Position = 1
oTBar.Visible = true
Set oButton = OT... | stackexchange/codereview |
What is the difference between EquivalentClass and SubClass of? While reading through OWL primer, i find the tutorial uses SubClassOf a lot to declare a new class, as follows
SubClassOf(
:Teenager
DataSomeValuesFrom( :hasAge
DatatypeRestriction( xsd:integer
xsd:minExclusive "12"^^xsd:integer
xsd:max... | stackexchange/codereview |
I have to change the data set displayed on a map according to selections on the page and I would like to do this by creating several marker layers then switching between them based on user input.
For some reason I cannot add a layer after the map has been rendered on the page, seems like it shouldn't be that hard I thi... | stackexchange/codereview |
I've been doing a lot of searching and haven't quite found the solution to my problem.
What I'm trying to do, is have two CSS style sheets for a website. One style sheet for when javascript or jQuery is enabled, and one for when it is disabled. How would I go about doing this?
| stackexchange/codereview |
I can't figure out how to handle more than one kind of exception by @ExceptionHandler.
I need to programmatically deal with these exceptions, for this I'd need a shared reference. Is this done via this reference "Exception ex" ? I don't think so, cause the exception is not caught like this, how would I do it then ?
I ... | stackexchange/codereview |
I recives a dictionary <string, string> from an API.
I have to show this data on my WPF form in in grid view as Name and Value as two columns
<ListView Name="LstCustomProperties" ItemsSource="{Binding CustomPropertyTable}">
<ListView.View>
<GridView>
<GridViewColumn Header="Name" DisplayMemberBinding="{Bi... | stackexchange/codereview |
When including an app's URL's in the project's urls.py, my coding partner does it this way:
('^stops/', include('stops.urls'))
However, Django documentation specifies the following syntax:
('^clients/', include('project_name.app_name.urls'))
His way has worked. Is there a reason to specify the project name at all?
| stackexchange/codereview |
I'm going to create the comparison table of existing automated C++ refactoring tools as well as explore an ability of creation of such tool, free and open-source.
My question is: what refactorings do you really use in your everyday work? There are obvious things like renaming variable/class/method, but is there somethi... | stackexchange/codereview |
I am using mysql Db. I having a field like current_date in date data type. I have thousands of data right now.
Now I want to capture the time of the current_date field. So now I am going to change the data type from date to date/time.
Is this cause any problem to do this?
Suppose I changed, what about the old records?
| stackexchange/codereview |
When the user login, the batch need to execute Java program. How can I prevent the command prompt from displaying on the desktop?
@echo off or cmd /C doesn't work
| stackexchange/codereview |
I'm vb.net programmer. I would like to start writing unit & user interface test for my web application. I would like to hear what frameworks do you suggest for writing those tests?
My requirement is that I have to be able to use this software together with Team Foundation Build Server and would be perfect if the vendor... | stackexchange/codereview |
I used this answer: Install xCode 3.2.3 w/ iPhone SDK 4, get "Base SDK missing", can't see other SDKs and it doesn't work. I still have "Base SDK Missing" and I can only choose simulators to compile for. I'm ready to device test but there's no iPhone in the Active Executable list.
I just updated to the newest 4.2 and... | stackexchange/codereview |
I made my application as install setup by install shield 5.0 on 32bit machine but before that i migrated my application into 64bit. after installed my application on 64bit machine, my application registry values are gone into under wow6432 node as HKLM\SOFTWARE\Wow6432Node(myapplication) but my application trying to r... | stackexchange/codereview |
while ((1U << i) < nSize) {
i++;
}
Any particular reason to use 1U instead of 1?
| stackexchange/codereview |
What's the use of the binding information field when adding a new net.pipe binding in IIS? I've been told to enter a * in it, but I want to know what it's used for.
| stackexchange/codereview |
I am using MAMP to test my javaScript/flash based website locally. It uses a small php script running on MAMP (Apache 2.0.63) to receive a file uploaded via post from the client. In order to test the upload progress without using huge files I would like to know if there is a fairly easy way to limit the bandwidth for d... | stackexchange/codereview |
Anyone know of an algorithm that can break text at word boundaries to fit a rectangle of a certain approximate ratio - e.g. 60:40 (width:height)?
Note this is not just width (e.g. 80 chars or 600px etc) and an arbitrary height which rules out every word-wrapping algorithms I can find.
Bonus points for javascript but th... | stackexchange/codereview |
I have a Silverlight 4.0 project which runs fine in VS2010 but when I try to run (F5) it in Blend I get a blank screen.
After taking a look at the source I realised the page it generates doesn't contain the silverlight app.
Here's the HTML -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.... | stackexchange/codereview |
I tried to execute the following query:
update ms
set user_B_total_duration = amc.total_duration
from monthly_statistics ms
inner join aggregate_monthly_conversations amc
on ms.user_B = amc.user_B
but the query has been executing for over 10 hours. There are about 23M records in each table ... | stackexchange/codereview |
hey all, i
have been working on an air app for quite some time and in one of my mx:lists i have a custom renderer written in pure AS (no mxml).
it extends the listitemrenderer mx componenet.
in it i have overrode the createChildren() function to add some children of my own.
now, fort right-to-left text i want in this i... | stackexchange/codereview |
I’m trying to do a full-text search in three seperate tables and sort the results by relevancy.
During my searches for the answer, I found out that I can’t use fulltext search in multiple tables. So I added a separate fulltext index for each column I want to search.
Now the problem is that I can do the search but I can... | stackexchange/codereview |
apparently,
self.hidden = YES;
self.userInteractionEnabled = YES;
hides the view but doesn't recognize touch events.
Is there a way of hiding a view and touching it?
| stackexchange/codereview |
I want to change the thickness of my horizontal rule (<hr>)in CSS. I know it can be done in HTML like so -
<hr size="10">
But I hear that this is deprecated as mentioned on MDN here. In CSS I tried using height:1px but it does not change the thickness. I want the <hr> line to be 0.5px thick.
I am using Firefox 3.6.1... | stackexchange/codereview |
UPDATE 1:
My original post was too long and obscured the real problem. I have discovered exactly what is causing the "Multiple targets" bug when Make is called.
UPDATE 2:
I found out that this 'Multiple Targets' bug is caused by GNU Make version 3.8.1 (see here1 and here2). GNU Make 3.8.1 is the current GNU Make releas... | stackexchange/codereview |
I have to draw a spider web using data structures. not so big on imagination. Should I use a binary tree or a graph? or other data structures?
| stackexchange/codereview |
Am stumbled - went through docs, tutorials, etc, and am not sure what I am doing wrong.
Another model in the project is set up for Paperclip and is functional when tested. It saves and retrieves attachment file info into the database, and puts file into a subfolder inside public/system. I basically copied the relevant ... | stackexchange/codereview |
I'm working to add a better authentication system to a mature backend site. I've been using HTTP Authentication just because it's so easy to setup. But as the site has grown, the downsides to this method have become more and more pronounced; specifically, the lack of security over standard HTTP connections, and the l... | stackexchange/codereview |
What I wont to do is to create a terminal menu that takes various types of arguments and place it in a array param. Under is the code: Here is some trouble that I have and cant find a good solution for.
if i just type 'list' I will get Not a valid command, I have to type “list “ (list and space).
Menu choice new shoul... | stackexchange/codereview |
I've been reading about autoreleasepool but there is a point which is a bit unclear to me. I have some functionality using threads that required seperate memory managment using autoreleasepool.
In the following example is correct
-(void) doSomething {
NSAutorelease *pool = [[NSAutorelasepool alloc] init];
NSSt... | stackexchange/codereview |
I have a field in my bean that I would like to be either Null, OR a date in the past. JSR-303 provides annotations for Null and Past, but if I apply both the it will never validate because it can't be both Null and Past. I would like to combine the validations in an OR relationship. I'm pretty sure I'll have to crea... | stackexchange/codereview |
I have an xml file that needs to updated. The user wants to be able to select the year and amount. What is the best way?
Thanks
<root>
<SGA>
<Year>2008</Year>
<Amt>940</Amt>
</SGA>
<SGA>
<Year>2009</Year>
<Amt>980</Amt>
</SGA>
<SGA>
<Year>2010</Year>
<Amt>1000</Amt>
</SGA>
</root>
| stackexchange/codereview |
I have a MapActivity as one of four tabs in a TabActivity. This MapActivity can launch a PopupWindow that is a legend. The PopupWindow remains on the screen, on top of the map, until the "Show Legend" button is clicked again (back and forth, etc.).
The problem is that, when a user switches to another tab, the PopupWi... | stackexchange/codereview |
I have a hibernate project which interacts with Oracle 10g database, and have a seperate dynamic web project in which we have defined rest web services..
Now when we make a call from the web service project to make a query into the database via the hibernate project using sessionfactory object its showing an error ... | stackexchange/codereview |
I have a loader on my page which is removed once I receive a successful response to my RPC. If the RPC call fails, the page is instantly refreshed.
Anytime I load my page for the first time in IE 7 or 8, it will never load AND never reach the rpc call has failed method. Every time I manually refresh that failed load,... | stackexchange/codereview |
I'm working on a project involving puzzles made out of user-supplied images. I have been very hard-pressed to find a library that will serve my purposes. I would like to write the program in either Python or C++. I have been considering using Qt (or PyQt) to do it, so if you know of a library that will work with Qt it ... | stackexchange/codereview |
My technique for deploying an ASP.NET webapp into production is as follows:
Client:
Select 'Release' mode and then right-click to publish.
Go manually to the publish folder and zip contents.
Now transfer to server by FTP.
Server:
Unzip folder contents.
Stop IIS.
Deploy new folder contents for web app.
Start IIS.
I ... | stackexchange/codereview |
I'm programming in C, and I'm remotely clicking a button programically. I've done it in simple, various simple form applications.. but I've ran across a problem.
HWND WINAPI FindWindowEx(HWND hwndParent, HWND hwndChildAfter, LPCTSTR lpszClass, LPCTSTR lpszWindow);
I've tried using Spy++ (My old 6.0 edition) and the mu... | stackexchange/codereview |
When I have a NERDtree panel and I save a Vim session (mksession [filename]), then open the session (vim -S filename), the panel is opened and tagged "NERDtree" but is not populated. If I try ":NERDtree" from the commandline, the window does get populated, but another panel now opens.
Any ideas wrt this weird behaviou... | stackexchange/codereview |
I am trying to get Spring Roo to use my own @Id field instead of generating one.
@Entity
...
@RooEntity
@Table(name = "usr")
public class User {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "usr_id")
private Integer id;
...
public Integer getId() { return id; }
public v... | stackexchange/codereview |
I can't get simple matrix operations to work on data, for the life of me I haven't been able to figure out what I'm doing incorrectly:
data = np.genfromtxt(dataset1, names=True, delimiter=",", dtype=float)
X = np.matrix(data)
print(X.T*X)
Traceback (most recent call last):
File "genfromtxt.py", line 11, in <module... | stackexchange/codereview |
I have some 3D models that I render in OpenGL in a 3D space, and I'm experiencing some headaches in moving the 'character' (that is the camera) with rotations and translation inside this world.
I receive the input (ie the coordinates where to move/the dregrees to turn) from some extern event (image a user input or som... | stackexchange/codereview |
I have a WebView that loads a local HTML file like this:
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"test1" ofType:@"html"]isDirectory:NO]]];
What I want is to click a link in the test1 local HTML file and then for the webView to load the test2 loca... | stackexchange/codereview |
I'm making an activity to configure my app, and I have to divide the sections of my configuration window with a line. I used this: divider_horizontal_bright, from this example:
http://android.cryx.li/doku.php?id=know:settings:start
However it doesn't work! When I test on my android phone, it doesn't show a horizontal l... | stackexchange/codereview |
How can I convert the english date 10/29/2010 or any language date to user culture date format
I am using the following code
CultureInfo cultureInfo = System.Threading.Thread.CurrentThread.CurrentCulture;
cultureInfo.DateTimeFormat.
string lng = cultureInfo.TwoLetterISOLanguageName;
... | stackexchange/codereview |
This is frustrating and I simply can't find the right answer on how to handle this.
I am after a rebase [but this is just one of many scenarios where this problem occurs] and I have a ton of files "changed but not updated" that have no difference but for the newline characters.
git diff -b
nothing returned.
Now I just... | stackexchange/codereview |
I've read about Preemptive Multithreading here and here.
Is there a way to do this in Delphi and how does this compare (advantages and disadvantages) to other methods of threading in Delphi?
| stackexchange/codereview |
I've messed around with this teeny little detail for hours now and I've finally given up even though I'm sure the solution is really, really simple.
I have a panel called ".address" in a div with overflow:hidden so it isn't shown before the function is activated. When clicking on the button ".click" I want the address ... | stackexchange/codereview |
Suppose we have an interface ICat that is derived from ICatBase and ICatExtension as shown below. For both distinct interfaces, an implementation is available, CatBase and CatExtension. How can Castle's DynamicProxy be used to merge these into an instance of ICat?
Is it possible to create a proxy in which ICatExtension... | stackexchange/codereview |
i want to insert iteration elements(Signal) according my requirement like below xml output.
<?xml version="1.0" encoding="UTF-8"?>
<WIUConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Timestamp>2006-05-04T18:13:51.0Z</Timestamp>
<WIUAddress>WIUAddress0</WIUAddress>
<WIUName>WIUNa... | stackexchange/codereview |
I have a VS2008 C++ application for Windows XP SP3 developed using WTL 8.1. My application contains a tab control that flickers when the application border is resized.
My window hierarchy looks like this:
CFrameWindowImpl CMainFrm
|-CSplitterWindow Splitter
|-CTabView Configuration Tabs
| |-CDialogImpl Co... | stackexchange/codereview |
I've a strange situation with my rails application (2.3.8)
I want to assign a no nil value to some variable in my controller, so I wrote this code:
@myValue = session[:value] or []
In my view I wrote:
<%= @myvalue.size %>
When I display my page, I have a nil error.
I've tried the nil or [] in the IRB and I get the []... | stackexchange/codereview |
Possible Duplicate:
How do I fix this Perl code so that 1.1 + 2.2 == 3.3?
I'm working on a Perl script that compares strings representing gene models and prints out a summary of the comparison. If the gene models match perfectly, I print out a very terse summary, but if they are different, the summary is quite verbo... | stackexchange/codereview |
I have the following page: http://valogiannis.com/freelancer/neurosport/register.html
I use a validation jquery plugin: http://docs.jquery.com/Plugins/Validation
When the user types a text inside the text fields and if the text is valid then a check image appears.
The plugin add a label inside the td with class registe... | stackexchange/codereview |
I understand that you as programmer can tipify the suggestion of the browser for each field. e.g: this field is email and the inserted value will be suggested (in the future) only for email fields
Does that realy exists? how can I do it?
| stackexchange/codereview |
we created am Exchange Web Service Push Notifications Listener based on the HTTPListener in the EWS book (code below). It ran just fine on a Win 2008 Server with a single core xeon. Now we moved it to a Win 2008 R2 Server with a quad core opteron CPU and it immediately crashes after the Listener is initialized with HTT... | stackexchange/codereview |
I am using the standard rotation code present in cocos2d 0.99-rc0 to support portrait + two landscape modes. I am showing the menu in portrait mode, and then the screen rotates to landscape for the actual game. Problem is that when i go back to portrait, the whole mainmenu scene is off by half the screen, like someone ... | stackexchange/codereview |
1.php
...
<script src="/jquery-1.3.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
var a = $a
var b = $b
var c = $c
apclick = function() {
$.ajax({
url: 'a1.php',
data: { a: a, b: b, c: c },
datatype: json,
success: function(results... | stackexchange/codereview |
I have to write a C code for displaying a YUV image on the screen. Can anyone tell the code for this?
| stackexchange/codereview |
I want to install the qjson in my windows machine. I installed the cmake and nokia qt sdk in my window 7 and use the following commands but I am getting the error..
C:\Program Files\qjson\build>cmake -G "MinGW Makefiles" ..
'cmake' is not recognized as an internal or external command,
operable program or batch file.
| stackexchange/codereview |
Having some issue with my function call please. I have a situation that I am yet unable to figure out. I have a simple function call like so . . .
If(@confirm ='Y')
BEGIN
SELECT dbo.ReplaceString(@rawText, '2342345432', 'radefr', @User_no, @password,@email,' ',' ',GetDate() ,@company, @end, @start, @remove) as m... | stackexchange/codereview |
I am getting an error when attempting to connect to an RMI service:
I am executing the client code using:
java -Djava.security.manager -Djava.security.policy=path\to\policy.all -jar "path\to\jarfile" "localhost:2020"
The code I am using is:
public class PowerServiceClient
{
public static void main(String args[]) t... | stackexchange/codereview |
As google tasks has no public api I want to write workaround and request data like a browser and then parse results to further display.
To access data I've implemented a OAuth authentication with google to access this url: https://mail.google.com/
For OAuth I've used sign-post library and it works well.
The problem is ... | stackexchange/codereview |
I want to manipulate Google Spreasheet in my application (in php), so, to do this, I want to use the google docs api with the zend gdata librairy.
I take this code in the zend sample docs but I get an error 500:
$_SESSION['docsSampleSessionToken'] = Zend_Gdata_AuthSub::getAuthSubSessionToken($_GET['token']);
$client = ... | stackexchange/codereview |
I have two SQLAlchemy model objects designated thus:
class SpecInstance(Base):
spec_id = Column(Integer, ForeignKey('spec.spec_id'))
details = Column(String)
class Spec(Base):
spec_id = Column(Integer)
spec_date = Column(DateTime)
instances = relationship(SpecInstance, backref="spec", cascade="all,... | stackexchange/codereview |
Is there a detailed guide to move from filter() to withFilter()? Now I get warnings about my using filter() implementations but can't find an easy guide for moving to withFilter()...
| stackexchange/codereview |
NetTcpBinding is used for WCF to WCF communication. But could it also be used for communication with non-WCF clients? Namely, it does use several of WS-* protocols, so is there a particular reason why it wouldn’t be able to communicate with non-WCF clients?
thank you
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.