instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have had a cakephp app running fine on my local machine (mac osx) for a while and then suddently I realise that I can't connect to mysql.sock.
I'm getting this error:
Warning (2): mysql_connect() [http://php.net/function.mysql-connect]: [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.... | stackexchange/codereview |
I work on an x86 pc and use .NET4.0 (same probelem with 3.5) in VS2010. When I make a new Project (e.g. WinFormsApp), the first thing I want to do is to change the target platform of the project/solution to "Any CPU".
I do the following:
Project Properties -> build -> change TargetPlatform to "Any CPU"
On top of the ... | stackexchange/codereview |
I've a quite obvious problem. Here's the situation:
- my WPF application is primarily written in German
- I've to use resx-files (standard way in the company)
- the fallback-language must be English.
- the german resources are the base for all translations (including English)
I've tried many combinations with "[assembl... | stackexchange/codereview |
My system has an User class with a lot of properties: name, e-mail, address, phone number, etc. And it has also an UserAccount class with properties: username, password and salt. This is a blog application. UserAccount provides login and logout methods.
Now I don't know who will be related with Posts. Should an User co... | stackexchange/codereview |
I'm using symfony 1.4.8 and I have some code that basically looks like this (in a Filter):
$user = $this->getContext()->getUser();
if ($condition)
$user->addCredential('cred');
else
$user->removeCredential('cred');
die($user->hasCredential('cred');
No matter what I have done, it always registers that it has th... | stackexchange/codereview |
Found the answer some some of my problems, html5 web workers!!!
How do I pass an argument to a web worker though using this basic example?
contents of worker.js:
function doSomething() {
postMessage( ' done');
}
setTimeout ( "doSomething()", 3000 );
js code:
var worker = new Worker('worker.js');
worker.onmessag... | stackexchange/codereview |
Can I somehow insert a table inside <li> when using
jsTree (1.0) and
json?
let's say in this code where I want to insert table for
both node and
leaf.
Why? To display more things than only a name and using nice formatting.
"data" : [
{
"data" : "A nod... | stackexchange/codereview |
How can i hide (Let it be on the page somewhere and the user shouldnt see it) a div using some tricks with Z-Index ? I dont want to put style="display:none;" to the div to hide it.
Any thoughts ? Looking for a solution which works in major browsers
| stackexchange/codereview |
Take the following three user registration/login methods (or add your own):
with OpenID
with Email Address + Password (not OpenID)
with Username + Password
What are the advantages and disadvantages to each for a general internet audience (i.e., not a super tech-savvy audience of Stack Overflow)?
| stackexchange/codereview |
is there a way to write files to the iphone file system using only pure c code and some posix like api?
I only found some Objective-C/Cocoa stuff out there and I think that I can't just mix some Objective-C code snippet into the .c file.
| stackexchange/codereview |
Hi
I have installed Ogre 1.7 , Copied iphone dependencies and the project is running in simulator with around 25 sample projects. I need to build a template with only one sample example. Can you please guide me to do so...
| stackexchange/codereview |
I am having to explicitly render :layout => 'application' in my controller actions in order to get my new rails 3 app to actually use the application.html.erb layout file.
Any obvious things to look for that I am doing wrong? If I don't call the :layout option it just doesn't render the layout. I get a message like:
... | stackexchange/codereview |
I want to build a select tag with only specific days for example Mon ... Fri, how can I generate that in rails 2 ?
| stackexchange/codereview |
Does anybody have any idea on how to prevent a spinners OnItemSelectedListener being fired at start up? It should be fired when someone clicks on it and chooses a specific item from the list. Please help if anybody knows this.
Thanks a lot.
| stackexchange/codereview |
Just had a 'Fundamentals of Programming' lecture at uni and was told that the convention for using/declaring functions is to have the main() function at the top of the program, with functions/procedures below it and to use forward declarations to prevent compiler errors.
However, I've always done it the other way - fun... | stackexchange/codereview |
My Access programming is a little rusty, & I've never worked with Excel files all that much.
I have a requirement to bring data from Excel spreadsheets into Access 2007. These spreadsheets have a fixed (predictable) format, but it includes a "header area" where I need to read single data items from specific cells, foll... | stackexchange/codereview |
I have a question, is it possible to get the url from the history.go(-2)?
Assuming i don't know that url.
edit
I need the url, because I want to check where the visitor was redirected from. there are two cases: 1 facebook, 2 directly on the website. the second step is an automatic user check. the third step is miscoded... | stackexchange/codereview |
Can anyone tell me how I can implement Call By Name in C#?
| stackexchange/codereview |
Let's say I'm implementing my own version of Scrabble.
I currently have a Board class that contains lots of Squares. A Square in turn is composed of a IBonus and a Piece. The bonus implementations are actually the usual bonus for Scrabble, but it is possible that I might try to add some new and twisted bonus to spice t... | stackexchange/codereview |
If I have the following DataGrid, how would I go about binding the Visibility of the TemplateColumn to a property on my ViewModel? The code I have here is based on a recommendation from this SO Question but no luck.
<sdk:DataGrid Visibility="{Binding GridVisible}" DataContext="{Binding}" Grid.Row="1" Item... | stackexchange/codereview |
Following the tutorial at http://www.codersource.net/mfc/mfc-tutorials/ctabctrl.aspx , I have declared the function ActivateTabDialogs() in my header file and called it inside another function in my class. The compiler gives error C2065: 'ActivateTabDialogs' : undeclared identifier, at the line ActivateTabDialogs(); in... | stackexchange/codereview |
I'm looking for an algorithm, and I have no idea where to start!
I'm trying to get from point A to point B in a cartesian graph. Movement is restricted to that of a RC car: backward, forward, forward-left, and forward-right (constant turning radius; car is either turning completely, or it is not turning at all).
How w... | stackexchange/codereview |
I was thinking of ways to implement a generic View search. What I mean here is say a Window has many controls (including usercontrols,customcontrols, etc). I want to implement a generic search box on the top of window which searches any Text in the window and highlight them.
I wanted to know is there a generic way of ... | stackexchange/codereview |
I'm trying to implement a class in a Silverlight 4 RIA Services application that manages different ObservableCollections that are used for data binding. These ObservableCollections need to be identified by a string name and an integer classID, which I have implemented by nesting Dictionary objects in a Dictionary> obje... | stackexchange/codereview |
I am trying to use a JSON feed to render events in fullCalendar. Here is the code.
$('#calendar').fullCalendar({
editable : true,
selectable : true,
select : selectionMade,
eventResize : eventsChanged,
eventDrop : eventsChanged,
... | stackexchange/codereview |
I have a .fla that has a preloader on frame one and the rest of the file on frames 2 thru 55. The preloader code is the one that comes in Flash cs5's sample files. there is a movie clip with the instance name lbar and text with the name lpc. here is the code
stop();
import flash.display.*;
this.stop
this.loade... | stackexchange/codereview |
I'm very new to jQuery and having some issues figuring out stuff here :)
I want to create a gallery that's something like this.
[IMAGE]
[previous / next]
[ 1 of 5 ] <- (for example, if I have 5 images, I want to display the numbers)
I figured out up to prev / next button part by using jQuery Cycle Plugin, but i c... | stackexchange/codereview |
In order to install Python XMP Toolkit,
I
need to install Exempi on my Mac, but doing this is becoming a real nightmare...
After a lot of trouble, i finally made it with boost, and had the fantastic
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler includ... | stackexchange/codereview |
I have an NSTextField which uses as an extended NSTextFieldCell, which creates a custom field editor, that intercepts and records key events. (Knowing the key events is important for the application, but the text field is still supposed to work as usual, by calling the [super ...] method). This is what the official doc... | stackexchange/codereview |
I'm using private inheritance in the implementation of two very related classes. The using Base::X; is very useful and elegant. However, I can't seem to find an elegant solution for reusing the base class's swap function.
class A
{
public:
iterator begin();
const_iterator begin() const;
const_iterator ... | stackexchange/codereview |
Hii ,
We see suggestions when we type a word in Ms-word , google etc... How do they do that ?
I would like to know how the techniqueslike auto correct , auto complete , spell checking etc.. are performed . HOw are the words actually stored... what algorithms are followed ... ???
Any links that suggest a possible way ar... | stackexchange/codereview |
in my class i use a BackgroundWorker. at some point i need to cancel the asynchronous operation that can be in progress and start another one immediately. the code follows. one thing that i am not sure about is the race condition that can occur if the worker completes right before i assign my lambda to RunWorkerComplet... | stackexchange/codereview |
I have a program which creates a thread that captures data from the soundcard at 48 KHz and writes it to a buffer for collection. The heart of the thread code is as follows ..
public void run() {
// Run continously
for (;;) {
// get data from the audio device.
getSample();
}
}
// R... | stackexchange/codereview |
I have 2 doubles with each iteration I want add to a NSMutableArray but I can't seem to make it happen.
NSMutableArray *touchArray = [[NSMutableArray alloc]init];
[touchArray addObject:[NSString stringWithFormat:@"%d", "%d", tapTotal, touchBegin]];
NSLog(@"array: %@", touchArray);
The console prints 14108 as the... | stackexchange/codereview |
I've run into the following problem:
My Delphi7 program runs smoothly on most computers running WinXP/Vista/7 BUT on some older Windows XP installs (only a few) I'm getting the following problem:
I have a system image list, and I'm adding my own icons to a copy of the system image list. Upon adding my icons I get an "I... | stackexchange/codereview |
I am calculating UDP checksum using the following function (found it somewhere):
uint16_t udp_checksum(const void *buff, size_t len, in_addr_t src_addr, in_addr_t dest_addr)
{
const uint16_t *buf=(const uint16_t *)buff;
uint16_t *ip_src=(uint16_t *)&src_addr,
*ip_... | stackexchange/codereview |
My app may launch a sub-activity for a specific purpose. When that activity finishes, I get the results in onActivityResult. These results are then processed in the subsequent onResume. This consists of a setContentView and also starting an AsyncTask that puts up a ProgressDialog.
This all works well when initiated the... | stackexchange/codereview |
Is there a way to send an email from SharePoint by using the email addresses from a sharepoint list.
Something like sending one email to all client from a specific list and putting the addresses in the BCC field of the email.
All that in a single button that I could place in the sharepoint list header.
| stackexchange/codereview |
I am trying to develop a Basic EJB3 application on JBOSS 4.2 in Eclipse
I have created an EJB project in eclipse.
The following are my remote and local interfaces.
package com.test;
import javax.ejb.Local;
@Local
public interface HelloWorldLocal
{
public String getGreeting();
}
package com.test;
import javax.ejb.... | stackexchange/codereview |
Below is my code but its not working. Can anyone help me???
- (void)viewDidLoad {
[super viewDidLoad];
CLController = [[CoreLocationController alloc] init];
CLController.delegate = self;
//[CLController setDesiredAccuracy:kCLLocationAccuracyBest];
[CLController.locMgr startUpdatingLocation];
}
- (voi... | stackexchange/codereview |
I want to do the following:
When one user is editing a file from
SVN, no other user can edit this file
until the first user commits his
changes. That is there would be some
kind of writelock on files in svn.
Is this possible in SVN? How to do it? Is it possible to set this for a single file or directory (not ... | stackexchange/codereview |
The following array arrives:
Array
(
[66-507cddcd16d9786abafccfa78b19acf8] => XL
[64-507cddcd16d9786abafccfa78b19acf8] => medium
[65-507cddcd16d9786abafccfa78b19acf8] => large
[63-507cddcd16d9786abafccfa78b19acf8] => small
)
How can I order the values of the array in ascending size order in such a way ... | stackexchange/codereview |
Right now, any url just brings up a project default page ("welcome to django").
No matter what I put (example.com, example.com/hello, example.com/asdfjkasdf(&$(#$$#)
I'm new to django and am following a simple tutorial.
My nginx.conf has this:
location / {
# host and port to fastcgi server
... | stackexchange/codereview |
I have a function which determines if an array needs to be smoothed. I have multiple arrays that this operation needs to be preformed on. I'd like to use the sections construct in OpenMP to do this. Unfortunately, I'm running into segmentation faults as soon as the code grows in an appreciable size. This may be a m... | stackexchange/codereview |
I need to change the soundtrack properties (movie properties tool in QT 7 pro) for a whole bunch of video files. The process would be:
in movie properties click on sound track
and then change the assignment of each audio channel from Mono to "center"
save the file(s)
I am completely unexperienced with Applescript but w... | stackexchange/codereview |
I am processing a CSV file and counting the unique values of column 4. So far I have coded this three ways. One uses "if key in dictionary", the second traps the KeyError and the third uses "DefaultDictionary". For example (where x[3] is the value from the file and "a" is a dictionary):
First way:
if x[3] in a:
a[x... | stackexchange/codereview |
Is it possible to create an SQL server database backup using c# ADO.net and outputting the .BAK file to Isolated storage?
Thanks
| stackexchange/codereview |
I have a stored procedure that is called by data collection system.
The procedure has many parameters that for the collected data.
I'm using the INFORMATION_SCHEMA to pull the parameter list into a temp table
SELECT substring(PARAMETER_NAME , 2 , len(PARAMETER_NAME ) - 1) 'SpParam', PARAMETER_NAME, DATA_TYPE
... | stackexchange/codereview |
I have an asp.net application in which I am using linq for data manipulation. While running, I get the exception "Sequence contains no matching element".
if (_lstAcl.Documents.Count > 0)
{
for (i = 0; i <= _lstAcl.Documents.Count - 1; i++)
{
string id = _lstAcl.Documents[i].ID.ToString(); ... | stackexchange/codereview |
in Google Chrome 7 Folder drag and drop has been added click-here, Can any one show demo code how is that possible?
| stackexchange/codereview |
So we want to develop a service app (web Service with post/get API). What is language to go for secure, fast, enterprise app for about 2000 employers to use with about 20~40 services for interacting with DB server (which in my case will be Oracle) Dev time a year Dev team of 3. All capable of righting C++ code as well... | stackexchange/codereview |
I have a REST API that I am trying to access using Rails 3.0.1 that returns:
<Sessions>
<Session>
<Title>This is a sample title</Title>
...Misc
</Session>
<Session>
<Title>Another Title</Title>
...Misc
</Session>
</Sessions>
I have set up my session.rb class defined:
class Session < ActiveResou... | stackexchange/codereview |
I need possibly detailed instructions on how to get an updated version of JOGL, and help in configuring NetBeans (6.9.1) to run with it (and give code hints and such).
Please bear in mind that I am no expert in the field of Java, and it's just been a few weeks since I started, so the most detailed instructions possible... | stackexchange/codereview |
What will be the best possible way to create Custom Scrollbars using Javascript?
Thanks
| stackexchange/codereview |
It seems if it is the same distribution, drawing random samples from numpy.random is faster than doing so from scipy.stats.-.rvs. I was wondering what causes the speed difference between the two?
| stackexchange/codereview |
Does anyone have a good example of a bootstrapper class I can see for reference..
I can't seem to find one anywhere, searched google but no luck.
Searched the helpfile and no luck..
| stackexchange/codereview |
(All this was done with PostgreSQL 9.0.1 on Ubuntu 10.04, FWIW.)
I've tried writing my own lexize function for PostgreSQL specifically for names, based on the double metaphone algorithm. To produce the C lexize function, I started with the dict_xsyn example, and basically swapped double metaphone in for the synonym loo... | stackexchange/codereview |
I am attempting to leverage C++0x closures to make the control flow between a custom lexer and parser more straightforward. Without closures, I have the following arrangement:
//--------
// lexer.h
class Lexer {
public:
struct Token { int type; QString lexeme; }
struct Callback {
virtual int processToken(const ... | stackexchange/codereview |
On MSDN I can read what it does, but I would like to know what it does technically (tells compiler where to look for types..)? I mean using as a directive.
| stackexchange/codereview |
I am trying to create a "copy-paste javascript" (it will work when user paste this javascript on the url bar and press the return key) for http://www.vtunnel.com/. My script will automatically create a form to the current page and value of the "textbox" will automatically filled up with the current url, and submit the ... | stackexchange/codereview |
Short version:
I'm trying to write an XSD that will validate my SOAP service's responses. I feel compelled to just import http:// schemas.xmlsoap.org/soap/envelope/ instead of redefining the SOAP elements like Envelope, Head, and Body, but that xmlsoap.org schema definition of Body is too broad for my use--as soon as ... | stackexchange/codereview |
How to automatic deleting files to a folder in ubuntu?
I need to do a script to delete files from a folder that is filled with the execution of a process on my server.
| stackexchange/codereview |
So there's list?, seq?, vector?, map? and so on to determine what type of collection the argument is.
What's a good way of telling the difference between
a map (i.e. something that contains key-value pairs)
a collection (i.e. something that contains values)
a non collection value like a string.
Is there a better ... | stackexchange/codereview |
i want to add custom EditingAccessoryView in cell, when user swipe in place of delete button i want to show my custom view.
| stackexchange/codereview |
Suggestion in either in C# or VB.NET is acceptable.
I have a class to handle file download link ASP.NET project like the following:
Public Class AIUFileHandler
Public Shared Sub DownloadFileHandler(ByVal fileName As String, ByVal filePath As String)
Dim r As HttpResponse
r.ContentType ... | stackexchange/codereview |
Are there different callbacks available in asp.net like rails provide before_validation, before_update, before_save and before_destroy?
How to handle this scenarios in asp.net?
| stackexchange/codereview |
I'm trying to use MacVim as a default editor (on my Mac, obviously). I'd like to have MacVim to edit commit messages when I hg ci. Unfortunately when I do so (either by setting EDITOR=mvim or alias vi='mvim') MacVim pops up with an empty message (i.e. none of the boilerplate in the bottom half), and when I save that co... | stackexchange/codereview |
I have two existing scripts that work fine as individuals.
The main script is Perl. I wish to execute the PHP script from a sub in the Perl script.
Usually, the PHP script is just run via direct url e.g. http://me.com/phpscript.php?foo=bar
I would like to just call the PHP script from the Perl and pass the foo var so, ... | stackexchange/codereview |
I feel like i got some idea about wrapper classes. My question is when will a method expect object?
only then we need to use wrapper classes right?
generally a method expects some paratmeters like
int add(int a);
Is this "int a" a primitive value?
example pls
| stackexchange/codereview |
I want to create an associative array with values read from a file. My code looks something like this, but its giving me an error saying i can't the indicies must be ints.
Thanks =]
for line in open(file):
x=prog.match(line)
myarray[x.group(1)]=[x.group(2)]
| stackexchange/codereview |
I'm trying to create a gallery in my Android project, but can't seem to make it work as it should.
Here is what I am trying to do:
Basically, I want a gallery that displays only one picture, but still has the same controls (sliding left and right). I'm getting the pictures asynchronously from the internet.
Where am I a... | stackexchange/codereview |
I'm setting up a CherryPy application and would like to have the majority of my configuration settings in a .conf file like this:
[global]
server.socketPort = 8080
server.threadPool = 10
server.environment = "production"
However I would also like to setup a few with a dictionary in code like this:
conf = {'/': {'tools... | stackexchange/codereview |
How could I use Math.asin() (.. etc.) in a J2ME application?
(I've looked at Real Java (and it looks like it could do this) but it says I should avoid converting from a string. How could I create a new Real from a double value?)
| stackexchange/codereview |
is there something like dialog's order in Android?
I explain what I mean.
There is a dialog builder with "OK"-Button. When user press ok, dialog will be closed.
Wenn I call more than one dialogs after each other in an activity, I see first the last one, then next to last and so on. But I would like to see first the fir... | stackexchange/codereview |
How to terminate function/code (not entire page) when it takes some time, for example, more than 1 sec?
If Code > 1 Sec Then
Terminate the code....
I found the command "Server.ScriptTimeou", but it stops the entire page instead of one command.
| stackexchange/codereview |
I am trying to improve a C++ assignment to make it more efficient. I am a beginner with the language (and programming in general too), so I am only using what I know so far (if, else). I have a function that converts scores into levels, so anything under 30 = 1, 30-49 = 2, 50-79 = 3 and so on...
Here is how I am doin... | stackexchange/codereview |
i try to paint button in my C# windows-CE program.
in one device i Success to do it ( button1.BackColor = Color.Red;)
but in a nother device i see that the button in like win XP style - and
when i try to change the color it dosent Changed.
what can be the Reason ??
thank's in advance
| stackexchange/codereview |
i have an image I of size 512x256.
i want to get some portion like a slice from this image I.
like i want I1 of size 512x50 .
| stackexchange/codereview |
Updating the first record listed in my DataGridView that is bound to my DataTable. When I run Save process I run through this line of code to get all records that have been modified:
DataTable modifiedRows = unitDataDT.GetChanges(DataRowState.Modified);
If I have changed the first record in my DataGridView my modifie... | stackexchange/codereview |
I'm making some examples for javascript; they are not really usable. This one is interesting - it works on Chrome (and other using webkit), and Safari. So can someone suggest any reason why it is not working in the other browsers I've tested?
One possible explanation is that the other browsers does not read the meta ta... | stackexchange/codereview |
We have a heading element styled as:
<div class="sidebarHeadingFont">Operation</div>
.sidebarHeadingFont {font-family: Arial, Helvetica, sans serif; font-size:10pt; font-weight:bold; color: #003366; }
In Chrome when you put your mouse over this element the font size increases (making the width of the element bigger) ... | stackexchange/codereview |
I have the following .htaccess file and I would like to know how can I edit it in order to add the trailing slash and keep the same url. Right now, if I access a link without a trailing slash, it adds the slash but it loses the 'www.' in front of 'mywebsite.com'. Any ideas?
Options +FollowSymLinks
RewriteEngine On
R... | stackexchange/codereview |
What does this JavaScript code mean?
flag &= ~CONST
Is it append, prepend, intersection or something else?
| stackexchange/codereview |
Can everything which is done through Xcode GUI be done through command line, like changing app name, changing provisional profile, distribution profile? If yes then how. May be it can be done through xcodebuild , but till now i am only able to compile through xcodebuild.
| stackexchange/codereview |
We have a flash video that was created for our project, we dont the source so we have to work around the compiled flash file. We are going to host the video on our domain and the video creates a sol cookie (flash cookie) file to store how far the user has proceeded though the video. So my plan is to access this cooki... | stackexchange/codereview |
I'm running Snort which detects some P2P activity, specifically the BitTorrent announce request. I see the HTTP GET /announce.php?info_hash=XXX... request and I'm trying to convert this XXX into a proper SHA1 hash to try and get an idea of what is being downloaded.
I've read various things that say this is URL encoded,... | stackexchange/codereview |
I am trying to wrap individual li tags with a nested ul. For example I want the first HTML snippet, to be the second:
Snippet #1
<ul class="lof-main-wrapper">
<li class="featured">
<h3><a href="#">Title</a></h3>
<a href><img src="" /></a>
<p class="kicker"... | stackexchange/codereview |
I want to purge the ibdata1, ib_logfile0 and ib_logfile1 files in MySQL. Because these files are taking too much space of my C:\ disk. And I don't want to move these files anywhere else in the Hard disk. I heard about purging which can shrink the data. I am using Windows Vista. What are the steps to be done to purge th... | stackexchange/codereview |
Why are function arguments pushed on the stack in right to left order?
| stackexchange/codereview |
I'm just learning PyQt and looking at the Signals and Slots mechanism. I'm a bit baffled by the verbose syntax. Why do we have:
self.connect(dial, SIGNAL("valueChanged(int)"), spinbox.setValue)
I would much prefer to write the following:
self.connect(dial.valueChanged, spinbox.setValue)
Can anyone tell me why the con... | stackexchange/codereview |
I tabController app with uitableview getting NSURLconnection data and trying to display it. I can't figure out the issue. If I replace the connection with an array I'm storing all the drill-down works, but updating doesn't, So I think that the tableView end of things is fine. BUT:
If I put [[self.tableview] reloadData... | stackexchange/codereview |
I created a form in WPF and it looked great. When I opened it in Visual Studio 2010, it look alot different than what I created.
Any ideas why this would happen? Should I ignore how it shows up in VS? This makes me wonder if either is how the user will actually see it.
Any suggestions?
Thanks again!
Eroc
| stackexchange/codereview |
got a quick question for you (pretty much the title): is the book Cocoa Programming for Mac OS X (3rd Edition) outdated?
It's just that I read a little in it, until page 36 (in a .PDF ebook version) where I came across a problem. The chapter introduces you to Objective-C and Cocoa, and you already have to write a progr... | stackexchange/codereview |
I make this code that, after 9 seconds, it call an ajax function, and print the result elaborated from the server to the client.
This is the JS code :
function changeSponsor() {
$.ajax({
type: 'POST',
cache: false,
url: './auth/ajax.php',
data: 'id=changespon',
success: funct... | stackexchange/codereview |
I'm currently working on implementing a fuzzy search for a terminology web service and I'm looking for suggestions on how I might improve the current implementation. It's too much code to share, but I think an explanation might suffice to prompt thoughtful suggestions. I realize it's a lot to read but I'd appreciate an... | stackexchange/codereview |
I have a GridView like this
<asp:GridView ID="gv_FilesList" runat="server" AutoGenerateColumns="false" onrowcommand="gv_FilesList_RowCommand">
<Columns>
<asp:BoundField DataField="f_Id" Visible="false" HeaderText="File Name" />
</Columns>
<Columns>
<asp:BoundField DataField="f_Name" HeaderText="File Name... | stackexchange/codereview |
I have a table which contains Geo-Based information. (latitude and longitude)
i would like users to input their Latitude and Longitude value(e.g current location), then query returns the records ordered by the distance between "user inputed spot" and "record position".
any suggestions or web link would be appreciated.
... | stackexchange/codereview |
in my Win Forms app I create an array of dynamic custom controls inside a loop. These, lets call them 'boxes', are like my basic pieces of information. I also create string arrays in other parts of the code that contain the information of this 'boxes', so that for example string[3] is a variable of box[3] and so does s... | stackexchange/codereview |
Uhm, I’m utterly lost so any help would be much appreciated
The
OperationContext.Current.InstanceContext
is the context of the current service
instance that the incoming channel is
using.
In a Duplex system, the service can
callback to the client via a
CallbackContract. This
CallbackContract is much lik... | stackexchange/codereview |
I have a request for a feature to be able to save a user's search for later.
Right now I'm building LINQ statements on the fly based on what the user has specified.
So I started wondering, is there an easy way for me to simply take the query that the user built, and persist it somewhere, preferably my database, so that... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.