instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I would like to create an Options Menu in my Flash AIR application for Android.
I've figured out already, that this ActionScript code could be used for capturing the hardware Menu button press event:
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
function onKeyDown(event:KeyboardEvent):void {
if(event... | stackexchange/codereview |
Dear all,
I'm trying to run the tests I developed with MbUnit v2 under Gallio. All from inside a NAnt script that is started via TeamCity (actually the CodeBetter installation of TeamCity).
The tests run on my local machine inside the GUI Gallio Runner named Icarus, but not when the runner is in Local mode, only if I s... | stackexchange/codereview |
I add iframe from external site to mine like this:
<iframe src="http://site.com/page/"></iframe>
It has some own css and javascript files.
How can I add my own css styles to this iframe?
| stackexchange/codereview |
I want to write a tiny custom firewall for windows, in python. I would be very glad if someone can point me in the right direction to achieve this. I would like to have block/unblock IP and Port.
| stackexchange/codereview |
At the moment I'm working with a team on a Play! Framework app. With the next user story, I have to implement some different file modifications, such as moving a file to a defined directory.
Because we are working on different platforms, I'm not always really sure if the app has the right path. So I want to work with a... | stackexchange/codereview |
It appears that on a particular system, dbghelp.dll is being loaded into all processes. Since I believe this to not be normal behavior, I am guessing that it is being injected by some other application. Is there a way to track down which app is doing this? The actual problem is that this injection is causing the sys... | stackexchange/codereview |
I have a MySQL database table with 2 fields - username and score. I want the result of a mysql select query to show the score of someone with a particular username. How would I do this?
Here is the current code: mysql_result($result, 0)
Is there any way that I can make the person's username act as a row name/number? ... | stackexchange/codereview |
I want to declare multiple variables in a function:
function foo() {
var src_arr = new Array();
var caption_arr = new Array();
var fav_arr = new Array();
var hidden_arr = new Array();
}
Is this the correct way to do this?
var src_arr = caption_arr = fav_arr = hidden_arr = new Array();
| stackexchange/codereview |
I'm looking to copy the look and functionality of the 'day view' navigation controller from iphone calendar in my own app. It's the control right under the navigation bar that lets you move to the previous and next days.
Is this built as a custom control? If so how do I create it in code with a left arrow (button), 2... | stackexchange/codereview |
I have SQL Server 2008 installed, but I'm not sure what license was installed. Is there an easy way to find this out?
| stackexchange/codereview |
I need to check every script tag's src value and if there is a match, I would like to change that script tags src attribute... Something like this:
var scripts = document.getElementsByTagName("script")[0].src
for (i=0;i<scripts.length;i++){
if(scripts[i] == "something.js"){
document.getElementsByTagName("script"... | stackexchange/codereview |
I just downloaded the original Python interpreter from Python's site. I just want to learn this language but to start with, I want to write Windows-based standalone applications that are powered by any RDBMS. I want to bundle it like any typical Windows setup.
I searched old posts on SO and found guys suggesting wxPyth... | stackexchange/codereview |
I'm attempting to do some calculations for a "running total", this is my code:
$('.quantity_input').live('change',function(){
var ValOne = parseFloat($(this).val());
var ValTwo = parseFloat($(".price").text())
var totalTotal = ((ValOne) * (ValTwo)); ... | stackexchange/codereview |
We are currently using Subversion for our version control software, and we have a license for TFS because we have MSDN.
I'm wondering if there is any tool that integrates TFS bug tracking with Subversion source control.
Thanks.
| stackexchange/codereview |
Hi
Can anyone suggest me a good audio player for embedding in the websites?
I need a simple auio player for the website with play and pause option and with the option to download the music thats playing.
Thanks
| stackexchange/codereview |
I want to understand the difference between composition and aggregation relationship.
Does anyone know a site that explains the UML class diagrams for all relationships?
| stackexchange/codereview |
Is there any stream that relies on Connectionless protocols like UDP?
| stackexchange/codereview |
How can I print all rows after matching pattern in nth row, but ignore all before matched row including the matching row, here is an example :
row1 something in this row
row2 something in this row
row3 something in this row
row4 don't need to match the whole line, something like java String.contains()
row5 something in... | stackexchange/codereview |
I need to detect if the browser is being closed using jQuery, and do an event if this is true. I have a chat feature on my website (much like Facebook) that keeps the user logged in as they navigate to other pages within the website structure but needs to log them out of chat (so they do not appear online to others) i... | stackexchange/codereview |
I think I might already understand how this works, but wanted to be sure.
I am in the process of defining the routes for a new ASP.NET MVC application. I'd like to create short permalinks similar to Stack Overflow's short permalink to this question:
Create short permalinks similar to Stack Overflow's "short permalink... | stackexchange/codereview |
I have two different applications loaded into different frames.
I need them to communicate
I know that javascript security model does not allow frames loaded from different domains to communicate
but since I control both applications maybe there is a way to allow frames loaded from specific another domain to communicat... | stackexchange/codereview |
I was trying to join elements of a Perl array.
@array=('a','b','c','d','e');
$string=join(']',@array);
will give me
$string="a]b]c]d]e";
Is there anyway I can quickly get
$string="[a][b][c][d][e]";
?
| stackexchange/codereview |
I have a javascript object in a dictionary that looks like this:
{ date: "2010/01",
San_Francisco201001: 1,
San_Francisco201002: 2,
San_Francisco201003: 3,
},
{ date: "2010/02",
San_Francisco201001: 0,
San_Francisco201002: 1,
San_Francisco201003: 2,
}
And would like to find
{ date: "2010/01", sum: 6, ), { date: "2010/... | stackexchange/codereview |
module ApplicationHelper
def title(page_title, show_title = true)
content_for(:title) do
page_title.to_s
end
@show_title = show_title
end
end
Anyone knows how can I test this helper using test unit?
| stackexchange/codereview |
The RVM homepage
http://rvm.io/
recommends people install RVM using
bash < <( curl http://rvm.io/releases/rvm-install-head )
What is this syntax? command <( another_command)
Can't the original line be? curl http://rvm.io/releases/rvm-install-head | bash
| stackexchange/codereview |
just a quick one here but only for jQuery experts.
What would be the best way to have the jQuery accordion always open the header which holds the link to page the user currently is on?
Current code:
$(function () {
$('ul.drawers').accordion({
header: 'H2.drawer-handle',
selectedClass: ... | stackexchange/codereview |
I should find out an index of an item from a list of words.
The function:
def index(lst_words, word):
should return the index of word in lst_words.
e.g.
>>> index (['how, 'to', 'find'], ['how'])
shoud return 0
why this one doesn't work for me?
def index (lst_words, word):
find = lst_words.index(word)
return ... | stackexchange/codereview |
I have a folder in which all asp files are protected by including validate.asp (which presents a login if the session is not validated and ends the response, otherwise it allows the page to display.
How can I protect non-asp content?
The Site is running under Windows 2003 Server with IIS 6.0
| stackexchange/codereview |
I would like your opinion about these two frameworks. I like a lot the features of ExtJS, but recently I saw SmartClient and it seems to be great too, and free (its Client side features) for commercial projects. I tried a little of SmartClient and it seems to be easier than ExtJS, and it has a better documentation tnan... | stackexchange/codereview |
I am trying to get java to display the middle digit of a 1-4 digit integer, and if the integer has an even number of digits i would get it to display that there is no middle digit.
I can get the program to take get the integer from the user but am pretty clueless as how to get it to pick out the middle digit or differe... | stackexchange/codereview |
I'm using Windows XP with installed Mercurial TortoiseHg on it. Now I need to install the external activity extension. I downloaded the extension and enabled it in hgrc.
When I'm try to call it using command:
hg activity
I receive the following error:
There are 292 changesets
Hg activity options: you need matplotlib i... | stackexchange/codereview |
I'm trying to decipher the meaning on the P1...P10 parameters associated with a clr20r3 that is written to the event log when my application experiences an exception.
The best I've been able to find is:
P1: the hosting process (e.g. w3wp.exe)
P2: the hosting process version (e.g. 6.0.3790.1830)
P3: ??? (e.g. 42435be1)... | stackexchange/codereview |
I want to preface this by saying that this is a homework assignment.
I am given a set of Q binary input variables that will be used to classify output of Y which is also binary.
The first part of the question is: at most how many examples do I need to enumarate all possibile combinations of Q? I am currently think... | stackexchange/codereview |
So I have an NSDictionary where one of the keys is an array of dictionaries. The class I'm mapping to has matching key names and setters. Can setValuesForKeysWithDictionary fill the sub-dictionaries for me? When I tried it, it seemed like it filled the objects with pointer junk or something, but I'm a newbe, so maybe I... | stackexchange/codereview |
I have a custom control that i have derived from the Control class. I want this custom control to have visual states. How do i define these states through Blend? If i have a user control or some other inbuilt control it's very easy to do so. But how can i define visual states for custom control. I want to use Blend onl... | stackexchange/codereview |
I am having trouble setting a orthographical projection matrix of dimensions 4x2 with (0,0) being in the center, (-2, -1) being at the bottom left corner, and (2, 1) being at the top right corner.
I use glutInitWindowSize(600, 300); to initialize the window size.
In my reshape function, I use glViewport(0, 0, w, h); to... | stackexchange/codereview |
I read sal.h, which is in VS2010, today.
I was a little surprised.
// This section contains the deprecated annotations
|------------|------------|---------|--------|----------|----------|---------------|
| Level | Usage | Size | Output | NullTerm | Optional | Parameters |
|------------|------------|----... | stackexchange/codereview |
I got a stupid question on ListView Control usage.
I created a Windows Form App in VS2005. No I dragged a ListView Control from the toolbox. I want to implement my code to show some content(including both columns and rows).
I know a little of MFC knowledge. I am not sure I must study the past MFC CListCtrol knowledge ... | stackexchange/codereview |
I know that we have 10 seconds to handle an intent; otherwise, watch dog timer will kick in. And its suppose be a light-weight function. So my question is, does the BroadcastReceiver run in the same process as your root activity? Or does it run on Zygote system process?
| stackexchange/codereview |
I am a beginner to SharePoint development.
I am adding a webpart to a list page. How can I get the name of the list in the webpart?
| stackexchange/codereview |
I'm a bit worried about performance issue when calling RegEx.Replace to really big amount of strings since i have no idea what it does if there's no matches.
public static void ReplaceOldWithNew(ref string input)
{
string pattern = //something here
input = Regex.Replace(input, pattern, FormatReplacement);
}
p... | stackexchange/codereview |
I know I can use ColdFusion cache APIs to clear data as such:
<cfset cacheName = "custom">
<cfset ids = cacheGetAllIds(cacheName)>
<cfset cacheRemove(arrayToList(ids), false, cacheName)>
But in practice retrieving all the ids (i.e. cacheGetAllIds()) to do the deletion is slow (e.g. seconds). Where I'm thinking there s... | stackexchange/codereview |
I have a table called "users" and each user can belong to one group, described in a table called "categories". An example of the usage is "Alice belongs to the Red category" and "Bob belongs to the Blue category" etc.
I'm using CakePHP's form helper, and in the page http://localhost/users/edit/[user_id] it has made a d... | stackexchange/codereview |
I'm writing a Python client+server that uses gevent.socket for communication. Are there any good ways of testing the socket-level operation of the code (for example, verifying that SSL connections with an invalid certificate will be rejected)? Or is it simplest to just spawn a real server?
Edit: I don't believe that "n... | stackexchange/codereview |
I have created a lamp bitnami server on Amazon. I was wondering how to enable mod_rewrite on it?
This is the server that I have http://bitnami.org/stack/lampstack
I have tried installing "sudo apt-get install apache2.2-common"
then running "sudo a2enmod rewrite" and then editing "/etc/apache2/sites-available/default"... | stackexchange/codereview |
I'm having a problem with file uploading. I'm using FastCGI on Apache2 (unix) to run a WSGI-compliant application. File uploads, in the form of images, are begin saved in a MySQL database. However, larger images are being truncated at 65535 bytes. As far as I can tell, nothing should be limiting the size of the files a... | stackexchange/codereview |
Example
class Base():
pass
class A(Base)
parent=models.Foreignkey("self", limit_choices_to=(all members of the B class)
class B(Base)
parent=models.Foreignkey("self", limit_choices_to=(all members of the A class)
What would be the query syntax for limit_choices_to, to get only the
objects of a certain class?)
| stackexchange/codereview |
I am working on a browser based application in which I will get an image. I will have to find the background and remove it if the background is simple. Like if the background is a solid color or gradient. I am considering two options -- 1) using html5 canvas 2) taking the image to the server and remove background using... | stackexchange/codereview |
I have a list of lists of integers:
(setq a '(21 14 35 29 16 28))
(setq b '(15 36 21 17 45 41))
(setq c '(24 21 35 28 17 21))
There could be 50 +/- lists total.
I have another list:
(setq me '(17 14 31 21 17 28))
I want to cycle through the initial list of lists and subtract each member of list a (1st time thru) fro... | stackexchange/codereview |
I have a Problem and a Solution model. Problem has many solutions and Solution belongs to problem.
I need to get the recently solved problem, that means, get the last X solutions and get it's problem. I'm pretty sure there's a way to do this with named_scopes but I can't figure it out.
Any help is really appreciated :-... | stackexchange/codereview |
I've been trying to nest sets within sets but to no avail.
This concept comes from, photoshop, where you can group elements into a folder/set, and nest them into another folder/set.
I'm trying to combine two or more sets into one easily, so I don't have to manually take everything apart to integrate the code again.
Thi... | stackexchange/codereview |
Im using routes.add instead of routes.maproute (which has a namespace arg)
because I extended the Route Class.
I need to add namespace on the routes because one of my Areas has the same controller name
within the site.
My problem is I dont know where to put the namespace..
public class CultureRoute : Route
{
pu... | stackexchange/codereview |
hi I have this error in both eclipse and netbeans, I have mydynamiclib.so file when i add it to eclipse or netbeans and try to build i get the this error netbeans:
collect2: ld returned 1 exit status
make[2]: * [dist/Debug/GNU-Linux-x86/myapp] Error 1
/usr/bin/ld: cannot find -lmydynamiclib
I'm using most recent ver... | stackexchange/codereview |
I'm working on a project and I need to do a lot of screen scraping to get a lot of data as fast as possible. I'm wondering if anyone knows of any good API's or resources to help me out.
I'm using java, by the way.
Here's what my workflow has been so far:
Connect to a website (using HTTPComponents from Apache)
Website... | stackexchange/codereview |
I've got a Flex 3 project.
Does deep linking only work on viewStacks? (My project doesn't have any viewStacks). I'd like to use deeplinking based on what was selected in a comboBox. I'd like the user to be able to bookmark or use the back button based on what was selected in the comboBox.
The comboBox selection determ... | stackexchange/codereview |
i'm trying to build a general purpose template function which should function with 2 different type of structure i'll write an example
struct sa {
int a;
int b;
char d;
}
struct sb {
int a;
int b;
int c;
}
template < class T>
void f_print(T & s_passed, bool s_typeB){
std::cout << s_passed.a << endl ;
std::cout << s_pa... | stackexchange/codereview |
I'm trying to hide the axis labels on the first subplot at 211.
I'd like to label the figure, not just a subplot (reference: "Isub Event Characteristics").
How can I control font properties like size, font, color?
f = Figure()
vdsvgsPlot = f.add_subplot(211)
vdsvgsPlot.plot(theLister()[3],theLister()[0])
vdsvgsPlot.pl... | stackexchange/codereview |
I need a function which receives [NSDate date] and a string @"2010-11-12" and returns the amount of days between those two dates.
More explanation:
I need to store a date from a server in the format @"2010-11-12" in my NSUserdefaults. The meaning of this date is the expireDate of a feature in an iPhone App. Every time ... | stackexchange/codereview |
I am working at an app that causes lots of browser reflows. Performance is a key issue here. From the performance point of view Is it better to use a CSS3 gradient or an image gradient for some DOM elements? Does a page that uses CSS text shadows and gradients will have a slower reflow as a page that uses images to ach... | stackexchange/codereview |
HI, guys,
I am developing a GUI with python 2.4.3 and wxpython. Everything works fine except when I exit main program(close the main window of GUI). The wierd thing is that sometimes there is such error, sometimes there is no error at all. Although I found the same error reports from the python mailing list(the link i... | stackexchange/codereview |
Hay, i have a database holding events. There are 2 fields 'start' and 'end', these contain timestamps. When an admin enters these dates, they only have the ability to set the day,month,year. So we are only dealing with stamps containing days,months,years, not hours,minutes,seconds (hours,minutes and seconds are set to ... | stackexchange/codereview |
Is it possible to split a string twice with regex? For example, say I have the string:
example=email@address.com|fname|lname
how can I split to the result is:
email@address.com,fname,lname
thanks...
| stackexchange/codereview |
Error 7 The type or namespace name
'SampleMain' does not exist in the
namespace
'System.Windows.Forms.DataVisualization.Charting.Utilities'
(are you missing an assembly
reference?)
i am getting this error on this line:
System.Windows.Forms.DataVisualization.Charting.Utilities.SampleMain.MainForm m... | stackexchange/codereview |
I know that for structuremap you can register generic types by specifying the following:
StructureMapConfiguration
.For(typeof(IRepository<>))
.Use(typeof(RepositoryImplementation<>));
When ObjectFactory.GetInstance<IRepository<Entity>>() is called the corresponding implementation is returned RepositoryImpleme... | stackexchange/codereview |
I searched in this group and googled around, but still no luck in answers
I see also that some have my problem, but the threads didn't help, so here I am
The question is easy, and to help you I've packed a .zip with the
files you can test
http://www.ivanhalen.com/fancyproblem.zip
I have a main page with some linkes (i... | stackexchange/codereview |
Let's say I am developing a program that needs a bit more power than a netbook can provide and I have a good computer at home connected to the internet.
Is there any easy way to code in the netbook while I'm not at home and then when building, making it go and run on the computer at home?
I know running programs on oth... | stackexchange/codereview |
What is the best way in Python to read XML from a file, build a tree, do some rewriting in the tree and generate Python code? (I'm slightly confused as in Python there seem to be multiple options such as expat, ElementTree, XSLT, ...).
| stackexchange/codereview |
I use mercurial.el mode with Emacs. When I run vc-diff, I can see the diff, but, unlike the source code, it is not nicely highlighted:
Reading such diffs is difficult. How do I configure Emacs,
to highlight - and + lines with different colors? (red and blue, for example)
to highlight word difference (like BitBucket a... | stackexchange/codereview |
is there any possibility to declare a class dynamically?
is there any possibility to create generic list with anonymous class in C#?
any code snippets will help. thanks
| stackexchange/codereview |
I'm writing my couchdb views with python. I think it's not very ... pythonic to do something like
def fun(doc):
import re
# do something with re
yield 1, 1
because re is for every document imported. putting import re at the beginning gives me an error (string should compile to a proper function), a
del r... | stackexchange/codereview |
I want a dictionary that would return a specified value for any key not in the dictionary, something like:
var dict = new DictWithDefValues("not specified");
dict.Add("bob78", "Smart");
dict.Add("jane17", "Doe");
Assert.AreEqual(dict["xxx"], "not specified");
Extending System.Collections.Generics.Dictionary and overri... | stackexchange/codereview |
If I declare and never use variable then gcc will give me a warning.
But if I have a struct with several members and some of those are not used, gcc will not warn about it...
Is there an option (or another method) to check these?
(Of course I can manually delete some entries and try to compile again, but I am looking f... | stackexchange/codereview |
Ok so i have this
<select class="something">
<option value=''>
Select a Project
</option>
---
</option>
<option value="/projects/2">test</option>
<option value="/projects/3">test2</option>
<option value="/projects/4">test7</option>
<option value="/projects/5">test5</option>
When someone clicks ... | stackexchange/codereview |
Is it possible to serialize Javascript object variable and store into cookies? Or is there other way to accomplish the same thing?
| stackexchange/codereview |
While I was working on an assignment, I came to know that we should not use assignments such as :
char *s="HELLO WORLD";
Programs using such syntaxes are prone towards crashing.
I tried and used:
int fun(char *temp)
{
// do sum operation on temp
// print temp.
}
fun("HELLO WORLD");
Even the above works... | stackexchange/codereview |
IN EJB-QL I am trying to create a query like this:
SELECT *
FROM table
WHERE id IN ([id1],[id2],[id3],...);
This is a normal query for oracle or mysql but how can I make EJB-QL set parameters as a list?
SELECT o
FROM ClassName
WHERE ClassNameId IN (List<Long> listOfIds);
is there a way to do this?
More importan... | stackexchange/codereview |
A bit of a lengthy title, but I couldn't think of any way to cut it down. What I want to do is see if I can make a prompt function that I can use multiple times to store information for multiple variables. The problem is I want the message in the prompt to change each time so the user knows what I'm asking for. I think... | stackexchange/codereview |
Whenever I create a new Ruby on Rails project, I tell SVN to ignore some folders, such as log. It's simple to do, with these commands:
svn remove log/*
svn propset svn:ignore "*" log/
Another folder which shoud obviously not make it to SVN is tmp. So, I always try to do the same operations on it but SVN doesn't seem t... | stackexchange/codereview |
In my wpf datagrid I have implemented validation using IDataErrorInfo. When there is a error in a cell, cells in other rows become ReadOnly. To me this makes sense, but business wants to be able to change other row cells without fixing the error i.e. in some scenarios let users make a mess and, poor developer's life mi... | stackexchange/codereview |
I'm in ASP.NET MVC and am (mostly) using Entity Framework. I want to call a stored procedure without waiting for it to finish. My current approach is to use a background worker. Trouble is, it works fine without using the background worker, but fails to execute with it.
In the DoWork event handler when I call
comma... | stackexchange/codereview |
I just looked at my Database Schema from my DBA and its using 16bit unique Identifiers as the Primary Key. The question I have how do I used this in the routing for MVC.
Something like http://www.app.com/project/21212/product/212121
This is a midsize enterprise application, why would you need a GUID for our tables a... | stackexchange/codereview |
How can you save functions/ classes you've writing in a python interactive session to a file? Specifically, is there a way in pydev / eclipse's interactive session (on a mac) to do this?
I just started learning python - and am enjoying using the interpreter's interactive session for testing and playing with modules I'... | stackexchange/codereview |
I've got several ckeditor instances on the same page which each is submitting a different form however the data is not being submitted. I've tried getting the ckeditor instance using other methods but I am unable to get the correct instance, it's always giving me the first one so I'm unable to grab the data. The docu... | stackexchange/codereview |
Is there a good wxpython GUI builder that does not require much coding, like in the case of the form builder in MS visual studio ?
| stackexchange/codereview |
I have a native iPhone app loading a cached jQTouch web app inside UIWebView. How can elements within the jQTouch app seamlessly link to elements and actions in the native app (if at all)?
When loading a web app page, a link when pressed, sends an id to the native app.
| stackexchange/codereview |
Is it possible to move a node containing a silverlight application without silverlight application restart?
| stackexchange/codereview |
I downloaded Eclipse from some Asian university mirror, then tried to install it, but got error:
[path]\eclipse.exe is not win32 application
In file eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1.R... | stackexchange/codereview |
Below is my code:
using (pgsqlConnection conn = new pgsqlConnection(connStr))
{
} //automatically Dispose()
public class v2Connection:IDisposable
{
public void Dispose()
{
//close the connection and release resources
}
}
This is what I have written so far in my Connection class (v2Connection... | stackexchange/codereview |
I have two models, Statement -> hasMany -> LineItem.
I'm passing the following array to $this->saveAll() inside one of Statement's methods:
$data = array(
'Statement' => array(
'employee_id' => 1
),
'LineItem' => array(
0 => array('job_id' => 1),
1 => array('job_id' => 9),
2 ... | stackexchange/codereview |
Using HttpWebRequest/Response, and the Trailer headers in the chunked-encoded response are being thrown away (I've actually stepped through the .Net 4.0 reference source to see where it calls RemoveTrailers after the final chunk). Is there any way to retrieve those headers? Also, does anyone know why this behavior is... | stackexchange/codereview |
I'm currently doing an app, that needs to be able to work with the US number layout (123,456.78) as well as with the German layout (123.456,78).
Now my approach is to use NumberFormatInfo.InvariantInfo about like this:
temp = temp.ToString(NumberFormatInfo.InvariantInfo);
this works great when for example readin... | stackexchange/codereview |
anyone can help me, I'm working on watermarking application for mp3 files with algorithms "echo data hiding". I do not understand to make this algorithm with java or matlab. I hope anyone can help by explaining this algorithm, or give examples with source code.
thank you
| stackexchange/codereview |
This may be the serverfault question.
I am using XAMPP in my system.I want to access the PHPMyadmin from my network's another computer.How can I achieve this?
Update:
I want to access through my application also.So How can I connect in this
mysql_connect(path,'root','')
And also I have changed in Apache httpd.conf fi... | stackexchange/codereview |
I just want to know if sending a "confirmation email" feature is provided out of the box for the struts2 framework. I've been using spring security for handling my login so something that plugs into that would really be helpful.
The "confirmation email" consists of a service which send emails with some kind of unique t... | stackexchange/codereview |
I'm looking for a Java equivalent to Content Construction Kit + contributed fields for Drupal. I'll settle for pretty much any view technology that can run on Tomcat.
The following features are important to me:
Specify form field types, Ids and labels
Arbitrary ordering of fields
Specify form URL and method
Validati... | stackexchange/codereview |
While reading up on caching options for Rails, I've just watched the Scaling Rails episode on memcached, where they advocate using the updated_at field of a record as part of the cache key. This is supposed to ensure that when a cache block contains the contents of a record, whenever that record gets updated, it will i... | stackexchange/codereview |
I'm going to reveal my ignorance here, but in my defense, I'm an accounting major, and I've never taken a computer science class.
I'm about to start a new project, and I'm considering using Python instead of PHP, even though I am much more adept with PHP, because I have heard that Python is a more powerful language. Th... | stackexchange/codereview |
I have a multithreaded application that uses sqlite (3.7.3)
I'm hitting the database locked error that seems to be quite prevalent.
I'm wondering how to avoid it in my case.
Let me describe what I'm building. Sorry, no code it's too large and complex.
I have around 8 threads that simultaneously access the database. A... | stackexchange/codereview |
$array[(object)$obj] = $other_obj;
PHP arrays only work with indexes having scalar data types like int, string, float, boolean, null. I can't use objects as array index as in other languages? So how can I achieve an object->object mapping?
(I though I've seen something like this around here, but don't remember exactly ... | stackexchange/codereview |
I'm trying to write a LINQ query on some objects where I need to only do a select if a filter value is set.
Is there a way to "change" the query dynamically to only do a select if this is set.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.