instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
My program's written in C# and has a GUI in WPF. When one button is clicked, the method StopAndGo() is invoked.
The problem is that I want this method to stop at certain points, wait for user input, and then continue.
I guess this could be done with multithreading, but since I've never studied that topic, I want to be ... | stackexchange/codereview |
I setup a database instance with Amazon RDS and pointed my production environment of my Rails app in database.yml file to it. It appears to be working fine. What's the best way to check?
In my Capistrano recipe, I have the database role still set to my app server. This is just for capistrano tasks correct? In a Cap... | stackexchange/codereview |
So I've got my Facebook app ID for subdomain dot sitename dot com, popped in the javascript and whatnot at the bottom of the page and threw in the button where I want it on the site. The Like button shows up, recognizes me as a Facebook user. Wonderful.
But when I click on the "Like" button, instead of liking subdomain... | stackexchange/codereview |
I am trying to spread one sed command over several lines in a bash file. I have multiple patterns that sed checks for and I am hoping to separate some of the patterns by a line change. Here is my current script that does not work, putting everything on one line works but I was hoping to just clean it up a bit and split... | stackexchange/codereview |
Could you tell my why the following isnt working in postgres sql?:
See updated code below
UPDATE:
I expect the query to return "0.30" as float.
This construct is only for testing purposes, i have some complex querys which depend on this conditional structure... BUt i dont know how to fix it..
Result is:
ERROR: syntax... | stackexchange/codereview |
I am trying to re-use netlists in other designs without the success.
I have a component which is translated to the netlist:
entity c is
port (... sel : in std_logic_vector(31 downto 0); ... );
In the design I am using just sel(4 downto 0).
The synthesis tools notices this behaviour and gives a warning:
'WARNI... | stackexchange/codereview |
As the title says ....
Sorry that some ppl got question wrong...
I want to show confirmation on these cases only:
1.Browser window is closed.
2.There is a redirect to different domain
thanks
| stackexchange/codereview |
I have a large list of text strings. I know that some strings occur more than once in this list. The frequency with which the strings occur are in the next column.
Now, let's say the text string "hello" occurs 17 times. How would I get all positions of this text within the list?
Any help is appreciated.
| stackexchange/codereview |
I need to use perticular image as the theme for my most of the activities in my application...
please help me how to do this..
| stackexchange/codereview |
is there any API to enable background process...(in IPHONE SDK 4.1)?
| stackexchange/codereview |
I am wondering how to create an event listener, so that when any of the character keys are pressed a form pops up and the first input is in focus and is receiving the input, sort of like the just type search style for the webOS 2.0 operating system, but for a contact form. Is there anyway to do so? In case your not fam... | stackexchange/codereview |
I'm trying to convert tiff file to jpg in bash script, although I get 3 jpeg files (good, average and poor quality, I assume, same image) instead of one.
Here's an example of command:
convert -resize 200x200 -quality 90 "$CURRENT_DIR/$i" "$OP/$WITHOUT_EXT.thumb.jpg"
I've also tried without resize and quality params, b... | stackexchange/codereview |
There is a command to delete rows in datatable Delete();
But that is just deleting it is not shifting up the following rows like vector or arraylist.
For eg, there are 3 rows in data table.
Row 1, Data 1
Row 2, Data 2
Row 3, Data 3.
IF i delete Row 2, it will be like
Row 1, Data 1
Row 2, RowStatus = Deleted
Row 3, Dat... | stackexchange/codereview |
I would like to find a way to get categories and subcategories
displayed in the admin, in the form of a multiple select.
Like:
parent
----child1
----child2
parent2
----child3
Do I have to make a custom field or is there already a solution
around?
Edit
the model is:
class Category(models.Model):
def __un... | stackexchange/codereview |
The problem is that if i use these two lines of code,my app closes unxepectedly and if not used, the app works just fine...is there any other way to get to the maps.class?
The following is the code i used:
Intent in = new Intent(BlobCity.this, maps.class)
startActivity(in);
the following is my manifest... | stackexchange/codereview |
Possible Duplicate:
Aptana Plugin for Eclipse and jQuery code assist
I've got Eclipse running with the Aptana addon and would like to have jQuery intellisense/code-complete, e.g. I would like "css()" etc. to pop up in the following example:
I tried to set this in Aptana preferences but it doesn't seem to have suppo... | stackexchange/codereview |
I added this in my code:
#ifdef DEBUG_MODE
printf("i=%d\n",i);
fflush(stdout);
#endif
and my question is, if I'm not in DEBUG_MODE what the compiler does when compiling this?
| stackexchange/codereview |
i am using apache POI , is it possible to read text background and foreground color from ms word paragraph
| stackexchange/codereview |
I have rather simple UDP server written on c.
Sometimes i need to know current length of all udp packets(bytes) queued in socket.
As i understand, getsockopt doesn't get such information.
Linux and FreeBSD solutions are both welcome, thanks!
| stackexchange/codereview |
I'm using Prism pop-up region and the popup is modaless. When I tried to change Prism sample codes to replace .Show() by .ShowDialog() command, the codes become unstable. So, I need to keep the current codes intact and think of a work-around: change to modaless mode to be modal mode.
I don't know how to do that and/or ... | stackexchange/codereview |
This is my code:
JSONStringer result = new JSONStringer();
for (long i = start; i <= end; i = i + day) {
ttm.put("$gte", "" + i);
ttm.put("$lte", "" + (i + day));
//code code code
int count = statisticCollection.find(query).count();
try {
result.object().ke... | stackexchange/codereview |
When GameCenter is loaded, it is in default portrait view.
Is there anyways to load and lock it in landscape view like fruit ninja did?
Thanks..
I'm using it with cocos2d..
| stackexchange/codereview |
I'm trying to deploy my first web part on 2010. I developed a web part using VS2008 and tested it on SP2007.
I copied the CAB to the 2010 server and tried to use the power shell to install it:
PS C:\Users\sa_portalt> Install-SPWebPartPack -LiteralPath "c:\transfer\webparts\redirectwebpart.cab" -Name "RedirectWebPart"
I... | stackexchange/codereview |
I have a multiple selection listbox in which I insert items using javascript. At a certain point I need to get the values of all entries (both selected and unselected).
I'm currently using this code:
<form method="post" action="?page=test" name="something">
<select name="thelist[]" id="selOriginalWindow" size="5" multi... | stackexchange/codereview |
My registration form is throwing a ValueError during form.save() in my custom registration form's password field.
Here are the exception details (copied from http://www.pastie.org/1299144):
Environment:
Request Method: POST
Request URL: http://192.168.2.206:8080/register/
Django Version: 1.1.1
Python Version: 2.6.5
In... | stackexchange/codereview |
How do I use C# regular expressions to search for special characters (like '+' in this case)?
I would usually just use + in perl / ruby, but I can't seem to figure out how to do this in C#. Thanks for any help you can provide.
| stackexchange/codereview |
I created this select statement I will convert to a view. I need help with this. I need to be able to add the total of Minority that = Yes and No show total on report pages.
select
ps.BidPackage_ID,
ps.Project_ID,
SUM (case ps.Minority when 'Yes' then 1 else 0 end) MinorityTotal,
SUM (case ps.Gender whe... | stackexchange/codereview |
Sorry, this isn't really a programming question but it's for a program I am making. My program needs to be able to upload files via many methods including HTTP, and to develop HTTP functionality I need to have a web server to post too - but the concept is failing me.
I use Mac OS X Snow Leopard but also Windows 7 in Pa... | stackexchange/codereview |
For reasons that don't make a lot of sense (Read: Not my decision) I need to keep a large number of rows, about ~90,000, in a DataTable and I do not have the option of using a database.
I need to be able to search the DataTable efficiently to find rows that match some basic criteria. For example, I might be looking at ... | stackexchange/codereview |
I'm trying to get access to Excel 2003 Chart copied into the clipboard.
The chart image pastes fine into mspaint or wordpad.
The problem is that I don't see the chart's data on my System.Windows.Forms.Clipboard object.
I've read the following post:
Pasting Image from Excel 2003 Clipboard
and in my particular scenario t... | stackexchange/codereview |
I'm still struggling with my scenario. I have looked everywhere for a solution and cannot find a solution. I am using C# and ASP.NET and I need to export data to an Excel spreadsheet.
I have a list of applications that contains Application objects. Each Application object has a status ID. When I export these applic... | stackexchange/codereview |
In my .vimrc I have:
set shiftwidth=4
set tabstop=4
set expandtab
set to use 4 spaces instead of tab when I hit the Tab button. But when I hit backspace after a Tab, I need to backspace all 4 spaces. Is there a way to have it so when I go to backspace a "tab" it can delete all 4 spaces?
| stackexchange/codereview |
<table>
<tr><td>
<div><img src="1.jpg">text<span class="get">aa</span> <span class="click">Get value</span></div></div></td></tr>
<tr><td>
<div><img src="2.jpg">text<span class="get">bb</span> <span class="click">Get value</span></div></td></tr>
<tr><td><div><img src="1.jpg">text<span class=... | stackexchange/codereview |
I have SOQL below and I get the result that contains sObject's ID.
My assumption was the query will return the fields of SObject as well.
For instance my query try to get "startDay__c" (The date) which is like field of ShigotoShousai sobject. But result of query is just ID of the sObject instance.
(parent: ShigotoShous... | stackexchange/codereview |
Possible Duplicate:
Smallest IDE for PHP with code-completion?
Can anyone give me link to download php IDE.
It should be specific forphp , HTML and javascript. i don't want big IDE like Dreamviewer,eclipse. any small IDE. which can run on my system configuration
OS : windows XP
RAM : 256 MB
I want to see design m... | stackexchange/codereview |
I have a MVC web app that is based on the following architecture
Asp.Net MVC2, Ninject, Fluent NHibernate, MySQL which uses a unit of work pattern.
Every connection to MySQL generates a sleep connection that can be seen as an entry in the SHOW PROCESSLIST query results.
Eventually this will spawn enough connections to... | stackexchange/codereview |
I need an absolute beginners guide to using JUnit and Intellij IDEA 9.x together. I'm running JDK 1.6.0_22 on WinXP. I'm looking for answers to the following questions:
Do I need to install JUnit or is it already integrated into Intellij? If I need to set it up how?
Assuming I have the interface and impl for a clas... | stackexchange/codereview |
I have a share button on my site.
But I need to share link with parameters, and each time parameters will be different (I need to track user who is sharing, etc.)
For example need to share link like http://mySite.com/page?userId=111&someParam=222
I can share this well, but how can I force count to work correct?
if I se... | stackexchange/codereview |
my application is causing memory leak of 10mb when the first timeout occurs. Heare i am using linux timer functions (timer_create etc.,).
For the subsequent timeouts no issue is there. I doubt some problem with linux timers.
I debugged it with valgrind and purify. Even these tools are of no help to me. In both the too... | stackexchange/codereview |
Basically I have two ways for writing something
First:
<?php
echo link_to(
static_image_tag(
$object->getImageWebPath(),
array(
"alt" => $object->getTitle(),
"width" => "106",
"height" => "73",
"class" => 'aaa bbb'
)
),
url_for('route_name', $object),
array(
"class" =>... | stackexchange/codereview |
Is it possible using CSS background-position: to position an image to the far right of an element, but then minus a few pixels so it's not right up against the edge? Without having to add a bit of padding to the actual image itself?
Thanks
| stackexchange/codereview |
I'm trying to use the new Active Record Query Interface for Rails 3.
My old style query is
my_notes = Note.find(:all, :conditions => { :user_id => current_user.id, :date => p[:date] }, :order => "date ASC, created_at ASC")
In the new style, I thought it would be:
my_notes = Note.find_all_by_user_id_and_date(current_u... | stackexchange/codereview |
I am having too many confusions in native coding for android. My application wants to play mms:// stream and I'm facing some serious problems in that. But the basic question is
What is the difference between ndk-build (that i usually use) and make APP (i have seen many blogs on them one of them is this)
Another rela... | stackexchange/codereview |
Im using the WebBrowser control to launch and browse some html files loaded locally in the windows phone 7 emulator and device. All works fine until a web page navigation with a query string us used. The javascript needs to read these query strings but the navigation totally fails when the query string is included. The... | stackexchange/codereview |
I am in a new project that is looking to include an end to end testing framework.
We want something flexible, I've used Fitnesse before and I think we need something similar to it.
We are also using Hudson CI and are looking for something that would integrate easily with it.
Is there a clear winner?
UPDATED: The system... | stackexchange/codereview |
I am looking for a simple library [free] wherein i can use something like this:-
String formattedSQL = xyzLib.format ( sql );
Is there any such library? Or is there a way to format the SQL?
| stackexchange/codereview |
I created a new module and a new top level menu item in the Admin section. I also created a few views in the templates/[mymodule] folder, with forms I want to use in my app. The purpose of the module is to contain all the custom functionality for my client's store, firstly a small form to edit product recurring-deliv... | stackexchange/codereview |
How can I set a different homepage per language in Drupal ?
I'm only using locale module (not i18.. or other translations module).
thanks
| stackexchange/codereview |
This is part of a code. The question is, does this line "$("#b_facetNewChild").button().click(function(){" means that the following should be fired when the button "facetNewChild" is clicked? Because there is no "onClick" function at the button. Also, can you explain briefly, what does it mean to have this nested into ... | stackexchange/codereview |
I need to URL Encode a string in XSLT but the function:
fn:encode-for-uri
breaks the script. I checked it out online and apparently it's part of the namespace
http://www.w3.org/2005/xpath-functions
So i added the following line to the top of my XSLT file to no avail.
xmlns:fn="http://www.w3.org/2005/xpath-functions" ... | stackexchange/codereview |
I have a very difficult (for me) mysql query I'm trying to write -- I'm so very very close besides one little part. Here's the deal-- I have a table of transactions and a table of plants, and I'm trying to get a "leaderboard" together which will tabulate all of the transactions and the costs and calculate total revenu... | stackexchange/codereview |
I'm very new to embedded programming, and my first project is installing uCos on mini2440 [arm9] . Are there any tutorials for beginner like me to install uCos on arm9 ?
Thanks first :)
| stackexchange/codereview |
I need to know because I supposedly need to know what it is to make a Lua global using lua_setglobal().
| stackexchange/codereview |
I'm coding against Common Service Locator and I'm having trouble figuring out the semantic differences between GetInstance, GetAllInstances, and GetService (GetAllInstances is pretty obvious, but both GetInstance and GetService seem to return an object).
For example, what are the MEF equivalents of these three methods... | stackexchange/codereview |
I am trying to use TinyMCE in my project.
In the examples i saw that toolbar can be either always be visible or just added when user is inside the editor. What i want, is for toolbar be always visible, but in the predifined position in the page. I.E
some header
some other content
some footer.
Can it be done? what are... | stackexchange/codereview |
Does using HTTPS already include (transparent) content compression or should I still worry about negotiating with the browser whether to compress my Servlet output? If HTTPS already has compression, is it unconditional or does it need to be configured/negotiated/enabled?
| stackexchange/codereview |
Problem: input is a (not necessarily sorted) sequence S = k1, k2, ..., kn of n arbitrary numbers. Consider the collection C of n² numbers of the form min{ki,kj}, for 1 <=i, j<=n. Present an O(n) time and O(n) space algorithm to find the median of C.
So far I've found by examining C for different sets S that the number ... | stackexchange/codereview |
Would it be ok, for example, to hold an IEnumerable in memory, in my ASP.Net app, indefinately?
For example:
Every morning, my asp.net mvc app needs to load data from CSV files.
This data is loaded from a few CSV files, then, using LINQ joins etc.. it's merged into a single, de-normalized collection, of around 500,000 ... | stackexchange/codereview |
alright, so i'm using a sighandler to interpret some signal, for this purpose it is Ctrl+C, so when Ctrl+C is typed some action will be taken, and everything is fine and dandy, but what I really need is for this to happen without ^C appearing in the input/output
for example let's say i have this code
#include <stdio.h>... | stackexchange/codereview |
Can google fonts be used with tinyMCE? how can this be done?
| stackexchange/codereview |
Scenario:
Using a tiered approach with WCF services: business services returning domain / DTO objects to the client. Still in development so we can break the contracts.
Person object has first name and surname. Member object has tax file number and date of birth. This is because, in our domain, only members get tax... | stackexchange/codereview |
I have a DataGridView control that is bound to a custom typed list (that inherits BindingList). I would like to be able to filter rows based on a simple column value (bool type). Ultimately, the fonctional goal is to be able to mark an item as deleted but just flag it as deleted in the DataSource, not remove it. Juste ... | stackexchange/codereview |
My list component for some reason is not displaying the data being pulled from an xml file
Here is the code even though when i do a trace over "question1" Array i get the values.
Could any one be able to tell me what am i doing wrong here?
import fl.controls.List;
import fl.data.DataProvider;
var myXML:XML;
... | stackexchange/codereview |
I have multiple tables which all have the same structure --except a couple of them have one column misnamed. I would like a sql statement that would allow the user to select that misnamed column using the correct name (there are only 2 possible names for the column-the correct one and the wrong one). I was thinking I... | stackexchange/codereview |
I'm doing my first steps with OpenGL in processing.org. I'd like to draw two crossed triangles, but don't really get how to rotate the triangles to cross them.
PGraphicsOpenGL pgl = (PGraphicsOpenGL) g;
GL gl = pgl.beginGL();
gl.glTranslatef(width/2, height/2, 0);
gl.glRotatef(a, 0, 0, 0);
gl.glBegin(GL.GL_TRIANGLES)... | stackexchange/codereview |
I am using Windows XP and some serial ports. I had never had any problem with this serial ports, however now I am experiencing a very strange issue: when I open the Hyperterminal, I see two COM1s and two COM3s.
Searching for the solution, I have found that in the registry, in the folder \HKEY_LOCAL_MACHINE\HARDWARE\DEV... | stackexchange/codereview |
I want to display the context menu on right click of link button in asp.net. I want this in javascript.
I could find javascript event of right click.
Can anybody help me.
| stackexchange/codereview |
In Matlab, how to control the number of decimal digits for displaying in command window?
For example,
>> x=0.4654
x =
0.4654
how to display the value of the variable x as 0.5, 0.47, 0.465 respectively in command window?
Thanks!
| stackexchange/codereview |
I have been reading documentation about the new features that IIS 7.5 offers regarding the auto start feature of WCF web services.
As far as I have understood, this feature is only available for WCF web services developed under .NET 4.0, but we were wondering if there could be any workaround or tweak in the configurati... | stackexchange/codereview |
I have advanced search on my web page, now how this works is as follows. When a search is made, random results appear on the content page, now this page also included pagination, so my problem is everytime the visitor goes to the 1st page different results appear. Is it possible to use pagination with this, or will the... | stackexchange/codereview |
I have a Plone (4.0.1) site which requires changes in layout depending on the folder. Imagine a structure like:
University > Faculty A > Institute A1 > Person A11
> Person A12
> Institute A2 > Person A21
...
Now if I put all needed resources (custom css file... | stackexchange/codereview |
I've researched a bit about how to achieve what I said in the question and found several APIs but most of them look very complicated and since I'm just a noobie in this area I just want a simple method like:
public String Encrypt(String message, PublicKey publicKey)
Don't know if this can be done? If not then please s... | stackexchange/codereview |
I'm currently developing a web application using SQL Server 2005, ASP.Net MVC, ASP.Net SQL Membership Provider (for authentication and authorisation), and Linq to SQL. Everything works great and is running as planned in the development environment.
However, the production environment has a SQL Server 2000 installation,... | stackexchange/codereview |
I'm working on a JavaScript (using HTML as display tech) widget framework for an embedded device where memory consumption is a big deal.
Recently I tried to create a table-layout using only DIVs. But to mimic the colspan and rowspan functionality it became quite complicated, adding extra logic to make it all dynamic.
T... | stackexchange/codereview |
Does anyone have a nifty way of validating telephone numbers using sql (SQL Server 2000).
I need to select all users fro ma Db that have valid phone number
Thanks
Sp
Valid number
08450000000
01332000000
07444000000
+441332000000
Standard UK numbers
| stackexchange/codereview |
NTOSKRNL.EXE vs NTKRNLMP.EXE vs NTKRNLPA.EXE vs NTKRPAMP.EXE
what differ it
i have intel core2 duo processor , my kernel file must be which ?
| stackexchange/codereview |
I have two tables which are refered by foreign key...
I will delete the data from first table using primary key...and also i want to delete that refered data from second table when delete the first table data...
is there any other way to delete data from both tables in single operation...
| stackexchange/codereview |
In my eclipse plugin project, I use swt-awt bridge to make my swing JFrame in a multipage editor. There are some buttons in this swing JFrame will create a pop up window (another JFrame). When I using debug mode like run as eclipse application, all things worked. But when I export the project to a plugin and deployed i... | stackexchange/codereview |
I want to know is it possible to call a php function within javascript, only and only when a condition is true. For example
<script type="text/javascript">
if (foo==bar)
{
phpFunction(); call the php function
}
</script>
Is there any means of doing this.. If so let me know. Thanks
| stackexchange/codereview |
I have to search the first line of a text file for two Int values that will be the dimensions of a 2D array. Here is what I have so far...Thanks!
try {
Scanner scan = new Scanner(f);
int rows = scan.nextInt();
int columns = scan.nextInt();
String [][] maze = new String[rows][co... | stackexchange/codereview |
I'm the programmatic guy, and I simply don't want to use Interface Builder. I feel out of control, and besides that my GUI is about 90% custom all the time.
Literally every book does everything in Interface Builder and claims that this is the one and only great way to have real MVC going on.
Example: One of those books... | stackexchange/codereview |
when i am refreshing the page Flickering happens. I can see the resizing effect in page.How can i avoid this? I am using master page in my Project. In body tag i am using this(<body onload="return SetContentHeight();" onresize="return SetContentHeight();">) to call the function. My content page inside a table. So i am ... | stackexchange/codereview |
I am using XML Parser to parse a xml file and store as Global data. I am fetching that data and displaying it as a table. I am using this sample to include search functionality.
I wanted to display the dat as grouped table view with alphabets and the titles...
Like --->> | A |
Adam
Apple...
Here is... | stackexchange/codereview |
I have a main "parent" window contains a button and a textbox.
I have another window "child" window which fires when I enter some text in the textbox and click the button on the main window. now the child window contains another textbox and a button. what I need to do is to enter some text in the textbox on child windo... | stackexchange/codereview |
As shown at: How to limit an SQL query to return at most one of something?
I have the following tables:
Platforms
PlatformID
Name
Products
ProductID
Name
Releases
ID
ProductID
PlatformID
Version
ReleaseDate
The releases table stores each release of a software product for a particular platform. I want to write a q... | stackexchange/codereview |
how do i manage which blocks go inside the right structural block.
ie with
getChildHtml('right') ?>
i want to add some custom code that will go on all pages that use the "right" structural block
i know i can over the individual elements but i would prefer it is the elements i don't use don't get called.
| stackexchange/codereview |
A bit of a tough one i think. I have a telerik mvc grid that has a cell that is a checkbox. Its disabled, and i have a piece of jquery code that when a row is selected, fills some html boxes on the form based on what is in there. I have a checkbox that i need assigned, and i know its not as simple as $('#checkbox').val... | stackexchange/codereview |
SCP upload speeds seem to be limited greatly in the library from what the command line scp utility is capable of. I understand this is Ruby (1.9.2-p0), but Net::SCP is approximately 8x slower than the Linux utility (seen using large files... see below). I'm curious to know (I took a quick look at the code) if this is h... | stackexchange/codereview |
i have simple interface that i want to test it out but i have'nt understood when to use URITemplate:
how would i access XMLData in this case...?
[OperationContract]
[WebInvoke(Method = "GET",
ResponseFormat = WebMessageFormat.Xml,
BodyStyle = WebMessageBodyStyle.Wrapped)]
string ... | stackexchange/codereview |
I have a service returning results as JSON string with escaped single quote. Ex: O\\\'Neill. Now, when displaying I need to unescape it to say O'Neill. I have tried replacing the string but doesn't work and it throws a script error - Expected ")" when I tried to assign the text (HTML) to a DIV.
| stackexchange/codereview |
My function expects a list or a tuple as a parameter. It doesn't really care which it is, all it does is pass it to another function that accepts either a list or tuple:
def func(arg): # arg is tuple or list
another_func(x)
# do other stuff here
Now I need to modify the function slightly, to process an additional ... | stackexchange/codereview |
I am looking for a map application with the following:
Windows based.
City/Town street maps are downloaded to computer (i.e. does not required a wireless internet connection to get the map images real-time).
Uses GPS on the computer via comport.
Allows me to visually track where I am on the map as I drive around.
W... | stackexchange/codereview |
This is my first attempt at writing a QT app, and I'm just trying to get a feel for how it works. My goal is to have a 400x400 widget which knows the exact position of the mouse when the mouse is hovering over it. For example, if the mouse was hovering in the top left corner, the position might be 10,10 (or something s... | stackexchange/codereview |
Recently I was designing a simple ftp. When a client connects to server, server create a special Socket for this connection:
Socket clientSocket = listenSocket.accept();
I want to use this socket to send commands to server and create a new one to send data.
So I have two questions.
Should I create a new socket for da... | stackexchange/codereview |
Lets say we have an SSL secured domain - https://xyz.com and we are pulling content from a third party service. They are set up on service.xyz.com (unsecured)
As a result the page is an issue due to PII concerns.
Obviously, the two urls are on completely different IP addresses. I'm new at working with SSL and not qui... | stackexchange/codereview |
I am trying to track goals firing using Google Analytics, and I am running into issues with tracking actual confirmation pages that are AJAX calls. The confirmation page isn't a URL exactly, but a .php file which is loaded in AJAX. I can't figure out for the life of me why goals aren't able to fire using an AJAX call, ... | stackexchange/codereview |
In what format does ToStringBuilder.reflectionToString(Object) display dates? According to the Apache Commons Lang 2.4 documentation, ToStringBuilder.reflectionToString(Object) delegates to ReflectionToStringBuilder.toString(Object) which "Builds a toString value using the default ToStringStyle through reflection." S... | stackexchange/codereview |
I'm trying to mix six sound clips together.
Imagine each clip is a single guitar string pluck sound and I want to mix them to produce a guitar chord.
Here, a clip is an array of real numbers in the range [-1,1], where each number is a mono sample.
double mixed_sample = mix(double sample1, ..., double sample6);
Please,... | stackexchange/codereview |
so now that I can access controls hidden within nested datatemplates, it seems that I cannot change their values. For instance I have the code (granted to me graciously by a Stack overflow member)
<Grid Name="mainGrid">
<Grid.Resources>
<DataTemplate x:Key="frontTemplate" >
<StackPanel x:Name="noWork">
... | stackexchange/codereview |
I need to enhance the search functionality on a page listing user accounts. Rather than have multiple search boxes for each possible field, or a drop down menu where the user can only search against one field, I'd like a single search box and to use a gmail like syntax. That's the best way I can describe it, and what... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.