instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I've created a winForms application and I was able to deploy it to a web server. I'm developing on a PC that doesn't belong to the domain that future users of that app do. The thing is that the machines that installed the app from the web server doesn't perform updates, but my machine(I installed the app to just to tr... | stackexchange/codereview |
This isn't a question of what stress testing tools are out there. I'm afraid it's a lot harder than that. (At least for me)
Consider a restful architecture for a forum or blog that generates random IDs for each post.
Simulating creating those topics/articles would be simple, because you'd just be posting form data t... | stackexchange/codereview |
I am really digging this new Razor View Engine... For someone just coming from another web platform the new MVC 3 efforts are starting to feel right at home for me...
My question is about sections, I see it is possible to define sections in your layout and inject content into them but from all the samples I have seen i... | stackexchange/codereview |
i recently downloaded some maven artifacts directly to my local repository (.m2/repository).
Now i installed the Nexus Repository Manager and need to fill its storage without to download all the artifacts again. Is there a way to update the Nexus repository with the local one.
I don't want to simply copy them because N... | stackexchange/codereview |
I have a NewsModel which extends Zend_Db_Table_Abstract. the news-table consists of: newsid, title, text and creater. creater reffers to a userid of the user-table. User-table consists of userid and username.
Now i want to have the User in the NewsModel. At the moment
At the moment I do this in the model:
$select = $th... | stackexchange/codereview |
I have created a webview with a transparent background.
browser = new WebView(ActivityActivate.this);
browser.setBackgroundColor(0);
browser.getSettings().setJavaScriptEnabled(true);
browser.addJavascriptInterface(new JavascriptInterface(), "javaInterface");
browser.getSettings().setJavaScriptCanOpenWi... | stackexchange/codereview |
I have an asp registration page using a custom asp:CreateUserWizard.
Once the registration is completed successfully (RegisterUser_CreatedUser for example) I want to redirect the user to another page, be it a welcome screen, etc... (using Response.Redirect(URL); I guess), but I also want to, some how, popup a new windo... | stackexchange/codereview |
I'm building a complex, public web service in WCF that send email to a specific address, similar to a contact form but with some features.
With jQuery I get the data from the textbox and with Ajax and json I send to the web service the strings to proceed at the send.
Now, is there a good way to make it secure?
I mean.... | stackexchange/codereview |
I have a shell script that I want to set uid bit.
I set the owner to root and set uid bit.
I added 'whoami'in the shell to check if it is working properly
but when I executed the script, whoami returned user's name, not root.
Then this is wrong, right? I should have gotten root if uid was set correctly, right?
| stackexchange/codereview |
I would like to replace the system clipboard content with my java code,
but the copied content disappears once the java program exits. How can I make the data persistent?
Thanks a lot.
Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
Transferable t = clipboard.getContents(null);
... | stackexchange/codereview |
I've got the following problem:
I created a WebPart with a ToolPart,
this toolpart has multiple controls (textbox, dropdownlist, ...)
when I fill in everything and apply, it all goes ok,
even when i press ok. But when i go back to
edit -> modify webpart, all my data i've entered is gone.
How can i solve this?
Thanks
| stackexchange/codereview |
Ok, people, I'm sick of arial.
The word these days is that @font-face is the way to go for all things, but, well, as best I can tell the support isn't really there yet (am I wrong? people still use FF2, right? no?)
I'm a reasonable fan of just rendering the headlines on the server using GDlib, but that obviously does... | stackexchange/codereview |
When i am cloning repository using git svn i get something like "єС‚уальное" instead of national characters (russian) in file names .... (i cant read this...) I think git is trying to use UTF-8 instead of UTF-16 while saving files, while windows is using UTF-16. Is there any solution? Can i specify code page to ... | stackexchange/codereview |
Cheers all. I'm running Ubuntu 10.04 and the latest Google AppEngine SDK. I'm working on a simple website which has posts and comments to posts. I basically implemented a simple tree to store my comments with a parent_comment, left and right values.
I created an event which fires before a new (not is_saved()) comment i... | stackexchange/codereview |
Is it safe to - within a submit event handler for one form - submit another form and return false to prevent the submission of the first form?
$("#form1").submit(function() {
$("#form2").submit();
return false;
});
I am using this approach, and it works (in IE6 at least). However, I am concerned that this migh... | stackexchange/codereview |
I am following Mercurial guide and quickstart and don't see this called out specifically so I'd appreciate a little guidance on setting up the repos.
Let's say I have a c:\repo directory (Windows) with two project directories.
Should hg serve be run from each dir on different ports?
In the quickstart I see http://selen... | stackexchange/codereview |
What is the migration path for upgrading the Yahoo JS & CSS libraries from version 2 to version 3?
Specifically: CSS & fonts, button, TabView.
Any pointers to further information about issues encountered, tips to make it easier, etc would be greatly appreciated.
Different Google searches (e.g. upgrading yui2, migrati... | stackexchange/codereview |
I am using Semantic MediaWiki with Lucene search and looking for a way to embed a SQL or Semantic Search query using the search input terms to generate a small table of results.
For example: If I was searching for Bob's phone number and my semantic data is structured as [[bob's number::555-555-5555]] in the article [[B... | stackexchange/codereview |
A (simplified) database of Internet bookmarks. I thought it'd make sense to organize the tables logically, like so:
Bookmarks (id, title, url; basically external data)
+------+------------+-----+
| suid | Title | ... |
+------+------------+-----+
User (user-specific data: favorites, ratings, etc)
+------+--------... | stackexchange/codereview |
I'm writing a modal popup and I need the browser to jump to the top of the screen when the open modal button is pressed. Is there a way to scroll the browser to the top using jQuery?
| stackexchange/codereview |
I am trying to make a program that will take as input a string and replace all the vowels with the * symbol. So, for "hello world", star_vowels should return "h*ll* w*rld".
What I have for code so far is:
int star_vowels(char s[]){
int j;
j = 0;
while (s[j] != '0'){
j++;
if (s[j] = 'a' ||... | stackexchange/codereview |
I made a subclass of NSCell and overrided the setObjectValue function to achieve my need.Things are fine except there is a leak problem. The setObjectValue function of NSCell seems wont release its original object.
The object I give the class is a customize object which conform to the NSCopying Protocol and implemented... | stackexchange/codereview |
I'm toying with building a BLL for my application. From what I've seen / read, it seems the BLL should be stateless. Doesn't this mean all BLL methods could be static? Or I'd at least only ever need one instance of each BLL class? Which seems odd to me for some reason, so I thought I better check I wasn't getting t... | stackexchange/codereview |
I have loaded 2 Django apps on IIS using isapi-wsgi.
These are both server setups:
Windows Server 2003, IIS6 and SQL Server 2005
Windows Server 2008 R2, IIS7.5 and SQL Server 2008
The Django apps are completely different from each other.
They both take random periods of time for each requests between 1 and 10 secon... | stackexchange/codereview |
I'm writing some Python code to scrape websites, and what I'm going to end up with is a growing collection of custom scrapers, each about 50 lines long and tailored extract specific information from a specific website.
My first iteration of the program is one giant file that takes a website as an argument, and scrapes... | stackexchange/codereview |
I have the followiing situation: I have a java code which is connected with a database (MySQL). When i am running the java code from eclipse and taking data from database, everything is ok.
But when i am running java code from html code as Applet, it throws Null Pointer Exception and i detect that problem in this case... | stackexchange/codereview |
In a system we will be using, there is a function called "uses". If you are familiar with pascal, the uses clause is where you tell your program what dependencies it has (similar to C and PHP includes).
This function is being used in order to further control file inclusion other than include(_once) or require(_once).
A... | stackexchange/codereview |
I am using prepared statements with mysqli(); to insert and retrieve data on my website also i used bind_param so i don't add variables directly into the query.I used strip_tags to clean any inputs what else should i look out for ?
| stackexchange/codereview |
How do you pass an associative array as an argument to a function? Is this possible in Bash?
The code below is not working as expected:
function iterateArray
{
local ADATA="${@}" # associative array
for key in "${!ADATA[@]}"
do
echo "key - ${key}"
echo "value: ${ADATA[$key]}"
done
}
Passing a... | stackexchange/codereview |
I have the following code which toggles the visibility of a div when another div is moused over. It works fine, except if you mouse over and out repeatedly it queues all of the toggles:
$(document).ready(function() {
$('.trigger').mouseover(function(){
$('.info').toggle(400);
}).mouseout(function(){
... | stackexchange/codereview |
Hey everyone,
I am trying to iterate though an array of strings when I click a button in my iPhone app. In the viewDidLoad method this code works great, however, I am using a Tab Bar to switch between views, and I want the view to refresh itself when i switch to it from another view. This is the code it is breaking ... | stackexchange/codereview |
I am using Twitters REST api for the first time and I am a little confused by their documentation. I want to poll their API every ten minutes (to avoid the rate limits), retrieve the previous ten minutes of tweets and then do some processing on them.
I am using "GET statuses/home_timeline" to do this. The first part of... | stackexchange/codereview |
I would like to create a digital (square) signal on my sound card. It works great if I generate high frequencies. But, since I can't output DC on a sound card, for lower frequencies the resulting digital bits will all slowly fade to 0.
This is what the soundcards high pass does to my square wave:
http://www.electronics... | stackexchange/codereview |
I am using a TextArea in my application, and wish to change the font color of textArea at runtime based on certain conditions? I am using the following code in a function
resultText.setStyle("color", 0x842D22).
However, this does not work, and gives me an exception at runtime
Cannot Access property of null object refer... | stackexchange/codereview |
I have a text file with names as balamurugan,chendurpandian,......
if i give a value in the textbox as ba ....
If i click a submit button means i have to search the textfile for the value ba and display as pattern matched....
I have read the text file using
string FilePath = txtBoxInput.Text;
and displayed it in a t... | stackexchange/codereview |
If classnames are referenced in HTML but not defined in CSS, is there a performance penalty in IE7, IE8, or Firefox?
<div class="undefined_class">Text</div>
| stackexchange/codereview |
I'm troubleshooting an issue with the positioning of the PART_Popup section of a ComboBox in a WPF application. It aligns differently depending on what system you run it on. I don't have enough PCs available to determine the pattern behind it.
edit
Sorry for the poor images. I've requested some larger ones.
You can th... | stackexchange/codereview |
I'm new to Javascript and I got this:
I have a GridView with the following event:
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
{
foreach (TableCell c in e.Row.Cells)
{
c.Attributes.Add("full","false");
}
}
And in my javascript I have an onClick event for every cell:
if(source.fu... | stackexchange/codereview |
I am using pypy to translate some python script to C language.
Say that I have a python class like this:
class A:
def __init__(self):
self.a = 0
def func(self):
pass
I notice that A.func is a unbound method rather than a function so that it cannot be translated by pypy. So I change the code sl... | stackexchange/codereview |
It's not a code question.
I've found a nice tool online few months ago and now I cannot remember it's name/address. Maybe you know.
I've found a great sample application integrating most of the social services - Facebook, twitter, TwitPic, myspace and so on.
So you only had to add few classes to your project, fill the ... | stackexchange/codereview |
We are having classloading issues and we want to trace the JVM classloader. On Sun JVM we generally use the -XX:+TraceClassLoading flags to throw some light at the problem, but this time we are using JRockit.
Do any of you know if there is a way to get the same class loading information from the JRockit JVM?
Thank you.... | stackexchange/codereview |
I have a delete button. which on click it should visit a url like /delete/{id} and once the response from that url is true. i want to delete the comment box like in facebook.
| stackexchange/codereview |
I'm writing a Java tool to validate SQL statements. For SELECT queries, I can do it with Connection.prepareStatement and PreparedStatemet.getMetaData. No exceptions == good query. Unfourtunately it doesn't work with eg. INSERT statements -- errors in query create exception only at executing the statement.
Is there a wa... | stackexchange/codereview |
Is there a way to generate offline version of the whole Website?
All my pages are in ASPX and uploaded onto the server. When I run a demo of my site, sometimes there are no Internet availability. So it would be great to actually have the site offline but not running Visual Studio in order to show the site.
Anyone has ... | stackexchange/codereview |
I have been trying to port project im working on to PropelORM. So far so everything has been great.
However I've ran into problems with a tree structure that we have setup in one of our tables.
Pretty much if ID = PARENTID then its a root.
eg.
ID | NAME | PID
0 | ZERO | 0
1 | ONE | 1
2 | TWO | 1
3 | THREE| ... | stackexchange/codereview |
Is there a method to use multiple pipes when reading data with Gnuplot?
The following will plot data received directly from the SQL statement.
plot "< sqlite3 tomato-rstats.db \"SELECT data FROM table;\""
What I'd like is to process that data before it reaches Gnuplot.
I know that I could pipe the SQL data through the... | stackexchange/codereview |
Possible Duplicate:
String to byte array in php
I am trying to find a php equivalent function of java getBytes()
Havent found anything yet but found some answers, nothing concrete.
http://www.phpbuilder.com/board/archive/index.php/t-10247795.html
Thanks
| stackexchange/codereview |
I've currently run into the need to find which pdfs within a directory are "Secured Documents".
All of the pdfs should be unsecured, and convertible via xpdf, however, this is not the case. How could I scan through all the pdfs in a directory to find out whether or not they are secured?
| stackexchange/codereview |
I am performing asynchronous HTTP (Ajax) requests via jQuery with the basic $.ajax(). The code looks like the following:
$("textarea").blur(function(){
var thisId = $(this).attr("id");
var thisValue = $(this).val();
$.ajax({
type: "POST",
url: "some.php",
data: "id=" + thisId + "&value=" + t... | stackexchange/codereview |
Error :-
Syntax error (missing operator) in query expression 'PriceHistory.UnitPriceId = ProductPrice.UnitPriceId inner join Prdc on prdc.prdcID=ProductPrice.PrdcId'
Used script :-
string sql = "select PriceHistory.UnitSellRate," +
"PriceHistory.DateAssigned, PriceHistory.DateChanged, PriceHistory.MRP, PriceHist... | stackexchange/codereview |
If I right click the setup project and go to "User Interface".
We will see "Start". if I right click and choose "Add Dialog"
At Add Dialog, Choose "Customer Information"
If I go to the properties of "Customer Information", there is a tab called "Serial Number Template".
It is to check whether the correct number is type... | stackexchange/codereview |
According to the java docs of PreparedStatement.setNull: "Note: You must specify the parameter's SQL type". What is the reason that the method requires the SQL type of the column?
I noticed that passing java.sql.Types.VARCHAR also works for non-varchar columns. Are there scenarios in which VARCHAR won't be suitable (c... | stackexchange/codereview |
If I have a preloaded Template::Toolkit object, in mod_perl enviroment for example, is there any way to change INCLUDE_PATH array without recreating the object?
| stackexchange/codereview |
Let's say a have the following code:
<nav id="main-navigation">
<ul>
<li><a href="#">Link 1 Level 1</a></li>
<li><a href="#">Link 1 Level 1</a></li>
<ul>
<li><a href="#">Link 1 Level 2</a>
</ul>
</ul>
</nav>
And now I want to to set first ul's height to 100px and se... | stackexchange/codereview |
I'm shipping two binaries; one for iPhone/iTouch and the other for iPad. It's the same application.
Will Apple ensure that the user will never receive an iPhone version of the app on the iPad? If YES, then I don't have anything to worry about, but if not then I do have a problem.
The reason I ask is the iPhone applica... | stackexchange/codereview |
When call by value is used, actual parameter values are pushed into the stack. What about call by reference? What is pushed onto the call stack?
EDIT:
Nice to know that java does not use call by reference, ever. How about in C++. I changed the tag to c++ from java. Sorry for the confusion.
| stackexchange/codereview |
iPad question:
We have views that we're initializing from .xibs, with each .xib containing both landscape and portrait layouts.
The first view we load respects the orientation of the device, but any subsequent views seem to have confusion over which orientation they should be using. Or, rather, they seem to ignore ori... | stackexchange/codereview |
I want to get values from other sheets.
I have some values in Excel (sheet2) for example:
A B C D
- - - -
1 | 2 5 9 12
2 | 5 8 4 5
3 | 3 1 2 6
I sum each column in row 4.
I'm working with these values in sheet2 but I want to get the result in sheet1.
When using my code in sheet2 I get the cor... | stackexchange/codereview |
My problem right now is that i have a piece of text in a function call inside an onClick.
I can swear that the double quotation mark is encoded to " but the whole thing just breaks down because it changes somehow back to a normal double quotation mark.
usShow("LCD TV 0-23" SONY");
I have to add that it is all buil... | stackexchange/codereview |
I want to deploy a rails onto amazon ec2. I've had a look at poolparty and ec2onrails but neither seem to be maintained anymore.
What are people using to do this? Is it all homebrewed puppet and capistrano or is there a project that will get me going?
| stackexchange/codereview |
i have used mvccontrib grid in mvc 2.0
I want to just bind a table in the gridview...so far my coding is....i dont no whther it is correct or wrong...
Homecontroller.cs:
public ActionResult List(int? page)
{
using (ProductDataContext db = new ProductDataContext())
{
ViewData["product"] = db.Products.T... | stackexchange/codereview |
I using Zend Gdata library for search video Youtube API.
If I make a bad request, then a zend exception..
Example:
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' in D:\Webserver\domains\loc\controller\Zend\Gdata\App.php:710
Stack trace:
#0 D:\Webserver\domains\loc\controller\Zend\Gdata.php(221): Zend_Gd... | stackexchange/codereview |
I'm using boost.process (additional lib for boost). At the page I gave for the link you can find samples of usage. I installed library, add: #include <boost/process.hpp> and some following code:
namespace bp = ::boost::processes; // In samples the namespace name is process!
bp::command_line temp("ls");
error: ‘command... | stackexchange/codereview |
I was wondering if this code is good enough or if there are glaring newbie no-no's.
Basically I'm populating a TreeView listing all Departments in my database. Here is the Entity Framework model:
Here is the code in question:
private void button1_Click(object sender, EventArgs e)
{
DepartmentRepository... | stackexchange/codereview |
this is my layout for audio player the problem is when resolution is high there is balck space vacant under the play and delete button which located at the bottom of the ui. what i do?
>
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="840dp"
android:background=... | stackexchange/codereview |
I have an ASP.NET web site set up to use windows authentication (not sure if I'll be doing that again!).
If I use the following, I get access to the web site fine. I know that Windows auth is set up for the web site, and enabled in IIS.
<authorization>
<allow users="*"/>
</authorization>
However, I don't want ... | stackexchange/codereview |
Is there a place on the net where I would be able to learn to create custom components for silverlight. I'm wondering how I would begin to learn to create charts for specific purposes.
Thanks
| stackexchange/codereview |
i am holding data in a buffer,
struct buf *bufPtr = malloc((sizeof(struct buf))*(MAX_FILE_SIZE));
i then want to write the buffer to a file of size (sizeof(struct buf))*(MAX_FILE_SIZE)
the code below will then allow me to open a new file populate it with the contents of the buffer, close the file and free the buffer
... | stackexchange/codereview |
I need to add the charset="utf-8" at the end of the script tags to get the translation to another language done.
I don know where all I should add the tags. Any rules are followed. Please let me know where to add the charset. Do i need to add at the end of "ApplicationLoader.js" or only after the jquery plugins. Any s... | stackexchange/codereview |
I need to page my user controls--groups of 8 or 10 should look nice. Currently, they're in a placeholder:
<asp:PlaceHolder ID="ProfileContainer" runat="server"></asp:PlaceHolder>
And the placeholder is populated like this:
var model = //LINQ to Entities query
foreach(var profile in model) {
Controls_Profile profi... | stackexchange/codereview |
I have a JToolTip attached to the onclick event of a JTextField.
I want the JToolTip to popup aligned with the right edge of the JTextField instead of its left edge as it does by default.
Is there any way to set this?
| stackexchange/codereview |
I have a problem with glassfish to serve swf files.
In my application there is a little swf file to use TableTools plugin on datatable and when I try to open this page with any browser everything goes fine, but with IE the behaviour is quite different the swf is not loaded and if I try to reach it with direct url an al... | stackexchange/codereview |
Does anyone know how to get the selected values from a select box that has multiple set.
thanks
<html>
<head>
<script type="text/javascript">
function getSelectedValues()
{
$("#selectID").?????
}
</script>
</head>
<body>
<select id="selectID" MULTIPLE>
<option>Volvo</option>
<option>Saab</option>
<option>Merce... | stackexchange/codereview |
I have an extension that needs to pop up a window and then close it.
var my_extension = {
window: null,
popup: function(){
my_extension.window = window.open(...)
},
close: function(){
my_extension.window.close()
}
}
The popup calls the close function. However, after returning from... | stackexchange/codereview |
I am automating Word, so I would like to suppress all alerts.
Word.Application word = new Word.Application();
word.DisplayAlerts = Microsoft.Office.Interop.Word.WdAlertLevel.wdAlertsNone;
I use the code listed above, but I keep getting messages from Word - e.g., the document is already open. Is there a way to avoid th... | stackexchange/codereview |
When a user submits without any boxes checked. I need my ODM (Mongoid) to update the record appropriately.
Having a bit of trouble with:
<% Notification.all.each do |notification| %>
<li>
<%= check_box_tag 'user[notification_ids][]', notification.id, @user.notifications.include?(notification) %>
<%= l... | stackexchange/codereview |
I have an issue with Fluent NHibernate where automapping isn't picking up the entitites in my web project DLL. Normally I store all entities in a separate assembly and this has always worked. However, this project is rather small so I'm trying to keep it all in one project. However, when I call AutoMap.AssemblyOf<MyEnt... | stackexchange/codereview |
I am having a ASP.net web application which is hosted in an internet server. Now i got a requirement to integrate this website with a computer telephony infrastructure. The details are as follows.
The user will be located in a building having TAPI standard, LAN – CTE infrastructure enabled telephone system and the logg... | stackexchange/codereview |
Why is it that I get the proper value of "item" in the first loop, but in the each loop I get undefined? How do I keep the value of the "item"?
Here's the code:
for (item in products_custom){
console.log(item);
$("input:checked").each(function(){
console.log(item);
});
}
Thanks a lot for your help.... | stackexchange/codereview |
I made as default child of UrlClassLoader, added all my jar files by
public void addFile(String path) throws MalformedURLException {
String urlPath = "jar:file:/" + path + "!/";
System.out.println("------------------");
System.out.println("urlPath = " + urlPath);
URL url = new URL(urlPath);
Syste... | stackexchange/codereview |
Simple thing: How can I check if the user has selected more than one Item in a ListBox? I tried it like this:
If listbox.SelectedItems(1) Then ...
But it returned an out of range exception...
THX for help
| stackexchange/codereview |
Good day all,
Ive been wondering, google searching and goign greyer quicker thinking if it is possible for mod rewrite to change a specific symbol it grabs from the url to something else?
i.e. if the url is www.website.com/foo-bar using the rewriterule I can get that hyphen to become a forward slash?
<?php $foobar = "f... | stackexchange/codereview |
I would like to run a small Windows program on an Android slate. It runs just fine under Wine in Ubuntu, but I am unsure how to install & run Wine on the Android slate.
Sorry if it's not strictly a programming question. If you want it to be so, I could rephrase it as "will I have to write my Delphi code again Java in... | stackexchange/codereview |
Okay I have the below code performing something I don't want it to do. If you run the program it will ask you "How are you?" (obviously), but when you give a answer to the question that applies to the elif statement, I still get a if statement response. Why is this?
talk = raw_input("How are you?")
if "good" or "fine" ... | stackexchange/codereview |
Is it safe to delete a NULL pointer?
And is it a good coding style?
| stackexchange/codereview |
I'm drawing up plans for a few new features on my site, and one could be "solved" using a join table.
Example schema:
Person table
PK PersonId
Name
Age ...
PersonCheckin table
PK FK PersonId
PK FK CheckinId
Date ...
Checkin table
PK CheckinId
CheckedInto ...
A join would be run to get the check in data for a pe... | stackexchange/codereview |
i have a web site that uses forms authentication. the problem is that i have the site installed multiple times on the same production servers because i need to have a few different login pages (based on the domain in this case). after the domain specific login page, the rest of the site is the same. obviously, this req... | stackexchange/codereview |
I'd like to have an object that implements both the Map and the List interfaces in Java. The idea is similar to the problem in this question: Java Ordered Map
I want to add name/value pairs to a list and have the list preserve the sequence, but also be able to do lookups by name:
foo.put("name0", "value0");
foo.put("na... | stackexchange/codereview |
I am used to 2000 and recently made the switch to 2008. If anyone knows of any good tutorials out there besides the msdn ones please let me know thanks!
| stackexchange/codereview |
How do I rebalance mongodb data after adding a new shard
I do not think it does it automatically?
I could not find anything, it's there support for this?
Also the key for my shards is unique
Thanks,
| stackexchange/codereview |
I just want to know is there any way to compile and run my android application codes online, without installing the SDK on the computer ?
Thanks!
Abhinav.
| stackexchange/codereview |
Sorry, I am looking up the System.Type type and the PropertyInfo type in the documentation but I can't seem to find the thing I need.
How do I tell if a property (or method or any other member) was declared virtual in its declaring class?
For e.g.
class Cat
{
public string Name { get; set; }
public virtual int ... | stackexchange/codereview |
My question may look naive but I do not know how to formulate it more correctly. The problem is that I create and use large simple type arrays in my application. And I get errors like:
ERROR/dalvikvm-heap(1763): Out of memory on a 7907344-byte allocation.
Yes, it's big enough but task management tools claim that my ap... | stackexchange/codereview |
I have a third party static library that was built on AIX with gcc. When I try to link to that library using the xlC AIX compiler I get all sorts of unresolved symbols. I believe it is due to the differences in name mangling. If I get the manged names out of the library with the nm command is there anything fundamen... | stackexchange/codereview |
I'm using Python's csv module to do some reading and writing of csv files.
I've got the reading fine and appending to the csv fine, but I want to be able to overwrite a specific row in the csv.
For reference, here's my reading and then writing code to append:
#reading
b = open("bottles.csv", "rb")
bottles... | stackexchange/codereview |
I need to know what are the most helpful, easy-to-use packages out there for developing games in Java?
I need packages for:
Network/Online
Sound/Music
2D graphics (I'm not interested in 3D)
Database
| stackexchange/codereview |
I encounter problems tring to consume a third party web servive in JSON format. The JSON response from the server kinda looks like this:
{
"ID":10079,
"DateTime":new Date(1288384200000),
"TimeZoneID":"W. Europe Standard Time",
"groupID":284,
"groupOrderID":10
}
I use JavaScript with no additional l... | stackexchange/codereview |
I am not sure what it is called, but I'm looking for a way to create packages (a directory containing a bunch of non-executable files, i.e. images) with custom file extensions. For example, I want to create a theme package named example.theme, which contains a bunch of images. How can I achieve this?
| stackexchange/codereview |
How do I pass a variable array from one servlet to another servlet?
| stackexchange/codereview |
I'm using a URLLoader to load a photo and I want to be able to display the filename of the photo based on the URLLoader's loaderInfo.url property.
Given a loader named photoLoader, what the string called fileName be?
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.