instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
How can I make it such that plotting the following function
ListPointPlot3D[points, PlotStyle -> PointSize[0.05]];
the points I see are green or yellow, for instance, instead of the typical dark blue ones?
Thanks
| stackexchange/codereview |
I have an NSMutableArray I'm trying to reload after an async call. The first time it loads like this:
self.sessionProcList = [NSMutableArray arrayWithArray:[result records]];
After the user does some interaction, the same line will be reached to reload the NSMutableArray. This causes the crash
Header file has:
@inte... | stackexchange/codereview |
So, my goal is start a function in another thread. Also i need access to other vcl components from new thread. Here is my code so far:
procedure TForm1.StartButtonClick(Sender: TObject);
var
thread1: integer;
id1: longword;
begin
thread1 := beginthread(nil,0,Addr(Tform1.fetchingdata),nil,0,id1);
closehandle(thre... | stackexchange/codereview |
I'm looking for some assistance converting the following sql query to LINQ to entities in C#.
SELECT f.FundId, u.UnitValue
FROM Fund f
INNER JOIN FundUnit u ON f.FundId= u.FundId
WHERE u.EffectiveDate = (SELECT MAX(effectivedate)
FROM FundUnit k
WHERE u.FundId = k.... | stackexchange/codereview |
ok, i guess I need help ! I searched with every keyword I could think off, but I still cant figure out, please help. Am more of a php guy, and I've just started with jQuery.
Basically, what I am trying to do is to send a jQuery post from a click function. And based on whatever is returned by my php function, show/hide ... | stackexchange/codereview |
I have a bunch of property settings saved in an application (WinForms btw, I have never touched WPF) in a project, and I'm re-writing that project again due to messy coding. The problem is, there are around 50 settings (the settings which you can see from Project Properties and the Settings option) in that project and ... | stackexchange/codereview |
I have an array that I have created from a database ResultSet. I am trying to Serialize it so that I can send it over a socket stream. At the moment I am getting an error telling me that the array is not Serializable. The code I have is down below, the first part is the class to create an object for the array:
class Pr... | stackexchange/codereview |
I've dragged a UIImage in interface builder onto the view and selected my PNG from the dropdown, that works great but if I want to change the visibility of the uiimage according to the number of rows in this table code:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
id <N... | stackexchange/codereview |
on 64bit processors.
with 32bit operating system
all programs works fine ?
like suppose all python 32bit installation programs works fine ? or there are any issues found?
a program or software developed on 32bit operating system & 32bit processor
installed on 32bit operating system and 64bit processor
does it work ... | stackexchange/codereview |
Good night,
I am currently working on a very simple lexical analiser for human language in C# based on Regex matching, and I am currently facing the problem of specifing a Regex that can match every possible punctuation symbol in the target language, and another one that can match also every kind of blank spaces. After... | stackexchange/codereview |
In android, I have a View Flipper that has a child on it that I would like to play a short .wav on when it is accessed some of the time (basically on random).
Is there a quick and easy way to play that wav right when the xml layout is accessed by the user?
I have a main class with a bunch of methods, so I can't really ... | stackexchange/codereview |
I have developed MSN, Yahoo and Facebook Instant Messaging using ejabberd, strophe and transports. Every time when legacy user register him self with his credentials to transport, he has to authorize bunch of subscribe requests. Is it possible to avoid this process. I am wondering how meebo adding contacts to respect... | stackexchange/codereview |
I have a web application that shows currency exchange rates . The rates are stored in an IBM Mainframe and rates are available through web services. Each time a user accesses the rates page, the page makes a request to the mainframe. This generates too much load on the mainframe. Especially most of the time the rates ... | stackexchange/codereview |
Excuse my ignorance for I'm a rookie programmer and my language mistakes for I'm a non native english speaker.
I've got a page that, on some click events triggers some javascript and loads ,via php, content into an iframe which also performs some javascript actions (on itself and on the parent page). Everything works f... | stackexchange/codereview |
On the previous version (<4.2) ios safari, the way to describe how to add a webapp to the home screen (used even by apple on http://www.apple.com/webapps/whatarewebapps.html was "tap the plus sign, and then tap “Add to Home screen."
Now there is no longer a plus sign.
Is there a proper name for the 'share button'? It'... | stackexchange/codereview |
I'm new to Android development, and I am trying to get familiar with it with some tutorials from developer.android.com. I'm working on the TabLayout example, and I'm doing everything in the example. However, when I run it through the emulator, the program loads but when I try to start the application it says that was h... | stackexchange/codereview |
I need to parse Windows text file and extract all data related to operations. Operations
are separated with $OPERATION and $OPERATION_END. What I need to do is extract all text blocks for all operations. How can I do it effectively
using regex or simple String methods. I would appreciate you provide small snippet.
$OPE... | stackexchange/codereview |
I have a VS2008 solution with several libraries and 4 console apps. All build and run correctly in 32 bit mode. The libraries all build and run in x64 mode in another solution with a C# app and a C++/CLI interface layer.
Now I need to build an x64 flavor of the 4 console apps (functional and unit tests for the librarie... | stackexchange/codereview |
The Project: I am currently developing a security system and the system relies on the registry for support.
The Problem:
If someone managed to locate the registry key I am using, that person could bypass the system.
I need to be able to avoid Registry Monitors and other software so that activity with the registry key... | stackexchange/codereview |
I have some confusion regarding Ruby and OAuth. Basically, this is what I'm doing:
@oauth.get('/foo.json?page=1')
However, for some reason outside of my understanding, the provider application is only receiving /foo.json, with the get params stripped.
I'm wondering if I'm missing something obvious here.
| stackexchange/codereview |
I want to insert a image in MS - Excel 2007 with source of the image being
xyz.com/234.png
Now, I want to format the url of this image using some cell value.
Is it Possible.
Thanks,
| stackexchange/codereview |
Is there a way to specify Unicode character literals in MySQL?
I want to replace a Unicode character with an Ascii character, something like the following:
Update MyTbl Set MyFld = Replace(MyFld, "ẏ", "y")
But I'm using even more obscure characters which are not available in most fonts, so I want to be able to use Uni... | stackexchange/codereview |
I'm trying to insert via checkbox, but it saves only one record, suppose in the table I've got 10 records, it saves only the 10th one. I think there is a problem in the for each. Can anyone help me?
<form id="assign" name="assign" method="post" action="assign_individual_exec.php">
<tr><td class="style3">Select co... | stackexchange/codereview |
private void btnNew_Click(object sender, System.Windows.RoutedEventArgs e)
{
OpenFileDialog of = new OpenFileDialog();
of.Multiselect = true;
of.Filter = "JPG Dosyaları|*.jpg|JPEG Dosyaları|*.jpeg";
of.ShowDialog();
foreach (var file in of.Files)
{
MessageBox.Show(file.FullName);... | stackexchange/codereview |
I am learning C++ and I am stuck with a problem. I need a way to use a specific subclass within base class. Does it make sense or I am using a wrong approach? SelectBrand should select the subclass, how can I do it?
Here below my simplified classes:
-----
class Protocol {
public:
Protocol() {};
~Protocol() {... | stackexchange/codereview |
I need to determine if an image is above a certain brightness.
Using a scale of 0 - 255 I want to generate a value within this range to reflect the image brightness.
i.e. a white image is 255 and a black image is 0.
All this needs to take place via a bash script I am building up at the moment.
I have no idea what imag... | stackexchange/codereview |
This program converts Celsius degrees to Fahrenheit degrees and Kelvin.
When I run this code in Dev C++ I get Celsius values going from 2 to 300. How do I get the code to output Celsius values starting from -300 and ending at 300?
I clearly set cels = -300 in the for loop. So why does the output start from 2?
#includ... | stackexchange/codereview |
Firefox - XULRunner = What?
Details...
Another way of putting this question is, what does the 'firefox app' consist of (besides the XULRunner portion of code)?
| stackexchange/codereview |
Looking at a "mysqldump -d" and see a key that is KEY, not "PRIMARY KEY" or "FOREIGN KEY"
What is KEY?
Example:
CREATE TABLE IF NOT EXISTS `TABLE_001` (
`COL_001` int(256) NOT NULL,
`COL_002` int(256) NOT NULL,
`COL_003` int(256) NOT NULL,
`COL_004` int(256) NOT NULL,
`COL_005` int(256) NOT NULL,
`COL_006`... | stackexchange/codereview |
The table in question contains roughly ten million rows.
for event in Event.objects.all():
print event
This causes memory usage to increase steadily to 4 GB or so, at which point the rows print rapidly. The lengthy delay before the first row printed surprised me – I expected it to print almost instantly.
I also tr... | stackexchange/codereview |
I've written a Lisp function like this:
(defun power (base exponent)
(if (= exponent 0)
1
(* base (power (- exponent 1)))))
When I try to call it, however, I get some errors:
CL-USER 2 > (power 2 3)
Error: POWER got 1 arg, wanted at least 2.
1 (abort) Return to level 0.
2 Return to top loop level 0.
... | stackexchange/codereview |
I have a Rails 3 application and I have a couple of use cases to support.
Store Locator given an address or zip code.
Graphical display of where users are originating from.
On the first one, I need speed and accuracy for a "Where to Buy" type of function.
On the second one, I don't need super accurate data, taking wh... | stackexchange/codereview |
Sorry if the question is a bit vague. Here is my situation.
I have Drupal installed in a sub folder at www.example.com/testing. Within this, I want another sub folder for a mobile version of the main Drupal installation (www.example.com/testing/mobile).
Therefore, the mobile site needs to share the database, codebase, ... | stackexchange/codereview |
I was thinking about using Singleton pattern in my project, so I searched StackOverflow to find a pythonic way to implement it. I found this question with the accepted answer saying that "a module with functions (and not a class) would serve well as a singleton". On other hand the second answer had a suggestion to use ... | stackexchange/codereview |
I'm currently using a Hibernate Criteria to return a list of results (filtering on various column values), but several of the objects have the same value for one of the attributes and I only need one "representative" for each.
For example: I am returned a list of 3 vehicle objects, with id/primary keys of 123, 456, 78... | stackexchange/codereview |
I tried to edit my init file. Is there any possible way to quickly jump into function definition of other .el file that has already loaded/required ?
I remember doing this once, but don't remember how...
| stackexchange/codereview |
This is a very, very simple question, but I can't seem to find the answer. I have a WPF application that I've made a bunch of windows for. I've decided now that I want a different window to be the first one to open when the application is started. The default first window is MainWindow, how do I change it so another wi... | stackexchange/codereview |
I've been asked to fill a form by my university which has 323 textboxes where each of them has to contain a number between 1 and 323. After manually adding a few numbers till 80 for example, I want a write a script that fills all the remaining textboxes with the numbers which have not been used.
How can this be accomp... | stackexchange/codereview |
I'm writing a form validation script for a form with multiple ratings, and I'd like to insert a bit of text that says "give a rating!" for each rating the user misses. I wrote the code below to do this, but I'm running into a problem where the give_rating node is only appended to the last node on the form. I know that ... | stackexchange/codereview |
I was having an issue with the Utf7Encoding class truncating the '+4' sequence.
I would be very interested to know why this was happening.
I tried Utf8Encoding for getting string from the byte[] array and it seem to work honky dory.
Are there any known issues like that with Utf8? Essentially I use the output produced ... | stackexchange/codereview |
I have a noob spring question.
if i have a bean that is dependent on google's gdata api jars. How I represent this in a beans.xml file?
| stackexchange/codereview |
I know I can modify what default data entry areas show up when I make a custom post type, but is there a way to modify the default "pages" data entry -- for example, say I'd like to only provide the title and main text boxes.
For a custom post type, I'd use 'supports' => array('title, 'editor') but I'm unsure as to how... | stackexchange/codereview |
I'm creating web-app using JSR286, Struts2 for portlets on WebSphere Portal 6.1.5
The problem is that I can't make work built in CookieInterceptor.
I've tried this in src/struts.xml:
<package name="web-app-default" extends="struts-portlet-default , json-default" abstract="true">
<interceptors>
<interceptor... | stackexchange/codereview |
I'm trying to write a cmd script that gets the current date and time and formats it into a way that sqlserver can input it as a datetime.
So far, I have:
@echo off
for /F "tokens=1-4 delims=/ " %%i in ('date /t') do (
set dow=%%i
set mon=%%j
set day=%%k
set yr=%%l
set mydate=%%j/%%k/%%l
)
This prints out 10/22/2010
I ... | stackexchange/codereview |
I have a DataGrid that has AutoGenerateColumns="True". I'm binding that DataGrid to a collection of objects that are of an unknown datatype at design time.
The DataGrid is able to identify the data type that a particular column is bound to. It shows a textblock or a checkbox if the content is text or a bool respect... | stackexchange/codereview |
Why JohnDoe.whoAreYou() does return undefined ?:
<html>
<head>
</head>
<body>
<script>
var JohnDoe = {
//public property
firstName: "John",
lastName: "Doe",
//public method
whoAreYou: function() {
alert( "I am literal object and my name is " + this.toString());
... | stackexchange/codereview |
I have a generic class which represents a fragment of text. That fragment of text may have any of a number of different modes (different types of highlighting). Those modes are represented by an Enum. The Enum could be different for each project but it must implement an interface which provides a method to combine 2... | stackexchange/codereview |
i want draw ruler between 2 points.point will select by click.please help me.
| stackexchange/codereview |
hi how can i make the text inside div coming to the next line if the text covers the width of contenteditable="true"
Just like gmail chat when some one writes anything inside div then it automatically moves to next line
I am talking about the contentEditable="true" div means the div in which we can edit or write text... | stackexchange/codereview |
I'm using a compiled query which is quite complicated to perform a portion of my querying logic in an application, which abstracts the compiled query behind a Func<>. I'm periodically (once in a thousand or so runs) receiving the following Exceptions:
SqlException:
The parameterized query '(@p__linq__0 int,@p__linq__1 ... | stackexchange/codereview |
my maven project is stuctured as:
project
moduleA
moduleB
moduleC
The moduleB and moduleC are dependend on moduleA. if I execute the 'mvn install' command maven installs moduleA and moduleB in my local repository after that maven tries to install the modeleC but without success, first it tries to find the artifac... | stackexchange/codereview |
Greetings!
I'd like to make small program what reverses part of a stream between markers using stream effectors and/or manipulators For example:
From this:
cout << "something" << revstream::start << "asdf" << 3.14 << revstream::end << "something";
To this:
something41.3fdsasomething
I'd like it to work not just on the ... | stackexchange/codereview |
Can anyone offer some advice on validating a X509Certificate. I am already checking to see if the cert is signed by a trusted root, however I also want to check that the certificate is issued to a known party.
What is the best property to use for this? I'm thinking along the lines of SerialNumber or Public Key but don'... | stackexchange/codereview |
Here's my script:
INSERT INTO
AP09
SELECT
cds AS CDSCODE
FROM
P_Schools
WHERE
active = 1;
There are ten columns in the AP09 table. All but the primary key (CDSCODE) are nullable. I just want to insert CDSCODEs from another table, and have the rest default to null. Instead I get an error:
SQL Server Database Er... | stackexchange/codereview |
How can I convert a RGB color into a HEX in AS3?. For example: R=253 G=132 B=58.
Tks.
| stackexchange/codereview |
I have some XML that looks like
<?xml version="1.0"?>
<root>
<![CDATA[
> foo
]]>
</root>
(Note the > sign in "> foo") and an XSLT stylesheet
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/root">
<foo><xsl:value-of select='.'/... | stackexchange/codereview |
Trying to build a slideshow of HTML slides with jQuery serialScroll. However, if my slides contain nested elements that match the element I'm trying to scroll, then it acts a little weird.
Is there a way to use CSS classes as selector items instead of HTML elements?
Here is an example of the typical usages I've seen:
$... | stackexchange/codereview |
How can I enable hyperlink for every record in the JTable?
What I want to do is such that a user can click on the hyperlink which will then display the information they can edit/update.
Alternatively how can I enable in place editing of the table data?
Another question is i am currently using the following way to displ... | stackexchange/codereview |
I downloaded the 'ExampleAppWidget' (by Android Official documentation).
I opened it with Eclipse. I've no compiling errors.
I'm trying to test it pressing F11 key (as with a classic application that is not a widget), but I think that this is not the right way, as a matter of fact Android return me a null pointer excep... | stackexchange/codereview |
Example Before:
column x
yummy grains
blah blah
foobar 1
sugar daddy
foobar 2
fiber one
What I want after:
column x
yummy grains
blah blah
gooey foobar 1
sugar daddy
gooey foobar 2
fiber one
| stackexchange/codereview |
I have a simple application to calculate a quote for a picture framing job. The user enters all the data into a form and then the application works out the quote based on this data.
The user is then asked if they want to create an order out of this quote, if they do then the user selects or enters a new customer to as... | stackexchange/codereview |
If i want to use several icon in my app should i enter all of them into IconFiles in info.plist?if yes should i delete iconFile from info.plist
| stackexchange/codereview |
I have 3 buttons on my main view named btn_easy, btn_medium, and btn_hard that I would like to make change the width of two custom image view objects named racquet_green, and racquet_yellow upon clicking.
The code I have to start the executing of the method upon button click is:
-(IBAction)buttonPressed:(id)sender{
... | stackexchange/codereview |
I am wondering what is the most pythonic way to do the following and have it work:
strings = ['a','b']
for s in strings:
s = s+'c'
obviously this doesn't work in python but the result that I want to acheive is
strings = ['ac','bc']
Whats the most pythonic way to achieve this kind of result?
Thanks for the gre... | stackexchange/codereview |
I need to create some global android variables. Some posts here suggested me to do something like this:
public class MyAppName extends Application {
String foo;
//then, to create setters and getters...
}
and, to add android:name=".MyAppName" to manifest.
But now I am struggling with some basics that I misse... | stackexchange/codereview |
Can anyone please help for above question.
| stackexchange/codereview |
I'm looking for a good guide with sequenced and detailed steps for installing Perl Strawberry, MySQL, and DBD::mysql on Windows XP.
The main goal I want to accomplish here is to have the ability to create databases and perform regular actions against them via Perl Strawberry using DBD::mysql
I've found this so far, but... | stackexchange/codereview |
Possible Duplicate:
What do the plus and minus signs mean in Objective C next to a method?
Had an error which I fixed by changing -(void) to +(void), but I would like the understand it.
Thanks.
| stackexchange/codereview |
If you place a UIPickerView inside a UIScrollView and try to change the pickerview's data by flicking your fingers, the scrollview moves as well. I want a mutex when if you touch the picker view, it completely eats up the event (stops event propogation from affecting the evil scrollview). Any ideas?
| stackexchange/codereview |
I have this string in a XML File :
DateTime.ParseExact("21/06/1980", "dd/MM/yyyy",
System.Globalization.CultureInfo.GetCultureInfo("fr-fr"))
I would like read the xml, execute this string and retrieve the result.
Do you have any ideas for executing and retrieving the result please?
| stackexchange/codereview |
The super star (*) key in Vim will search for the word under the cursor and jump forward to the next match. The user can jump to the next matches with the n key. If hlsearch is enabled, it will also highlight the matches.
I want to be able to press * and get the highlighted matches and be able to navigate the matches u... | stackexchange/codereview |
I'm looking for the best solution to implement messaging to multiple users within the system(Facebook-style).
I'm came up with the following idea: where each Message belongs to the Message_Chain and in the Message_status table user-sender and users-receivers are listed. However I'm afraid that this schema is not very ... | stackexchange/codereview |
I would like to add onMouseOver and onMouseOut events to an editor instance within TinyMCE (through a plugin), but they seem not to be supported by TinyMCE's API. Specifically, I would like a control to appear when the element is moused over to toggle "read-only" mode (and possibly other things). Would I have to add co... | stackexchange/codereview |
In our team someone is using the remote debugging on Glassfish.
Can I figure out which ip it is?
| stackexchange/codereview |
Background
I have a calculated value stored in a transient attribute.
Every time my app starts up, the transient needs to be updated.
Startup time is really slow (i.e. 10-15 seconds)
Instruments confirms the update is very expensive.
Question
Is it OK to store a calculated value in a persistent attribute?
I'd use Ma... | stackexchange/codereview |
I've got a form with a FileUpload control where users can upload images. Can I ensure that the file size of the uploaded image is lower than the configured maxRequestLength before the upload occurs, and by doing so prevent an exception from being thrown when file size is too large?
My initial attempt of looking at Cont... | stackexchange/codereview |
Could anyone tell me how I can dynamically specify an ivar name within my method?
l2 is the ivar I'm trying to target.
//this works
if (maxunlocked > 1) {
filename = [NSString stringWithFormat:@"level%d.png", [[fliesArray objectAtIndex:2] intValue]];
filenameHi = [NSString stringWithFormat:@"level%dHi.png", [[fliesAr... | stackexchange/codereview |
My application is written in Adobe Air & JavaScript and doesn't use Flash/Flex.
Air.Sound() is used to play (shoutcast) audio streams.
I'm looking for a solution (without using external Flash/Flex players, coz) that can preload (buffer) a few second of audio stream to avoid playback lags and keeping memory usage low.
| stackexchange/codereview |
I am using Symfony 1.4 with Propel as ORM. i have configured web server schedulers to trigger a mailing function at every 1Hour. To send mails i am using PHP Swift mailer class, and not the symfony's inbuild Swiftmailer(default in 1.3,1.4). But while using it is giving me error..
as "Catchable fatal error: Argument 1 p... | stackexchange/codereview |
I'm attempting to build a Virtual Machine to develop a Django application. The OS is Ubuntu 10.10. I have most everything installed. The last piece is getting MySQLdb to work with the MySQL instance that comes with XAMPP.
How can I get MySQLdb to default to work with the XAMPP MySQL?
I found this: Accessing a XAMPP my... | stackexchange/codereview |
I know gcc produces colored output for the error messages. Does a similar feature exist in ifort as well ?
| stackexchange/codereview |
I am a recent computer science student and have intermediate knowledge of java. However I am good at PHP.
Please suggest me a fastest way to learn Android and start developing apps immediately.
| stackexchange/codereview |
I want to build an multi language ASP.NET MVC 2 website.
Let's say I have the following sentences:
MyStrings.resx:
TestString : "This is my test"
MyStrings.de.resx:
TestString : "Dies ist mein Test"
MyStrings.fr.resx:
TestString : "C'est mon test"
Now on my site I want to make the words my/mein/mon in an other color... | stackexchange/codereview |
I have a command like this in my history (Linux bash shell):
1119 for dir in `ls -d MyMod.*`; \
do echo $dir; \
svn copy --parents $dir $REPO/tags/MyMod_20101115/$dir -m"MyMod tag for 20101115"; \
done
where 1119 is the command number.
(Note that the command is in reality all on one line and does not contain any ... | stackexchange/codereview |
First of all I have to excuse for the maybe misleading question: I read that it's not possible, so the question actually is: Is this true and if yes, is there another possibility to accomplish this relation-behavior? But let's describe my situation:
I'm developing a small SharePoint 2010 solution and am not sure how to... | stackexchange/codereview |
I have a PHP application which has an access control mechanism based on the navigation-id's of the single pages. So a user may have access to pages 1, 4, 5, for example. Navigation-id's are not static, new pages (and therefore new nav-id's) may be generated by admin-user. And I have some kind of a service oriented arch... | stackexchange/codereview |
We own server A, and on some occasions we rewrite requests to our partner on server B.
In some cases server B will respond with a redirect to a completely different website, which is what is expected, let's say server C. However, when that redirect form server B comes back to server A, server A interprets it as a redir... | stackexchange/codereview |
Currently i have system that's do resizing and creating as many images as needed and storing them on web servers file system. Also i make and entry in database of image basename in mysql.
For example i upload 5 images the basename would be 372FDSC and then it will add _0, _1 etc. to each image in filesystem so it makes... | stackexchange/codereview |
I currently have a form that will pass 2 parameters to my controller. My question is every time I make a choice in the select_tag form, I want my option to stay after I hit the submit tag. That way the user knows what he or she just selected. I could used :selected=>"true", but thats only for the default value and not ... | stackexchange/codereview |
I want to control the look and feel of my site by having two css files. One for colors and one for everything else. I want to put the colors css file in the App_Themes folder but I want to add the other file to every page on my site, but not add it to App_Themes because I want it to be loaded regardless of what Theme I... | stackexchange/codereview |
I want to desing java application that montior internet activity. Let consider I open different browser and that sending and receving data from internet. My application requirment is that to monitor that sending and receving packets. So my application working as services that generate log of internet surfing. How this ... | stackexchange/codereview |
I'm trying to create REST services using Jersey (builtin) on Glassfish. I installed GlassFish Server Open Source Edition 3.0.1 (build 22). This is my web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLoc... | stackexchange/codereview |
In my application i am checking username and password using webservice .i used NSURLConnection class but before the execution of NSURLConnection delegates my authentication metod works.how to contorl after the response come it continous the normal execution
| stackexchange/codereview |
A complete beginners question.
I have a large number of divs (>80) on a page (page2.php) and what I would like to do is open page1.php, click on a link to open page2.php and show only one of these divs depending on which link was clicked.
I have a basic working version of this by adding an if else to the divs. I've on... | stackexchange/codereview |
As I understand it, I have three location providers to choose from: GPS, Network and Passive.
I would like to obtain my location by detecting the Wi-Fi network I'm connected to, I believe both Cell Triangulation and Wi-Fi location determination is covered under the Network provider.
However, despite being connected to ... | stackexchange/codereview |
More specifically: I want to find this information from inside the program, preferably just before it starts swapping so I can react. So far I found:
Information inside /proc, which is not very useful
mincore syscall which seems to be available on linux and bsd, but requires me to pass in all the pages I'm interested ... | stackexchange/codereview |
I have the following XML file (it's actually VS2010 dbproj file)
<?xml version="1.0" enconding="utf-8"?>
<Project.....>
<propertyGroup>
....
</PropertyGroup>
<ItemGroup>
<Build Include = "Schema Objects\Schemas\dbo\Programmability\Stored Procedures\foo.sql>
</Build>
</ItemGroup>
</Project>
I would like to use LINQ t... | stackexchange/codereview |
Is there an IDE which will allow me to develop for the .net Micro Framework on Linux?
Maybe MonoDevelop?
| stackexchange/codereview |
In my app I have some complex logic surrounding the hiding and showing of the keyboard. I am interested in detecting when the user (who has an iPad) specifically taps on the iPad keyboard hide button:
I am not interested in detecting when the keyboard is supposed to hide, only when the user actually physically taps on... | stackexchange/codereview |
I'm building a fantasy racing prediction app. The goal is to predict the top ten finishers in a race. Correct predictions are awarded 3 points. Predictions that are 1 position off are awarded 2 points. Predictions that are 2 positions off are awarded 1 point.
I need to compare a User's Prediction to actual Results, su... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.