instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Note - I will really appreciate a quick and complete answer to this question. I can't offer a bounty yet because I just published this question a few hours ago, but if someone answers this question fully, I will issue a total bounty of 150 (100 from me + 50) and award it to them.
I have tried to work my way through the... | stackexchange/codereview |
My highschool years are far behind and I'm having trouble remembering how to isolate the "a" variable in this equation :
ln(20) = ln(a) + 3 * b
b = 0.4605
From this website (last section, at the very bottom http://mathonweb.com/help_ebook/html/expoapps_3.htm) : "Back-substituting b into either of the previous equations... | stackexchange/codereview |
How do you test the application icon in the Nokia Qt SDK Simulator? The one which starts when u run the the application from within the Qt Creator.
I like to see how it works & how the sizing works out, but seems there is no App Launcher process as there is in iPhone/Android. Any hints?
| stackexchange/codereview |
I have retail POS (Place of service) system implemented in .net and java swing versions. This is desktop application. Is it possible to integrate this into Web portal/application using some EAI/ middleware tools? or is there any approach to make it online with out redeveloping UI?
| stackexchange/codereview |
I have some html file:
<html>
<body>
<span class="text">One</span>some text1</br>
<span class="cyrillic">Мир</span>some text2</br>
</body>
</html>
How can i get "some text1" and "some text2" using lxml with python?
| stackexchange/codereview |
Im about to start creating a custom onscreen keyboard for my WP7 app. An out of the box SIP will not work since they can't be customized or built from scratch with .NET.
Ideally the keyboard would activate like a SIP. Specifically, appear when the textbox receives focus. Docking to the bottom of the screen would be ni... | stackexchange/codereview |
What are the Best Ruby Screencasts/videos to really understand ruby? Which ones would you recommend?
| stackexchange/codereview |
My question is about denormalization. In a database, when should you store derived data in its own column, rather than calculating it every time you need it?
For example, say you have Users who get Upvotes for their Questions. You display a User's reputation on their profile. When a User is Upvoted, should you incremen... | stackexchange/codereview |
Almost all the examples I see are done with IB but I don't want to use IB.
What I want to do is, when a user selects a row in the table a UIWebView will be pushed onto the stack and load that particular page while keeping the tab bar and navigation bar. I don't want all the features of a browser rather just be able to ... | stackexchange/codereview |
For example, I have domain name abc.com
I want both abc.com and www.abc.com can access the same website.
I know two ways to do that, one is add one more site and setup 301 permanent redirect to the 'www' webiste.
Another way I know is binding one more domain on the domain name without 'www'
Which way is better? If for... | stackexchange/codereview |
Do I need a different signing certificate for each different appID? or do I just need different provisioning profiles?
If I have two apps: com.domain.app1 and com.domain.app2 do I just need to create 4 provision profiles?
1 - Dev Profile for com.domain.app1
1 - distribution profile for com.domain.app1
1 - Dev profil... | stackexchange/codereview |
Given the following entity (some columns omitted from this long definition for brevity):
@Table(name = "Products")
public class Products implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@Basic(optional = false)
@Column(name = "SKU")
private String sku;
@Basic(option... | stackexchange/codereview |
I've been trying to search for a method which will let me publish checkin details from my third party android app. There is a permission called publish_checkins present in the extended permissions of Facebook, however, I haven't found a specific method that need to be mentioned in order to do this activity. Could anyon... | stackexchange/codereview |
I am developing an application in which I am getting a zipped XML file from web service.
Now I need to unzip it and I have to parse it. How can I unzip an XML file coming from web service??? Is it necessary to save unzipped file (after unzipping) before taking it to parse or is there a code which gives unzipped file di... | stackexchange/codereview |
I found current location using (CLLocationManager startUpdatingLocation) this method. How long it takes to find current location ?(In minutes).
Because i want to set time out for CLLocationManger classes to stop updatinglocation.
Can anyone help me ? Thanks in advance.......
My location manager desiredAccuracy should b... | stackexchange/codereview |
Are there any java libraries out there that can handle live streamed audio such as an internet radio stream that can then be played back using Java?
I've looked into stuff like Xuggler/FFMpeg but I'm not sure if they can handle the fact that I'm just trying to play a live stream.
It would have to be able to handle most... | stackexchange/codereview |
I'm currently coding an RPG engine in XNA. The engine executes a series of scripting commands but has to block until the next scripting command. How can I do this?
For example:
// interact with an NPC named in String 'Name'
String interactfunc = String.Format("{0}_Interact", Name);
System.Reflection.MethodInfo info = F... | stackexchange/codereview |
I am making a program with graphics.h in C.I am trying to implement the matrix screen saver but I am stuck here in the code.The alphabets fall just once.I want them to keep on falling (removing the text before).Please guide me how to clear the old contents
void main_page(void)
{
int i,j,k,l,m,n,size;
setcolor... | stackexchange/codereview |
Say you have several large arrays of variables (which generally are strings), and you want to change how they are displayed on certain pages – for example by concatenating each of them with $prefix and $suffix:
$arr = array($foo, $bar, $baz)
$foo_display = $prefix . $foo . $suffix
$bar_display = $prefix . $bar . $suff... | stackexchange/codereview |
Here's my code:
$long = str_repeat('a very long string text', 100); // try changing 100 to 5000
$str = <<<STR
<abc>a short string text</abc>
<abc>$long</abc>
STR;
preg_match_all('@<abc>([^<>]+)</abc>@sU', $str, $matched);
print_r($matched);
And it works totally as expected. However, after you have changed 100 repet... | stackexchange/codereview |
I have a domain xyz.com on an ASP.NET shared hosting environment.
I am confused with which is to choose to separate my ASP.NET MVC 2 applications.
Whether to create a physical subdomain for each app or create a virtual directory for each app.
I also want to use the asp.net membership and role provider for all apps.
Th... | stackexchange/codereview |
I can't seem to get suds working with my setup. I have to pass a context, with a remote user set before I can use any of the functions in the API. What I tried to do was this:
client = Client(url, username=userid, password=password)
apiContext = client.factory.create("apiCallContext") # This is listed in the type... | stackexchange/codereview |
How do I target $this (from 'each' context) from inside 'click' function. I want to remove awkward .parents().find() code.
$('.layout.responsive').each(function () {
$('.area.optional', this).before('<a href="#" class="toggle_responsive" onClick="return false">Show details</p>').hide();
$('.toggle_responsive', ... | stackexchange/codereview |
Sorry if the title didn't make any sense.
Currently, the following parameters on the imagemagick convert utility are perfect for what I need. I'm tring to take an .svg file, make it larger and write it as a png file.
convert -density 36 home.svg home_1.png
Unfortunately, I need to be using Magick++ (the C++ Interfa... | stackexchange/codereview |
As title, I have no idea why I receive this error message when I am trying to use the RSQLite Library by library(RSQLite), suggestions?
Thanks!
| stackexchange/codereview |
Example:
variable = new StreamReader( file ).ReadToEnd();
Is that acceptable?
| stackexchange/codereview |
I am creating a matrix of boxes with some images in them. To manage the taps and get which box was tapped I am placing one UIButton inside of each box that is invisible and also the size of the box.
I added the event listener (sorry, I'm a Javascript programmer :) ) like this:
[button addTarget:self action:@selector(bo... | stackexchange/codereview |
I want to freeze animations on a page while a select box is chosen and then restart them when the select box is released. It's easy to freeze them with .focus() but I'm having trouble after this.
If I use .blur(), this doesn't work when an item in the select box is selected as it retains focus. If I use .change(), this... | stackexchange/codereview |
Requirement:
1. Show a list of all referral types in a combo box. (eg. Newspaper, Yellow Pages, Client)
2. Upon choosing client, a popup is shown where they can search for clients within the system.
3. From the popup, the user can choose one client.
4. Popup will be dismissed and the client name will be populated into... | stackexchange/codereview |
I am writing a low level C app, and I'm planning on using an array to store my fonts.
The problem is, the font I'd like to use is in TrueType format. How shall I:
Convert TTF to a large sized, B&W, bitmap
font without any kind of AA (not strictly programming
related);
Parse the B&W bitmap font into a C byte array.
Wh... | stackexchange/codereview |
Im trying to do pages for my search result.My Search function is working fine. However, when I click on the page number. This error appears (below) :
Notice: Undefined index: search in C:\wamp\www\I-Document\new.php on line 8
ERROR: Select from dropdown
This message only should appear when there is no input in dropdown... | stackexchange/codereview |
I have a spinning circle UI element that is updated by an NSTimer. I also have a UIScrollView that would 'block' the spinning circle while being scrolled. That was expected, because the timer and the scroll view where both in the same thread.
So I put the timer in a separate thread which basically works great! I can se... | stackexchange/codereview |
If you look at this MSDN documentation there is a sample with the following code:
// Define a change interceptor for the Products entity set.
[ChangeInterceptor("Products")]
public void OnChangeProducts(Product product, UpdateOperations operations)
{
if (operations == UpdateOperations.Add ||
operations == Up... | stackexchange/codereview |
I want to set up a crontab to run a Python script.
Say the script is something like:
#!/usr/bin/python
print "hello world"
Is there a way I could specify a virtualenv for that Python script to run in? In shell I'd just do:
~$ workon myenv
Is there something equivalent I could do in crontab to activate a virtualenv?
| stackexchange/codereview |
I would like to have something similar to the "List mode" of the stacks in the Dock.
But it should have the behavior of NSPopUpButton, in terms of displaying the selected object still, when the "drawer" is collapsed.
Each row should contain an image and to text columns.
How would you realize this?
Maybe subclassing N... | stackexchange/codereview |
Google Apps Script is the javascript-based environment for running scripts on Google Documents, amongst other things. You can do things like copy data between spreadsheets and generate emails.
The Script API is a bit simplistic - although you can get the ID of an object, you cannot retrieve an object by ID, so it makes... | stackexchange/codereview |
I have this
$("input:radio").change(function() {
can i do something like
$(".someclass input:radio").change(function() {
Is that even correct and if not is there a better way
| stackexchange/codereview |
The context:
I have a web application (e-commerce in few steps) written in php, I am writing a new version with CodeIgniter.
I have to include it within php pages generated by a CMS (sitezen).
/* generated html */
<?php include('my_app/index.php); ?>
/* generated html */
I cannot do anything about the CMS part, like... | stackexchange/codereview |
I need to write a DLL (in Delphi 2009) that is to be linked into a third party application written in MS VC++. The concept is very much that of a plugin system, which means that the application runs perfectly well without the DLL, and loads it when it is present.
Upon certain events, the application calls functions tha... | stackexchange/codereview |
How do I select the ID of a dropdownlist that has been changed in a div?.
i.e a
<div class="a">
<select name="ddl1748" id="ddl748">
<option value="Change">Change</option>
</select>
<select name="ddl1749" id="ddl749">
<option value="Change">Change1</option>
</select>
</div>
I have a lot... | stackexchange/codereview |
Is it possible to order a collection of parent objects by both a parent's property and a child's property?
Let's say I have an Entity class that has this bit of code:
@OrderBy("age")
public List<Father> getFathers() {
return fathers;
}
The Father Entity has an age property which we want to order by ascending age (... | stackexchange/codereview |
I'm interested to know if gtkmm w/ ATK (or whatever) works with MSAA like Qt does. We're looking right now at switching toolkit from WX and it turns out that our testing software relies on MSAA to do it's thing (something I wish I'd known 3 years ago when we picked WX to begin with). Of all the GUI toolkits, I prefer... | stackexchange/codereview |
I have a problem where i am supposed to export the display to many other screens where those screens form a part of a single display( ie many screens combine to make a single display). I know i have to use GdkScreen for it but i still dont kno how to. Can anyone please give me an example or an explanation or guide me t... | stackexchange/codereview |
Ok I'm following this tutorial for a basic PHP webservice server/client setup:
http://www.java-samples.com/showtutorial.php?tutorialid=1186
Now I'm wanting to add a user authentication and have the functionality working but wanted to know if the user doesn't authenticate how can I return an http Status 401 Unauthorized... | stackexchange/codereview |
The problem is simple: sizeof((u_char)value) returns 8. strlen fails. How to get a length of uchar's content?
Attempted
std::cout << "Data: " << (u_char *)data[0] << "\n"`;
u_char is defined in include/sys/*.h as unsigned char;
| stackexchange/codereview |
I'm using django-paypal and I want to charge my users in € not in $. I didn't find a way to change that behavior (the currency is always USD). But I'm very sure there is a way to do that.
| stackexchange/codereview |
After a period of inactivity the first request takes about 5 to 10 secs to come through.
Is there any best practice solutions to overcome this problem?
I'm using Python version of App Engine.
| stackexchange/codereview |
I want to search a webpage for elements by tag name such a <p> or <body> or by class id and then highlight them. I want to do this using 3 buttons, set values, highlight next, and clear. Using three functions (getValues, highlightNext, clear)
First prompt the user to enter the value 1 or 2 corresponding to tag names ... | stackexchange/codereview |
New to scripting. How can I write code to create multiple files (a.txt, b.txt, ... , z.txt)?
Thanks.
| stackexchange/codereview |
I was writing a simple class. Here is the code:
class Book{
var $title;
var $publishedDate;
function Book($title, $publishedDate){
$this->title = $title;
$this->publishedDate = $publishedDate;
}
function displayBook(){
echo "Title: " . $this->title . " published on " . $thi... | stackexchange/codereview |
i have used views created an article's title page list of the content type story. now,i want to add the sequence number of the article before the article's title .eg: if i have 200 articles. it maybe 1 the first article title ,2 the second article title ...198 the 198th article title,199 the 199th article title ,20... | stackexchange/codereview |
Simple silly question. What is better?
A Bool or an Enum('y','n') ?
| stackexchange/codereview |
I have a custom WPF control MyLine that should represent or not some text in its middle.
public class MyLine : Shape
{
public double X1, Y1, X2, Y2;
public bool IsTextDisplayed;
public string Caption;
protected override System.Windows.Media.Geometry DefiningGeometry
{
get
{
... | stackexchange/codereview |
I am writing a small program using openGl and SDL. I need to use SVL for various reasons but I cannot get it to link up properly in Xcode. Has anyone done this before and could talk me through it? I followed the readme from SVL and get the following when I run make install:
ip-156-133:svl-1.5 2 Tom$ sudo make install... | stackexchange/codereview |
I want to limit access to directories based on roles, e.g.,:
<intercept-url pattern="/foo/**" access="hasRole('ROLE_FOO')"/>
<intercept-url pattern="/bar/**" access="hasRole('ROLE_BAR')"/>
But I also want a superuser role that can access everything, e.g., :
<intercept-url pattern="/**" access="hasRole('ROLE_SUPERUSER'... | stackexchange/codereview |
how to make Substring on field on crystalreport ?
thank's in advance
| stackexchange/codereview |
I have the following code:
Private Sub Tabstrip1_Click()
Form2.Show vbModal, Me
end sub
Form2 has just a Close button. The first mouseclick on Form2 has no visible effect unless form2 lies over the calling form, then an error is raised that a modal form cannot be shown twice! So what happens is that the first mouse... | stackexchange/codereview |
I've seen some answers to questions about how to specify a custom layout for a spinner's pop-up list, but what I want to do is to customize the text on the Spinner control itself, such the "setText..." methods that you can call for a Button (TextView subclass).
Is there any way to do this? What I'm trying to do is to m... | stackexchange/codereview |
I have a date picker empty, but I do not know how to check if is empty (not validated or not)
| stackexchange/codereview |
i have 3 tables in sql-server 2008
table A , table B , Table C
i need to count all 3 tables and see it in one query line, like this:
A B C
30 40 12
i tried this: select count(*) from A,select count(*) from B,select count(*) from C
but i got error
thank's in advance
| stackexchange/codereview |
How do you overwrite the getter of the property in Python ?
I've tried to do:
class Vehicule(object):
def _getSpatials(self):
pass
def _setSpatials(self, newSpatials):
pass
spatials = property(_getSpatials, _setSpatials)
class Car(Vehicule)
def _getSpatials(self):
spatials =... | stackexchange/codereview |
I've got a wpf listview doing the gridview thing and I was wondering how I could add an extra header row above the field's headers?
I need to do this because this gridview shows a LOT of columns, all somewhat related to processes in a warehouse environment. The extra header provides a quick "Visual Grouping" of which f... | stackexchange/codereview |
I am trying to isolate entries in a dataframe which share common values: see below to reconstruct a portion of my df:
Stand<-c("MY","MY","MY","MY","MY")
Plot<-c(12,12,12,12,12)
StumpNumber<-c(1,2,3,3,7)
TreeNumber<-c(1,2,3,4,8)
sample<-data.frame(Stand,Plot,StumpNumber,TreeNumber)
sample
And get an output that tells m... | stackexchange/codereview |
I have a flash app which will send/receive a constant stream of data.
the flash app should open a connection to the Java server, keep it open, and attempt to reconnect on socket failure.
Are there any good APIs that offer this functionality? Smartfox Server is one option, but if I had my way I'd embed an API in my app... | stackexchange/codereview |
If I leave out a file when checking in, or accidentally include a file I don't want in a check in, is there a way to modify the changeset that was created?
| stackexchange/codereview |
removeFromSuperview not working Properly?
I added one button over another button.
When i try to remove the latter button from the view using removeFromSuperview function call , it does not worked.
| stackexchange/codereview |
I am so confused...
SoundPool.play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate)
volume here is from 0.0 to 1.0
Tutorials I've seen recommend to calculate stream volume as:
AudioManager mgr = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE);
int streamVolume =... | stackexchange/codereview |
I'm creating some circles using Raphael. When a user clicks a button, I want to animate these circles (by growing their radius). How do I do this?
For example, here's my example code:
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="raphael.js">... | stackexchange/codereview |
I want to match nodes that don't have an empty value attribute (value!=""). Am I supposed to use :not(...) for this and if yes, how?
| stackexchange/codereview |
I have a computer with XP Pro, and want it to work with NET Framework 2.0 and later. However I'm unsure what to actually install..
Looking at this page for NET 2.0: http://msdn.microsoft.com/en-us/netframework/aa731542.aspx
Do I need to download both the redistributable version, and ALSO the 2.0 SP2 package?
Also th... | stackexchange/codereview |
I use celery to update RSS feeds in my news aggregation site. I use one @task for each feed, and things seem to work nicely.
There's a detail that I'm not sure to handle well though: all feeds are updated once every minute with a @periodic_task, but what if a feed is still updating from the last periodic task when a ne... | stackexchange/codereview |
I am trying to execute a namedquery
@NamedQuery(name="getEmployeeDetails",query="select e.username,e.email,e.image,e.firstname,e.lastname from Employee e where e.empid=?1")
Now when I execute this query in a EJB 3.0 Session Bean what is the object I should return.I tried returning Listits returning a Vector which cre... | stackexchange/codereview |
I am new to extJS, and trying to implement the following functionality:
I have two select drop down menus, transformed using extJS. How can I make sure that if a value in one combo box is selected, the other value should be set back to some default value?
Thanks.
Edited: Code till now:
Ext.onReady(function(){
var con... | stackexchange/codereview |
CCK's Number submodule provides two fields: decimal and float. Decimals are technically floats, so what is the difference between the two?
| stackexchange/codereview |
im using ftp4j to connect and download a file via ftp
The following works to save to the emulated sdcard.
try {
client.login(username, password);
client.download("test.jpg", new java.io.File("/sdcard/test.jpg"));
Toast.makeText(ftpactivity.this, "download complete",
... | stackexchange/codereview |
I'm looking for the right GPG Perl module to use for a small project. I see there are numerous competing modules providing almost identical functionality, but some have a slew of unaddressed bugs, haven't received an update in half a decade, etc. Is there a GPG module one should always use, or do I just need to bite th... | stackexchange/codereview |
I'm reading a data from file that is an array of NSDictionary. With each NSDictionary include a key with name "EnglishName" and a value is type of NSString. I'm get value of a NSDictionary, create new ViewController with initialization function likes : initWithName:[(NSDictionary*)oneObjectInArray objectForKey:@"Engli... | stackexchange/codereview |
I am using an the RSACryptoServiceProvider class in my application. To use the RSA encryption public key and private. This component is inside the Microsoft Library System.Security.Cryptography. However, I have a doubt. I will sell this product, so will I need any license from RSA?
| stackexchange/codereview |
I'm using the Hyper-V WMI Provider to import virtual machines in Hyper-V, specifically using the ImportVirtualSystemEx method of the Msvm_VirtualSystemManagementService class, largely using the C# code snippets provided by MS.
I need to create a snapshot immediately after import, using the CreateVirtualSystemSnapshot m... | stackexchange/codereview |
I am trying to sync a person record from my DB to mailchimp. I can update all fields except email. Email i can update only once. On updating again it throws an error. I am using their java API. This is what i am doing -
emailType = "";
replaceInterests = false;
mergeVars.put("EMAIL", rs.getString("email"));
Boolean... | stackexchange/codereview |
I am using Eclipse to develop an app engine application and when I want to deploy the app I obtain this error :
'Deploying APP_NAME to Google' has encountered a problem
An internal error occured during "Deploying APP_NAME to Google"
Details are :
An internal error occurred during: "Deploying APP_NAME to Google".
Rece... | stackexchange/codereview |
A common task in many programs is converting a byte count (such as from a drive capacity or file size), into a more human readable form. Consider 150000000000 bytes as being more readable as "150 GB", or "139.7 GiB".
Are there any libraries that contain functionality to perform these conversions? In Python? In C? In ps... | stackexchange/codereview |
Hey, guys, i am using opencv to do some vehicle recognition work, and when i use cvThershold to convert the gray image to binary image, the return image is really strange, the binary image supposes to have only two values,0 and 255, however, it contains other values like 2,3,254,253, anyone knows how this happens, and ... | stackexchange/codereview |
Someone I know went to an interview and was given the following problem to solve. I've thought about it for a few hours and believe that it's not possible to do without using some database-specific extensions or features from recent standards that don't have wide support yet.
I don't remember the story behind what is b... | stackexchange/codereview |
I have a JFrame.
I also have a Box class which extends Component.
This box class has a paint method which makes a filled rectangle.
When I add multiple of these Box components to my JFrame, only the most recently added one is displayed when I call repaint on the JFrame.
I took a look at the layout managers, but I am no... | stackexchange/codereview |
I would like to know what is the best way to get all the attributes of a class when I don't know the name of them.
Let's say I have:
#!/usr/bin/python2.4
class A(object):
outerA = "foobar outerA"
def __init__(self):
self.innerA = "foobar innerA"
class B(A):
outerB = "foobar outerB"
def __init_... | stackexchange/codereview |
Like a lot of businesses my employer is dealing with the new world of PCI compliance by avoiding the hard stuff and redirecting our customers to a third-party payment service. The process will entail the customer entering order details into our system but then being redirected to the merchant bank's payment service for... | stackexchange/codereview |
Possible Duplicates:
tortoise svn always merging 45 extra files
SVN Mergeinfo properties on paths other than the Working Copy root
Background:
I created a branch from trunk called release-v1.0. Then I continued work on trunk. After I updated and committed one file in trunk and I did a merge for that change only from... | stackexchange/codereview |
I have some html file with span elements:
<html>
<body>
<span class="one">Text</span>some text</br>
<span class="two">Привет</span>Текст на русском</br>
</body>
</html>
To get "some text" :
# -*- coding:cp1251 -*-
import lxml
from lxml import html
filename = "t.html"
fread = open(filename, 'r')
source = fread.read()
... | stackexchange/codereview |
From within Vimscript, how does one open a new split window and insert the contents of a variable?
I'm trying to write a script that applies a function to the current buffer and displays the result in a split window.
Thanks.
| stackexchange/codereview |
I am having a problem in writing the query for this. I have a q&a website where I want to find out the number of first answers by a user - for all the questions answered by a user, which answers were the first for the particular question.
I have two tables -
questions - id, question
answers - id, question_id, answeri... | stackexchange/codereview |
I am using Firebug to inspect the elements of a webpage. On the right hand of the page there is a "style" tab that list all the CSS styling for a given tag. These CSS styling are coming from a linked CSS page.
What I am looking to do is somehow copy a set of divs with the CSS hardcoded in the div. This way I can cop... | stackexchange/codereview |
I have a database of notes and lists, with three association tables.
Basically, lists are parents of notes and other lists, and notes can be parents of other notes in a outline like hierarchy.
I am using this query to return all notes within a list as well as the number of subnotes each note has.
SELECT count(n2.note... | stackexchange/codereview |
I am developing a web app that is being displayed in a UIWebView. The app is loaded locally, i.e, not from a web server. I am communicating from Javascript to ObjC via the shouldStartLoadWithRequest: method in the UIWebViewDelegate protocol.
The last thing I need is to be able to call Javascript functions from ObjC wi... | stackexchange/codereview |
I am completely new to Perl, like absolute newbie. I am trying to develop a system which reads a database and, according to the results, generates a queue which launches another script.
HERE is the source code.
Now the script works as expected, except I have noticed that it doesn't really do the threads parallel. Wheth... | stackexchange/codereview |
I'm working on a couple of CakePhp projects these days and I was wondering how I should document them. I'm used with ruby on rails where documenting is made easy with the help of the framework.
Is there anything like this in CakePhp? I'm looking at the documentation of the framework and I can't find anything about that... | stackexchange/codereview |
here is what happens after i press a button:
dataGridView1.DataSource = ConnectandReadList(some_query);
dataGridView1.Refresh();
please note that i am doing this with another control called chart1 and it works fine with it, it populates it with the new requeried data, but datagridview is just staying the same
... | stackexchange/codereview |
I'm a bit confused. What is the purpose of the parameters when you initiate an anonymous member pattern designated below:
(function (<ParameterA>) {
})(<ParameterB>);
I understand that Parameter A is used to designate the scope of the function is this true?
Is ParameterB where you export the function?
Finally, I o... | stackexchange/codereview |
I heard the best way to do this is using the map feature, could someone please explain how I should go about using it? I read what my book said about it, but I didn't really understand how to implement it.
I basically want something that will substitute every A in a list with a Z.
| stackexchange/codereview |
I have Bloodshed Dev C++ 4.9.9.2.
Every time I stop typing for a second this hint pops up and I can't see a thing what I'm typing! I have a feeling that it waits for a most unsuitable moment to pop up. Then it disappears in 2 secs, or, sometimes, whenever it wants.
Is there a way to disable it? (haven't found one in ... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.