instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have a JavaScript file where I would like to include some php code.
The problem is that I have a few defines on PHP that I would like to use on JS as well.
Is there any way of including a .js file in HTML allowing the server to first interpret it (before downloading to the client) using php?
Thanks :)
| stackexchange/codereview |
I need to create multiple search fields that each search different content in WordPress. I know about Search Everything, which is helpful with specifying what is searched, but doesn't allow multiple, unique instances with their own search parameters.
Any help is appreciated!
| stackexchange/codereview |
I have a dynamic page which has a parent div called 'divWiz' where I have to do the following:
count total div's inside 'divWiz' and hide 50% of them. For example: If I have 50 child div's inside divwiz, I want to show 25 and hide the rest.
At the end of the 25 div's, two links should appear that says 'Show Next' and... | stackexchange/codereview |
I'm running Matlab 7.8.0 under Windows.
I am calling an external utility using dos() which creates a file in the current directory.
I the file is created correctly, but it cannot be seen by exist or fopen, which return 0 and -1 respectively. The filename is correct!
>> pwd
ans =
I:\
>> ls
file1.asc file2.asc ... | stackexchange/codereview |
When I delete solr's index files on disk, (found in /solr/data/index and solr/data/spellchecker), solr throws an exception whenever I try to make a request to it:
java.lang.RuntimeException: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.NIOFSDirectory@/…/solr/data/index:
The only ... | stackexchange/codereview |
How to declare a function so Listn : ' ' a list -> ' ' a list -> bool, listn xs and ys return true.
Example: lisen [#"1" #"2"] , [#"1" "#3"] return false and [#"1" , #"2"] [#"2" , #"1"] return true
| stackexchange/codereview |
I am trying to get multiple rules to run during an upload validation. One validation is built in and one is custom. The custom one works fine however the built in one is not working. The custom one extension was working on another field earlier just fine. Do I have this setup correct?
var $validate = array(
... | stackexchange/codereview |
Is it possible to capture the form submit event when that event is triggered from another javascript library dynamically based on a button click event?
| stackexchange/codereview |
In some files I can see a commented line, usually the last, with vim settings. Does vim read these settings? If it does, are any limitations of what kind of settings man can put there?
| stackexchange/codereview |
I have an external library which has a method which performs a long running task on a background thread. When it's done it fires off a Completed event on the thread that kicked off the method (typically the UI thread). It looks like this:
public class Foo
{
public delegate void CompletedEventHandler(object sender,... | stackexchange/codereview |
We are currently using flvtool2 for flv video processing. I don't really know what it does, but i know we need the following command to run.
flvtool2 -U the_movie.flv
We are running into problems with large videos and have been searching for an alternative, and have found flvmeta, however it is not documented at all. W... | stackexchange/codereview |
Im inheriting from GridView control creating MyGridView class which has cs extension, not ascx. U put it in App_Code folder and in web config added:
<add tagPrefix="mgv" namespace="MyProject"/>
it works fine but when I wanted to convert it to web site project I have problem that it cannot find this reference
| stackexchange/codereview |
im doing an application that will use GPS in background mode, then i need that it works also when my phone is blocked and with black screen.
but i can't find any information about if gps is off when phone is blocked
can someone tell me please?
thanks
| stackexchange/codereview |
I'm having issues submitting an app to iTunes Connect using Organizer.
I build and archive my application successfully then go to Organizer. I successfully validate the application. I then click to submit the application to iTunes Connect. I get the dialog to choose signing certificate and the app that I am uploading.... | stackexchange/codereview |
I'm writing a simple atom XML parser with PHP
I have trouble displaying the proper content inside the <content> tag if there is additional HTML tag within.
Ex. If I want to parse the following XML
<entry>
<title>Test entry #3</title>
<id>http://example.org/article3</id>
<updated>2006-10-03T13:... | stackexchange/codereview |
I had a look at http://sharepoint.microsoft.com/blogs/GetThePoint/Lists/Posts/Post.aspx?ID=154 and I wonder if the running commentary on an item in that example is possible to have on other types lists?
It's SharePoint Online so we can't deploy custom code.
Thanks in advance.
| stackexchange/codereview |
I have to build a program that will allow me to track from a system different trigger points being hit.
When a trigger has been hit within another system a web service is called, this web service will log to a database the following:
Affiliate Id
Trigger Id
Reference Code
My program is to read this data and invoke a ... | stackexchange/codereview |
I am creating a simple application using jquery, in this application I can drag an element(DIV) along the document. I can place the DIV at any position in the document, If I place this DIV above another element how can I find out what is the ID of the element that is below the dragging object,
for example if I place th... | stackexchange/codereview |
According to the document, android.graphics.Color has a method called RGBToHSV which can convert RGB values to HSV, this is what the document tells me:
public static void RGBToHSV (int red, int green, int blue, float[] hsv)
Convert RGB components to HSV.
hsv[0] is Hue [0 .. 360)
hsv[1] is Saturation [0...1]
hsv[... | stackexchange/codereview |
I'm new to iPhone development. I'm building an app that loads data from a local sqlite3 DB in
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
When I tap the iPhone button and put it in the background and then I recall it I see (as normal) the app in t... | stackexchange/codereview |
When I change the:
list.selectedItem.name = 'name2'
then in my item renderer
the dataChange event is not fired!
and I can't update the label with the name property...
any help?
| stackexchange/codereview |
I want to return array of string from JNI to java(actully in android). How to do it?
| stackexchange/codereview |
Hi everybody I'm trying to fully understand WCF configuration options. There is a thing that I fully don't understand. Why should I say to the client and to the server that the MaxReceivedMessageSize is x KB?
I mean I have a service that exposes a set of fire-and-forget calls (no callback). Why should the client know h... | stackexchange/codereview |
I would like to use the Dismax query parser because it allows me to specify multiple default search fields (using the 'qf' parameter) as well as other nice features such as field boosting.
However, I want a query parser/scoring algorithm that takes the sum of all field scores, rather than just the max.
Is there a w... | stackexchange/codereview |
In a Flat File Source in SSIS I am trying to use the FileNameColumnName property (from Advanced Properties) to populate a field in a database. It seems quite straightforward - I simply gave it a name and mapped it to a field in my OLE DB. The problem is, however, that it DB field is populated with the letter 'C', and... | stackexchange/codereview |
I'm currently trying to output an image (chart generated with PHP).
After I get all the data I need I just output the image to disk with:
imagepng($img, "img/graf.png", 0);
imagedestroy($img);
Then I call the image on the page, but the browser uses always the cached image instead of the newly generated image.
So I am... | stackexchange/codereview |
I have to send mail before submitting my php page, I am submitting the page using javascript.
my mail script is in sendmails.php file. so can I send an ajax request to send mail before submitting the page using java script ? like follows
function submit_page()
{
//trying to run send_mail.php
............................. | stackexchange/codereview |
def foo(a, b, c = 0):
return a+b
I have dozens of functions like 'foo', which all have different argument numbers and names. Is there a common way that I can get the return values of these functions and do just a single extra operation like pformat to them?
Yes I can just generate a new function like the following... | stackexchange/codereview |
I have a page with 3 tabs on it. The first tab has a few cancel images with the class "cancelBtn".
<img src="images/cancel.gif" alt="Cancel Order" class="cancelBtn" id="49" />
The first time the page loads the click event fires fine, if I move away from the frist tab and return the click event doesn't fire. Each tim... | stackexchange/codereview |
I'm new to iphone development. I currently have an app on windows mobile that uses a local database on the device (sqlce) and the app is able to synchronize the data between the device and a remote database through a web service using microsoft sync framework.
Is this requirement feasible on an iphone app? Id like to ... | stackexchange/codereview |
Is it possible to authenticate users in Active Directory Server A, and then search for users in Active Directory Server B using java? These servers are configured to be 2-way trusted.
The above code fails. I can authenticate in server A perfectly fine, but when I start searching for users in B, it returns nothing
H... | stackexchange/codereview |
My website allows users to upload their photos
Can I put kb/sec (or similar) limit on uploads to prevent them impacting performance of the frontend of my site?
| stackexchange/codereview |
I have an app.config file for a windows service which includes database connection strings and appsettings. when I install the windows service, it gets installed in "C:\program files\" folder and the settings are copied to a file called ".exe.config" in the same folder, which makes it difficult to change the settings a... | stackexchange/codereview |
Imagine this scenario:
I made a small application in Python for Google App Engine for general use.
Users can login to my app, update their profile, change address and change the picture among many other things.
A user can export the models to PDF, YAML and JSON, save the file on his computer.
You can download any ... | stackexchange/codereview |
I am using jQuery and a plugin called Galleriffic to display some images and text on a website I am developing. I have only tweaked the CSS (size and color mostly) to fit my page, but for some reason the text that displays for the next image you click appears below the current text then when the old text fades, it slid... | stackexchange/codereview |
I want to use a background image to highlight text in a paragraph. I do not want to use the background-color property for this as I want an image that look more like it was hand highlighted. How can I do this INLINE? I seem to only be able to do it as a block element and then the text breaks to its own line. I need it ... | stackexchange/codereview |
Is there a way to return or load the calendar by an get URL. Something like calendar.php?gotoDate=2010-10-21 ?
Many Thanks!
Edits go here (not in answers or comments):
Oops! I'm sorry: http://arshaw.com/fullcalendar/
| stackexchange/codereview |
I'm setting up a data model in django using multiple-table inheritance (MTI) like this:
class Metric(models.Model):
account = models.ForeignKey(Account)
date = models.DateField()
value = models.FloatField()
calculation_in_progress = models.BooleanField()
type = models.CharField( max_length=20, choic... | stackexchange/codereview |
For a shopping cart page, the list of items is displayed in a html table.
I use a ListView for that and it works great.
When the cart is empty, the text 'This cart is empty' appears. But it only renders the code in the EmptyDataTemplate. My goal is to display the table headers ('delete', 'product', 'quantity', etc.) wi... | stackexchange/codereview |
Does someone know how the inactive done button in the Contacts App is done?
I would like to implement something similar.
So far I haven't seen any inactive property on UIBarButtonItem...
| stackexchange/codereview |
When I hold my mouse over <%@ Page I get this error
and it seems like it tries to load a file/assembly that is no longer valid. How could I fix this?
| stackexchange/codereview |
session[:message] = nil
Is this is the best way to destroy a session variable.
Note: I don't want to clear all the session variables like reset_session does.
| stackexchange/codereview |
{Zend_Search_Lucene_Exception} Index is under processing now
This is what i get in my error log which makes crash the 50% of my website.
What should i do to fix that please ?
Thanks
| stackexchange/codereview |
my code :
region check what Login button do
private void btnLogin_Click(object sender, EventArgs e)
{
if (this.txtUserName.Text == "" || this.txtPassword.Text == "")
{
MessageBox.Show("Credentials are missing...", clsVariables._strProjectName, MessageBoxButtons.OK, MessageBoxIcon.Err... | stackexchange/codereview |
Is it possible to instantiate an object of a class even before main() executes? If yes, how do I do so?
| stackexchange/codereview |
I don't understand how to use this attribute. Can anyone tell me more about it?
| stackexchange/codereview |
I'm using SDL_Image to display a JPEG on screen and having some issues with the resolution it's being displayed at.
I understand that if I pass 0 to width, height and bits when calling SDL_SetVideoMode that SDL takes the current modes values, however these seem to be wrong in my case.
I'm running this on an embedded li... | stackexchange/codereview |
I have two subplots. One is 3D and rotation is useful, but the 2nd is 2D and I keep accidentally rotating it which is really annoying. Is it possible to only allow rotation of one subplot?
| stackexchange/codereview |
I am attempting to add a PowerShell cmdlet as an external tool in Visual Studio 2010, but whenever I call the external tool I get:
{foo} cannot be loaded because the
execution of scripts is disabled on
this system. Please see "get-help
about_signing" for more details.
I have already set my system's execution po... | stackexchange/codereview |
I'm stuck trying to get SSIS 2008 to read an Excel file.
Yesterday, I migrated our SSIS project from 2005 to 2008, and though the upgrade said it worked, I cannot get it to read an Excel file. I read online that I needed to upgrade the JET drivers to Office 2007 (AccessDatabaseEngine.exe), which I did. And voila! Ev... | stackexchange/codereview |
As we all know, in Visual Studio there are two predefined configurations - Debug and Release. I have been using them since I started programming and soon learnt their differences. However recently I had to create my own configurations and now I have a question: Are those two configurations defined/determined solely by ... | stackexchange/codereview |
I want to reload window after a this custom function finishes:
<script type="text/javascript">
$(document).ready(function(){
setTimeout(function () {
$('#order_form').dolPopupHide({});
}, 3000);
//window.location.reload();
});
</script>
Is there a way I can add the reload to the setTimeout function... | stackexchange/codereview |
I'm currently working my way through the MVC Music Store tutorial. I'm stuck on page 53 at the moment and I was wondering if someone could help me out.
I'm currently receiving the following two errors:
'object' does not contain a definition for 'Artists'
'object' does not contain a definition
for 'Genres'
I think... | stackexchange/codereview |
I would like to know in order to use the Report Builder at the user system, What kind of licencing model we require, If we have one SSRS server (SQL Server licence) and all the users can download report builder?
What is the licencing model to use the Report Builder? It is SQL 2008
| stackexchange/codereview |
Using {{today|time:"TIME_FORMAT"}} correctly localises times when I switch languages in my Django 1.2.3 project. E.g. for English I see "12:19 a.m." and when I switch to German it changes to "12:19:25".
As far as I can tell from looking at the docs and code (defaultfilters.py and formats.py) just using {{today:time}} s... | stackexchange/codereview |
I'm trying something really simple: get a list of player urls from the youtube gdata module,
def getlist():
index = 1
prev = 0
urls = []
while True:
uri = "http://gdata.youtube.com/feeds/api/playlists/E005D335B57338D1?start-index=%i&max-results=50" % index
feed = yt_service.GetYouTubeVideoFeed(uri)
... | stackexchange/codereview |
I've used fabs before which makes passed values positive, but I need a function which will make number negative ??
| stackexchange/codereview |
I was wondering why this works:
sys.path.append('/home/user/django')
sys.path.append('/home/user/django/mysite')
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
but this doesn't?
sys.path.append('/home/user/django')
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
I thought that adding the django f... | stackexchange/codereview |
I would like to draw a transparent TMetaFile on a Canvas, used for print watermark.
The problem is AlphaBlend function won't recognize TMetaFile.Handle as source as it expects canvas handle.
I created a 32bit bitmap with transparency but drawing on it will force white background thus on Canvas you can see an alpha blen... | stackexchange/codereview |
I am puzzled by the expression
#[nil "\300\207"
[nil]
1]
as a value of skeleton-pair-filter-function.
Is this an alternative way of writing function in elisp? Or lisp in general?
Thanks.
| stackexchange/codereview |
When I want to change the state of radiobuttons using AJAX, I discovered that it is necessary to set the state of each radiobutton explicitly, rather than just setting Checked = true on the one that you want to have enabled. If I remove the marked lines below, I can perhaps change the radiobuttons state once or twice u... | stackexchange/codereview |
I am trying to create a spot the ball game, so it will (eventually) be an image of a player kicking a ball but the ball has been removed and the player needs to click where the ball should be.
The first version went well and works.
http://enjoythespace.com/sites/game/test.html
But what I need to add is some sort of zoo... | stackexchange/codereview |
While working on a Pylons app, I accidentally typed
python setup.py install
in the home directory of a project, instead of what I meant to type, namely
python setup.py egg_info
Oops. It looks like the Pylons app has now been installed as a Python package. Whenever I make changes to the project, they don't get propag... | stackexchange/codereview |
I want to use a very large segmentedcontrol component so I had the idea to make it in a uiscrollview ..so by scrolling horizontally user can choose the appropriate item.
I wrote this code:
CGRect rect = [[UIScreen mainScreen] applicationFrame];
CGRect frame = CGRectMake(rect.origin.x + kLeftMargin, rect.size.height - k... | stackexchange/codereview |
How can I rename a setup file in ClickOnce, from setup.exe to myapp.exe?
| stackexchange/codereview |
I'm building a custom slot machine with a column that exists of a uitableview.
When the user pulls a lever the tableview should scroll to a certain position with an index.
I used the method:
- scrollToRowAtIndexPath:atScrollPosition:animated:
But this method will make the table scroll with a constant duration. So you ... | stackexchange/codereview |
In the answer to this question, Ry4an states that "you cannot push Changeset2 without pushing Changeset1".
This certainly makes sense if the repository looks like this:
+ Changeset2
|
+ Changeset1
|
+ Original
However it doesn't seem to make as much sense in the following scenario, which is what I currently have:
+ Ch... | stackexchange/codereview |
I'm trying to write some unit tests for my NetBeans module, but i'm unable to get an instance of the FileObject class:
@Before
public void setup() throws URISyntaxException{
URL url = this.getClass().getResource("/project-template/");
file = new File(url.toURI());
}
@Test
public ... | stackexchange/codereview |
I'm trying to use a method group in a lambda expression, like this:
public class Foo { public void Hello(string s) { } }
void Test()
{
// this works as long as Hello has a void return type
Func<Foo, Action<string>> a = foo => foo.Hello;
}
When I change the return type of Hello to int, however, I get
'Bar.Hel... | stackexchange/codereview |
SELECT p.id, p.title, p.uri, 'post' AS search_type
FROM `posts` AS p
WHERE title LIKE "%logo%"
UNION ALL
SELECT p.id, p.title, p.uri, 'tag' AS search_type
FROM posts AS p
INNER JOIN post_tags AS pt ON pt.post_id = p.id
INNER JOIN tags AS t ON pt.tag_id = t.id
WHERE t.title LIKE "%logo%"
UNION ALL
SELECT p.id,... | stackexchange/codereview |
I came across a Gem that had a nice way of releasing certain features to a subset of your users. I believe it even had cucumber integration, so you could write tests for different sets of users. If someone knows the name, I would really appreciate it!
| stackexchange/codereview |
In Expression Blend 4 (Silverlight project) I have a UserControl to which I have added a CLR property. This property is an enum type, which is defined within the UC. I have attached a ChangePropertyAction behaviour to an instance of the UC. However, the XAML parser gives the following error (among others):
'+' is not ... | stackexchange/codereview |
I'm trying to slightly modify a wordpress template. At the moment a function returns a link to an article, I am trying to replace this link so that instead of diverting you to another page it just brings the article in and loads it.
To do this I need to reset the anchors href after the page has loaded.
This is the bit... | stackexchange/codereview |
After an unexpected shutdown, now git seemingly works fine but each time is run is asking for compression since it finds 256 loose objects. Is it possible to be cleaned?
| stackexchange/codereview |
I have a list of character that display fine in WebBrowser in the form of encoded characters such as € ...
But when posting these characters onto server to I realized that HttpUtility.HtmlDecode cannot convert them to characters as browser did, they all become space.
text = System.Web.HttpUtility.HtmlDecode("€")... | stackexchange/codereview |
Hi I am trying to build an application which has models resembling something like the below ones:-(While it would be easy to merge the two models into one and use them , but that is not feasible in the actual app)
class User(db.Model):
username=db.StringProperty()
email=db.StringProperty()
class UserLikes(db... | stackexchange/codereview |
Is the following java implementation of the visitor pattern using generics, general enough to be useful? (I suppose it is).
Could it be improved in some way? It's important to be easily call-able using anonymous classes. Thanks.
(Example of use):
Vector<Number> numbers = new Vector<Number>();
numbers.add(new ... | stackexchange/codereview |
So I have a bit of script at the bottom of my page //RETAINER CURRENT that is supposed to hide and show content based on what menu item the user selects in the maincontent area. Unfortunately in IE7 all layers are rendered which means the videos in each layer play simultaneous. I tried .detach, .remove, methods and had... | stackexchange/codereview |
I am making an application to change the the resolution of that game, to the requested resolution.
StreamReader reader = new StreamReader(@"C:\Documents and Settings\ARTech\Bureaublad\PersistentSymbols.ini");//Reads the file.
string content = reader.ReadToEnd();//Puts the content of the file, into a variable.
reader.Cl... | stackexchange/codereview |
I am currently stumbled into this problem and I'd love to hear some suggestions from you.
I have a C++ program that uses a precompiled library to make some queries to PostgreSQL database. Now the problem is I want to find out the total (combined) cpu time it takes to do all routines described in the source code of the ... | stackexchange/codereview |
I am trying to solve this problem: Search multiple list for missing entries. I used a multimap for duplication of keys. Here is my code:
#include <iostream>
#include <map>
#include <list>
#include <utility>
using namespace std;
int main(){
list<char>a;
list<int> b;
multimap<char,int>s;
a.push_back('A')... | stackexchange/codereview |
I have following fields in my csv
store
websites
attribute_set
type
category_ids
sku
has_options
name
meta_title
meta_description
image
small_image
thumbnail
url_key
url_path
custom_design
page_layout
options_container
gift_message_available
size
caseprice
newbrand
weight
price
special_price
cost
status
tax_class_id
is... | stackexchange/codereview |
I have custom NAnt task for test purposes and I would like to cancel NAnt build process if the task is failed.
I have created custom ErrorTask:
[NAnt.Core.Attributes.TaskName("errorTask")]
public class ErrorTask : NAnt.Core.Task
{
public ErrorTask()
{
FailOnError = true;
}
protected override vo... | stackexchange/codereview |
in my OpenGL type of iphone app, I have this method below in the GLView implementation.
i noticed everytime i started up the app during development that the last frame that was present when i shut the app down the last time, would draw first before the app started its animation...
but when i commented out this method... | stackexchange/codereview |
i have a question for you
this is the xhtml
<div id="main">
<div id="category1">
<div id="product1"></div>
<div id="product2"></div>
<div id="product3"></div>
</div>
<div id="category2">
<div id="product4"></div>
<div id="product5"></div>
<div id="product6"><... | stackexchange/codereview |
I have a WPF combobox bound to a list of items with long descriptions.
The type bound to the ComboBox has both short and long description as properties. Currently, I am binding to the full description.
comboBox.DisplayMemberPath = "FullDescription";
How to ensure that when the item is selected and displayed as a singl... | stackexchange/codereview |
I am an experienced software developer in other less common technologies, and now need to ramp up C# skills with VS2010. As an experienced developer, I understand the syntax and language of C# quite quickly.
However, developing windows and web applications with C# is somewhat foreign to me. Can someone please recommen... | stackexchange/codereview |
My local Sitecore CMS 6.2.0.3322 has stopped working. I can no longer start up a local debug build and attach it to IIS or WebDev.WebServer20.exe (The VS2010 built in web server).
When I start with WebDev I'm seeing the following message appear in the debug output window a couple of times a second:
A first chance exce... | stackexchange/codereview |
hey guys , im dealing with a script that it should compress and folder and make it ready in 3 versions :
7z
zip
tar.gz
surely i did found a way on how to make a zip file out of a folder in php by using a zip compression class
http://www.phpclasses.org/package/2322-PHP-Create-ZIP-file-archives-and-serve-for-download... | stackexchange/codereview |
I am hoping to use PyQt to produce an application that will display an equation entered by the user. I had considered matplotlib, but this seems like overkill as I would only be using it to render the latex.
I need to use SymPy anyway, so I was hoping there would be a way to use it to do the rendering also, preferably ... | stackexchange/codereview |
I want following task to be done in Python without importing any modules.
My Code consists
Two List
---------
list1=['aun','2ab','acd','3aa']
list2=['ca3','ba2','dca','aa3']
Function
---------
Where it will:
Generates 2 items combination from list1
Generates 2 items combination from list2
Generates 2 items combinati... | stackexchange/codereview |
I'd like to do something different depending on field name in my loop. My code dynamically produces a html table based on the fields used in the sql query. I'd like to produce a link to a certain page if the field in the loop is the primary key... Any ideas ?
I've marked where I need to get the field name with HERE.
... | stackexchange/codereview |
In C++, what's the difference between
char *a = new char[10];
and
char *a = new char(10);
Thanks!
| stackexchange/codereview |
Since upgrading to final 9.0 postgresql latest sql-assistant (5.1.10) doesn't work with pgAdmin 1.12.0 Any ideas why so? Or anybody knows any similar to sql-assistant software to work with postgresql 9.0?
| stackexchange/codereview |
Hey all. I've got the following set of tables which is variable and adds up every day:
data-2010-10-10
data-2010-10-11
data-2010-10-12
data-2010-10-13
And so on. All the tables have the same structure and what I'd like to do is select stuff from all tables at once. I'm unable to use a MERGE table since I'm running Inn... | stackexchange/codereview |
How when I click my datagridview command is run?
Int64 sum = 0;
foreach (DataGridViewRow dr in dg_Cheque.Rows)
{
if (Convert.ToBoolean(dr.Cells["True_False"].Value) == true) //Cells[0] Because in cell 0th cell we have added checkbox
{
sum +=Convert.ToInt... | stackexchange/codereview |
I Have a small problem with NSCoding and NSKeyedArchiver when persisting my App Settings class and was hoping someone could spot an issue if it's my code, I am relatively new to Obj-C but have plenty of coding experience in numerous languages so the code seems ok to me but...
I have an instance class to hold my app Set... | stackexchange/codereview |
Not sure if this is an appropriate "programming" issue but its relevant.
Is there a way via SQL or excel even to add quotes to a big number of values, for example i want to add values a,b,c,d,e,f,g,j etc etc to a table is there a way i can automatically add quotes to them? as in 'a','b' etc...
i have this issue espe... | stackexchange/codereview |
suppose I have the following tables
sqlite> SELECT * FROM Artists;
ArtistID|ArtistName
1 |Peter Gabriel
2 |Bruce Hornsby
3 |Lyle Lovett
4 |Beach Boys
5 |Supernatural
sqlite> SELECT * FROM CDs;
CDID|ArtistID|Title |Date
1 |1 |So |1984
2 |1 |Us ... | stackexchange/codereview |
Are there any chat filters that works depending on the context? I'm talking about the use of new technologies like Artificial Intelligence and Natural Language Processing to determine for example if a word was rude or not, depending on the context.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.