instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I hope I got the relevant code in here. I have some problem when I want to fetch the menu option that I've added into to menu_1. I have this function on_select(int) that I use to fetch one sub-menu's options, which I do by using the display() function. But when I compile it will say that there are no function named dis... | stackexchange/codereview |
I'm trying to query a domain to retrieve its full DNS zone listings (A, MX, CNAME,…)
It seems that host -a is only returning the NS and MX records.
Any help would be much appreciated.
Thanks.
| stackexchange/codereview |
i'm design a shopping cart,there are two web page,
first is checkout page,and the second is order_success page
if user use the go back button on webbrowser then it will go back to checkout page after user have go to order_success page.
so i want to find some way to forbidden let use go back,
is there some way on rails ... | stackexchange/codereview |
I am trying to implement FNV hash from http://isthe.com/chongo/tech/comp/fnv/
I converted the PowerBasic's inline asm on that page into Delphi.
function ReadFileToMem(sPath:string):Pointer;
var
hFile: THandle;
pBuffer: Pointer;
dSize: DWORD;
dRead: DWORD;
begin
hFile := CreateF... | stackexchange/codereview |
i'm using a main form and edit form, and i want to use the edit form text boxes in the main form, how can i do it?
edit
can't use user controls.
| stackexchange/codereview |
Im parsing through a type with Mono.Cecil. How can i check if the type im parsing is accessing getter Methods of other classes?
For accessing the fields directly I have found a solution:
foreach (MethodDefinition method in type.Methods)
{
foreach (Instruction instruction in method.Body.Instr... | stackexchange/codereview |
what are the minimum packages to work with gcc under cygwin?
I have installed gcc-core, gcc-g++, gdb, binutils, make. are these not sufficient? when I try to compile a basic c code I get following error
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
-luser32
/usr/lib/gcc/i686-pc-cygwi... | stackexchange/codereview |
I have 2 styles defined inside styles.xml. I want to apply it to a textview. How to implement that using style = "@style/"
| stackexchange/codereview |
I need to sell pictures. I need to create a megaupload like system to create ramdom url, like this: "http://download.server.com/7fdfug87g89f7g98fd7g/image.jpg" associated with the session and IP address.
I'm using PHP, Apache or Nginx.
How can I achieve this?
Any Ideas?
| stackexchange/codereview |
I feel like I'm missing something obvious here, and I'm hoping that as soon as I post this someone will shame me with the google search link I was missing :-)
enable :sessions
get '/logout' do
# What goes here to kill the session?
end
| stackexchange/codereview |
I have a simple WCF service (hosted as its own site in IIS). It was originally developed targeting .NET 4 but I have recently discovered that it needs to be downgraded to .NET 3.5.
I never touched the web.config file and it Just Worked. Now that I've changed the project from .NET 4 back to 3.5 I'm getting config erro... | stackexchange/codereview |
I am reading records from the AddressBook using the Apple provided API.
I am still getting my head around memory management and so CFStrings are confusing me at the moment.
This is how I am getting the properties:
//Get Basic properties
NSString* firstName = (NSString *)ABRecordCopyValue(person, kABPersonFirstNamePrope... | stackexchange/codereview |
In a production deployment, you wouldn't have your /app folder in the public webroot; it only takes one sloppy fingered mistake to turn private business assets such as PHP files into plaintext on the web. The advanced and production installation instructions in the book describe how to topologically isolate the webroot... | stackexchange/codereview |
How to display a 1056 character message in message box in asp.NET C#.
Response.Write("<script>alert(' " + a + " ')</script>");
The above code just accepts 54 characters only.I need some other way to display the error messages for a whole page.
| stackexchange/codereview |
I'm using javascript to remove a cookie but for some reason it isn't working with Chrome. The script I'm using is;
function clearCookie()
{
document.cookie = 'myCookie=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/myPath/';
}
This works on;
IE 8.0.6
Firefox 3.6.12
..but doesn't work on Chrome 7.0.517.44, after the... | stackexchange/codereview |
this might be complicated to explain but I give it a try...
I would like to use the Messenger to navigate to a new Page and also create a new Object (or pass one). How is this possible or am I on the wrong path?
Basically:
Click on "add new person" button which should bring up the PersonView and also should hold a new ... | stackexchange/codereview |
What is the proper way of sizing the dimensions of an image in a hdpi screen vs a ldpi screen.
For instance, an 89*80 png displays fine, with the text, on my droid 2....but how should I go about resizing the image to be smaller on a smaller screened droid? Do I manually alter the image and place it in the ldpi folde... | stackexchange/codereview |
I am having some problems with the new routing in Rails 3. What is the best way to prefix the path with a user name. Right now I have the following code:
resources :links, :path => '/:username' do
put 'star', :on => :member
end
But it leaves params empty.
EDIT:
I would like to have a urls like:
/:username/links
/... | stackexchange/codereview |
Is it possible to implement One-Click Purchase using Paypal API? or Paypal Adaptive API? Instead of asking the user to login each and every time.
Thanks in advance.
Johnny
| stackexchange/codereview |
Hi
I know that blind convex hull has o(n^4)
but I have never seen its code! Is there any site that has its code?
thanks
| stackexchange/codereview |
I need to create a csv file that will contain all current Subscribers, plus a series of strings that came from the database.
to fetch all Subscribers I'm doing:
public IQueryble<Subscribers> ListAllSubscribersByCalendarId(Decimal cid)
{
return db.Subscribers.Where(x => x.calendar_id.Equals(cid));
}
pretty simple.
... | stackexchange/codereview |
Could anyone suggest me a way to make long words (like serial numbers) to be wrapped? I tried some commercial software and there is no such issue. Is it a fop bug or probably there is a solution available?
I can't insert zero length space after each character of every word in document. This solution sounds insane for m... | stackexchange/codereview |
Hi
this a part of my code :
I have a list which its size is three and I consider that 2 last items are in one line (p and q) I need to get the angle between the first item of this list and these two points (p,q)
private Point partition(List<Point> list, Point p, Point q) {
double x1 = p.getX();
double x2... | stackexchange/codereview |
I have a sequence with a structure like this:
(def date-sequence [[20101121 10] [20101120 9] [20101119 8] [20101118 7]])
This looks to like a nested vector to me, but I'm unsure what to name it. Within each "nested vector" are two elements, a date element and value element: [20101121 10]. Let's call the date element 2... | stackexchange/codereview |
So I have this page like this:
....
now I am updating this Comments div using Ajax and all. Now, if the user has javascript disabled, the actionresult "Comments" still ends up returning the partialView except this time it replaces the entire page instead of just div "CommentsDiv". It ruins the formatting of the page... | stackexchange/codereview |
I am trying to write a C++ Qt 4.7 app that gets some JSON from a web API. I have done some reading and JsonCpp seems to be the best. So I built it just find and added it to my project just fine.
void RetrievingInformationPage::replyFinished(QNetworkReply *reply)
{
Json::Value root;
Json::Reader reader;
b... | stackexchange/codereview |
What happend if I ran an MPI program which require 3 nodes (i.e. mpiexec -np 3 ./Program) on a single machine which has 2 cpu?
| stackexchange/codereview |
I have a table that has three fields
field_one
field_two
field_three
I'd like to do an insert/update, but instead of checking if one of the key fields already exists, I need to check if (field_one,field_two) combination is already in the database, if so, then update instead of inserting.
| stackexchange/codereview |
I have an existing web application that creates a .war file. I want to convert the directory structure to maven's conventions. And I'm a bit lost.
In particular, the current .war, created by an ant target, doesn't copy to the .war anything in the site/statics directory subtree; this is copied by another, different ant ... | stackexchange/codereview |
I have no idea about Ruby :)
The thing is, I need a way to turn all CSS in an HTML e-mail into inline styles. And there's no better way to do that, than use Alex Dunae's Premailer.
But I want to run it on Windows. My goal is to be able to run the script from C#, and fetch the file created by the ruby script in C# and u... | stackexchange/codereview |
I read http://ajaxpatterns.org/On-Demand_Javascript and got interested in "lazy loading" my JS. Questions:
Can anyone recommend a good plugin for this?
Any "real world" advice implementing such a strategy? Any "gotchas" I should look out for?
| stackexchange/codereview |
I Need to set-up a server which can host a Haskell generated website. If I use PHP I can host it on a Apache sever. Likewise if I create a Haskell thing what are the suitable webservers I can use? I have tried several but most of then ended with an error. Please give me some details to set-up a Haskell running webserve... | stackexchange/codereview |
I am trying to export just a table that is contained on my page. I have some filters above it but when exporting, all the text and filters are copied into this file.
This is the code:
tableCreateOrders a = new tableCreateOrders(dtReportColumns, 2, 10);
divResult.Controls.Add(a.displayTable());
Response.ContentType = "a... | stackexchange/codereview |
I have in trouble to trigger a click event when enter key is pressed.
When I use below codes, the live('click') event is triggered 3 times (which means the alert message is shown 3 thmes) when I press an enter key. Thanks in advance!! - KS from Korea
$('.searchWord').live('keypress', function(e) {
if(e.keyCode == 1... | stackexchange/codereview |
Possible Duplicate:
In C# what is the difference between String and string
what's the difference between the String and string. In C#, which is preferred?
| stackexchange/codereview |
A colleague just told me that this code:
std::ifstream stream(filename.c_str());
if (!stream)
{
throw std::runtime_error("..");
}
would be wrong. He said ifstream evaluates to 0 if opening is successful. My code works, but I wanted to find the documentation but didn't see where it says how to check if opening was ... | stackexchange/codereview |
My app uses Composites and so the current GWT 2.1 MVP example that keeps track of SimplePanels doesn't work for me.
Google says that I can always create my own CompositePlace, CompositeActivity and CompositePlace.Tokenizer, but well.... given my skill level, I am a little reluctant to go that much into uncharted terri... | stackexchange/codereview |
I'm trying to use reportlab, but I'm finding the user guide not clear enough.. (maybe it's just me)
I have the following code
for item in content:
text = item.name
p = Paragraph(text,style,'*')
and it renders exactly as expected.
But what if I want numbering instead of bullets?
The user guide is real... | stackexchange/codereview |
I'm trying to get a UISegmentedControl like is in the iTunes app and App store app,
where you select between Top Paid, Top Free and Top Grossing, its a bar style except more blue. It goes above a table view
| stackexchange/codereview |
Simple question here, but I've got a nagging feeling that there's a more interesting solution than the one I've chosen:
Page Two consists of a dropdown, and the change event is handled to execute some query.
protected void ddlSavedQueries_SelectedIndexChanged(object sender, EventArgs e)
{
/* stuff happens */
}
Pag... | stackexchange/codereview |
I'm trying to use this query:
SELECT COUNT(PF.PageID) AS Total,P.PageID
FROM Pages P
LEFT JOIN Pages_Filters PF ON PF.PageID=P.PageID
WHERE P.PageID IN (
(SELECT PageID
FROM Pages_Filters
WHERE FilterID="1"
AND FilterOptionID="2"
),
(SELECT PageID
FROM Pages_Filters
WHERE... | stackexchange/codereview |
I have a simple ScrollView in a layout that displays an About Box in a dialog format. So it just pops up on the phone screen in a dialog. The only way for the user to close the box is to click the back button (it is an intent).
Do I have a way of adding a close button to the box or could I have the user hit the box o... | stackexchange/codereview |
I have a website that you can insert an image onto. I use tinymce for the editor and the insert image function works great.
However I can't find a way for the user to be able to click on the image and see a full size version of it.
I'd like it to popup in a dialog on the page and not open in another window.
Is this a ... | stackexchange/codereview |
I am working on a project that involves playing TV from a tuner card in a WPF application. Recently, I have been rewriting the TV playback capabilities to work with WPF MediaKit to allow for a more seamless interaction experience (previously I was using WindowsFormsHost and a WinForms control as the DirectShow render t... | stackexchange/codereview |
I have an array defined:
int [,] ary;
// ...
int nArea = ary.Length; // x*y or total area
This is all well and good, but I need to know how wide this array is in the x and y dimensions individually. Namely, ary.Length might return 12 - but does that mean the array is 4 high and 3 wide, or 6 high and 2 wide?
How can I ... | stackexchange/codereview |
Just a question. Looking at C++ Boost libraries (in particular boost::thread class) I ended up thinking: "how is it possible to create a class defining objects that cannot be copied but that can be returned from a function?"
Well consider this example, the boost::thread class has the characteristics I mentioned before,... | stackexchange/codereview |
The create() method in Django creates a model instance then calls save(), which is said to trigger commit. So there should not be any difference in triggering transaction's commit.
But in reality, executing a method that creates a bunch of model instances using create() on Postgresql I am getting transaction aborted, ... | stackexchange/codereview |
I am trying to get started with pic24's, specifically the PIC24FJ64GA002, and I have looked in the datasheet at the registers and whatnot, but I still cannot get it to blink the leds. When I run it via debug it runs correctly, but when I try to actually run it on the pic it seems to not run at all.
I am using an exter... | stackexchange/codereview |
Now I would like to know how to calculate the load on a computer system. I've heard about load sensors and other utilities which provide the option of finding the temperature of the hard disk or CPU, but I don't want to use them.
All I want to know is the load on CPU, E.G. CPU is 40% free, total usage of memory or amou... | stackexchange/codereview |
I have an array that has sequential array keys and I need to randomly select one of the keys... what's the best way to do that?
| stackexchange/codereview |
I have a window based applicaiton with tab bar and navigation bar integrated into it. On the navigation bar have a custom button which opens a table view.
On clicking on the cell of the table I want to open a new table view controller. But as soon as I click on the cell of first table I get an exception that
Terminatin... | stackexchange/codereview |
What all constructs(class,struct,union) classify as types in C++? Can anyone explain the rationale behind calling and qualifying certain C++ constructs as a 'type'.
| stackexchange/codereview |
What is the correct syntax for including an external js and external CSS file in CakePHP so that these files are included in the <head> from within a view?
By external I mean something like "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/base/jquery-ui.css" but I want to place it conditionally in a single v... | stackexchange/codereview |
Hello i am in a delima
Suppose that i have 50 products in a category and i want to get all the features of my products...
Ofcourse a SQL join wont help because joining would return product info many times!
So here is the question.. what is better
PLAN A
Get all the products' features in category with one SQL query an... | stackexchange/codereview |
With this .emacs file
(load-file "~/Sources/cedet-1.0pre7/common/cedet.el")
(semantic-load-enable-excessive-code-helpers)
;;(semantic-load-enable-semantic-debugging-helpers)
(setq senator-minor-mode-name "SN")
(setq semantic-imenu-auto-rebuild-directory-indexes nil)
(global-srecode-minor-mode 1)
(global-semantic-mru-b... | stackexchange/codereview |
I wrote a program that uses builtin function bin(), but this function is new in Python version 2.6 and I would like to run this application also in Python versions 2.4 and 2.5.
Is there some backport of bin() for 2.4?
| stackexchange/codereview |
I have such a requirement. There is a main business object,user a and user b, and administrator. User a or b can create/update/delete their own business object. And user a can't modify user b's business object. Administrator can do every thing. And the business object has a status, in some status, even the owner user c... | stackexchange/codereview |
I used to use the pixastic (http://www.pixastic.com/lib/docs/) on mouse over to desaturate images.
now i need the image to be desaturated onload and to get color on mouse over
so i have tried with modifing the pixastic code and it worked but in Chrome the image of the grayscale one was ignored the width and hiehgt (the... | stackexchange/codereview |
If I have a table where certain fields are always searched using an equality operator (where id=5) would it be better to use a hash index. I read that Hash indexes are better at this kind of query but are unsuitable for range queries.
Should I use a hash index in this case. Are there any disadvantages to hash for th... | stackexchange/codereview |
I am developing an app that connects to another iphone using bonjour. One of its features is when I connect to the other device it will automatically check if I have the other persons phone number. So my problem is how do I check my address book for the phone number provided by the other device?
| stackexchange/codereview |
i would like to know which one of these will execute faster and why:
select column1 from table1 where 1=1
or
select column1 from table1 where 1<=1
would there be a difference in performance between oracle/sql server/mysql?
please also consider where instead of 1, we use some variable x
what would be faster assuming x... | stackexchange/codereview |
I'm using an enum singleton, but implementing logging is troublesome. This:
public enum Foo {
INSTANCE;
private final Logger log = Logger.getLogger(Foo.class.getName());
...
}
The logger is instantiated in the way that I would instantiate a logger for a normal Java class, but of course I get the following erro... | stackexchange/codereview |
I'm writing a local HTML5 app to process some scientific images. I'm on OS X, and I'm specifically writing it in JavaScript/HTML5 for portability so that I can demonstrate it to my supervisor on a Windows machine. This app will never be deployed on a server.
The problem is, it works perfectly on Safari on OS X, but on ... | stackexchange/codereview |
This is my first time posting on Stack Overflow but have already found it to be an invaluable resource.
My question has to do with correlated subqueries in the group by of a SQL Statement, which I understand is not possible. I hope that by explaining the intent of the query I may be able to find some help. In its s... | stackexchange/codereview |
This is probably a question that has been asked before, but I couldn't find it, so here we go...
I'd like to add a small change to org.eclipse.jdt. As part of this (and since this is my first time working with the eclipse source), I need to build eclipse from source. So, this is a twofold question:
1) I can't seem t... | stackexchange/codereview |
I'd like to parse a list of regular expressions to calculate the likelihood of each to find a match to it in a certain text/string...
Eg. finding '[AB]' in a string of length 1 should be something around 1/13 (considering only captial letters).
Is there a generic regex parser, which returns the individual positions/alt... | stackexchange/codereview |
I am trying to write this code to j2me. Does anyone has any idea how to do this?
Thanks!
import os
if os.path.isfile("c:\\python\\myfolder\\test.txt"):
| stackexchange/codereview |
I am using a ListField in BlackBerry and want to include a button with two text fields in the row like:
Button
Text1
Text2
But I am not able to add the buttons. All the help I've found is about adding images.
| stackexchange/codereview |
What is the Ruby equivalent of the PHP statement
<?php echo substr("abcdefghijklm", 0, 5); ?>
| stackexchange/codereview |
I have an application that uses plain vanilla JDBC code to access different properties from a database. This is agnostic of the database underneath.
However one of the features it uses requires the driver to be compliant with JDBC4 (in particular, it's trying to determine if a column is autoincremented accessing the va... | stackexchange/codereview |
I have a script that is using a ssh key for connecting to a remote server for a specific user. However, id the user information is changed and the keys are not updated, the script will hang waiting for a password.
How can I trap this and throw DIE when prompted for a password?
For example, if I use:
system("ssh -C USER... | stackexchange/codereview |
I have a jQuery autocomplete field on one of my pages. When I'm focused on the autocomplete field and I hit tab, it takes a little bit for the list of results to go away. Also, if I hit enter in the autocomplete field, the results stick around forever.
Is there an easy, preferably built-in way to make the result list g... | stackexchange/codereview |
I am working on a localized wp7 app and in the process of building my resx files and running into a issue where the es-MX file is not getting used when the phone is set correctly. I have a es-ES file also and the strings from it are being used instead of the es-MX file.
Here is the supported cultures from my csproj:
<... | stackexchange/codereview |
I want to match regexes (at least the basic ones, not all their possible kinds... for now...) in a text of Ruby script.
It's something like a... \/\^? oh my god... \$?\/[eimnosux]*
Maybe I need recursive regex here.
| stackexchange/codereview |
I have a uiviewcontroller that contains a pdf.
The pdf is drawed in the viewcontroller's context and is partially covered by the navigation bar on top and the tabbar on bottom (this is what i want).
I want to hide the two bars with a double tap and visualize the full pdf page.
The problem is that the bottom part of the... | stackexchange/codereview |
I wouldn't say my app is text heavy...but it displays random strings sometimes that are longer than others. They fit fine on my droid 2, but I know they won't display the same on smaller droids. Does anyone know the proper way of formatting different sized text to ensure it will work on all androids?
| stackexchange/codereview |
Designing an animation-rich, interactive site.
We'll be around for a while (this isn't a one off promo or anything).
Are there graphs showing percentage support of CSS3 features by browser, and better still, the prediction of that support 1,2 or even 5 years into the future?
I would prefer to avoid flash, but I need to... | stackexchange/codereview |
so if you have a favorite button like on SO, then the user could keep clicking and the favorite thing would keep turning off and on and so-on.
but, it seems like some kind of race condition occurs due to speed clicking and things start being funny and they get back to normal once I refresh the page. The problem seems ... | stackexchange/codereview |
I am currently working on a project which involves searching&moving elements in graphs. I thought the igraph package was pretty good for my simple needs, however, as I am a used to working with java, some things aren't clear.
Why, for instance, do the folks who created the igraph package redefine basic elements like i... | stackexchange/codereview |
I am writing a .NET app that will talk to JSON-based API to pull/push data. I saw similar question asked before:
Consuming a RESTful JSON API using WCF
but I need little more information on the same subject. Here is JSON that I have to send in request:
{"login":{"password":"PASSWORD","username":"USERNAME"}}
and respon... | stackexchange/codereview |
I have followed the article Layout Tricks: Using ViewStubs to set a View on top of another. I used FrameLayout as the root element containing one MapView and a ViewStub. At the place for ViewStub I later opened a LinearLayout with the android:background set to a color with color value <color name="blue_opaque">#f005</c... | stackexchange/codereview |
I'm developing some code to present currency symbols as part of a label on my application, and I have a reference list of currency symbols in Unicode hex format. In my code I am formatting the currency as follows:
(currency symbol) (decimal string) (currency description)
This approach works fine for most of the symbols... | stackexchange/codereview |
I am doing some modifications to an existing web application which uses Struts and deploys on Tomcat. I was trying to make my application redirect from HTTP to HTTPS when the user visits one particular page. To do that, I added to my web.xml:
<security-constraint>
<web-resource-collection>
<web-resource-name>secu... | stackexchange/codereview |
What's the best way to handle tasks executed in Celery where the result is large? I'm thinking of things like table dumps and the like, where I might be returning data in the hundreds of megabytes.
I'm thinking that the naive approach of cramming the message into the result database is not going to serve me here, much ... | stackexchange/codereview |
Greetings all.
I need to get some opinions from those outside of my work environment to see if I can get a good general consensus on project design.
We have programmed a database DLL for our department, this DLL can get the SQL Connections, build DataTables, DataSets, Execute Sql Commands, build readers etc. it basic... | stackexchange/codereview |
Is there any function available in JQuery to detect the value change of a specific field on submit?
| stackexchange/codereview |
I'm startin development on a junk file generator, but for some reason if I use a large number it will beep infinitely until the file is finished, I'm thinking there is a \a character somewhere in the ascii table, or it's overflowing and causes an error beep. Anyone wanna explain why this thing is screaming at me?
#incl... | stackexchange/codereview |
How to apply guassian smoothening formula for a graph which is in array?
these array are mapped to a color and plotted on the graph.
i want the linear gradient of color after applying guassian smoothening..
I want to know the exact guassian smoothening formula too.
| stackexchange/codereview |
My javascript framework uses Ajax to dynamically change certain parts of my page. When I use a javascript console like firebug or the one that comes with Chrome and I try to find some tags it seems that the dynamically altered HTML parts are not searched. I will have to hunt them down manually which is a daunting task ... | stackexchange/codereview |
I use a service to check for stuff on the server, and wanted to transition that to use the standard android sync capability. However, the config file confuses me.
android:contentAuthority
android:accountType
android:supportsUploading
I don't know what these represent and don't have any meaningful values for them. It ... | stackexchange/codereview |
I have to use an int value as str in a template. Here is the code
<a href="{% url staticPageEdit id=item.id%}">{{ item.id}}</a>
But when I run render the template I got TemplateSyntaxError
Description of the error is:Caught NoReverseMatch while rendering: Reverse for 'staticPageEdit' with arguments '()' and keyword ar... | stackexchange/codereview |
Hey all,
I'm redesigning the infrastructure for a website, and I want to make the login system use the accounts on our Google Apps. How would I be able to do something like this? I'm using PHP for the backend.
Thanks for any help.
-Trey
| stackexchange/codereview |
I am trying to dynamically create COM object, call COM method and set COM properties. The COM class is a VB6 ActiveX DLL. The implementation is exactly equal to the VB6 code from this page http://msdn.microsoft.com/en-us/library/ms973800.aspx.
In short words, the project is PhysServer and the class name is Temperature ... | stackexchange/codereview |
I would like to inject code in an android application at runtime. I have tried to use dx tool to generate a dexfile in the sdcard but when i want to instantiate, it fails. Are there any tools to inject code generating new dalvik bytecode? I am studing some libraries, aspecjt or guice for android. Is it better to work w... | stackexchange/codereview |
I'm trying to retrieve the return value of a stored procedure in SQL Server 2005 as follows:
OleDbCommand comm = new OleDbCommand(process_name, connection);
comm.CommandType = CommandType.StoredProcedure;
for (int i = 0; i < process_parameters.Length; i++)
comm.Parameters.AddWithVal... | stackexchange/codereview |
I am wondering what the best method is. E.g.
<script type="text/javascript" src="<%= GetBaseURL() %>Scripts/jquery-1.4.1.min.js"></script>
renders
<script type="text/javascript" src="http://www.mywebsite.com/Scripts/jquery-1.4.1.min.js"></script>
Is there any danger or performance hit doing it this way?
| stackexchange/codereview |
How can i read cookies of the client system for Java web application.
My application on server and i want to fetch some information of client system.
| stackexchange/codereview |
Does anyone have any experience running Delayed jobs on Heroku with Sinatra?
I am creating an image using Rmagick based on user inputs, and would like to take advantage of the delayed jobs on Heroku instead of having the webserver create the images
Has anyone succesfuly pulled this off? Can you point me to some exampl... | stackexchange/codereview |
On this site each page is made up of multiple .jsp files. There is a main page that contains the bulk of the page content but then navigation is handled by nav.jsp, top title section is handled by top-section.jsp, footer.jsp, etc.
The content of the pages is populated by data retrieved via json from a middle ware serve... | stackexchange/codereview |
VS2005 stucks on "Build Started ..." %first project name here% step for 5-10 mins. Only happens when I change a build configuration. Only happens to one solution.
Deleting a %first project% in a solution didn't help - i would just stuck on any first compilable project.
I have disabled the intellisense, installed every... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.