instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have two patch plots on the same graph. One is red and the other blue. Is it possible to make the overlap purple?
stackexchange/codereview
I am using TinyMCE on my new site in english, that I am doing by myself (I am like a sunday programmer :) ). As before I was doing sites in my native language, I did not get this problem: So... when i write in the textarea a word " don't " or " doesn't " the " ' " breaks the MySQL query and I get an error about MySQL ...
stackexchange/codereview
we have performance issues in one of our WCF web services. We experience that: ASP.NET runs out of worker threads and starts queuing. No magic. WCF queues work items to be processed by IO threads. Ok. I understand that delays can occur while new IO threads are being created. Those delays can be substantial. However, ...
stackexchange/codereview
I'm looking for functionality in Java similar to the .NET Managed Extensibility Framework (http://mef.codeplex.com/). For those who don't know MEF, I want something like this: Given an interface public interface IFoo { ... } Dynamically load an implementation of an interface by looking in loaded jars. IFoo foo =...
stackexchange/codereview
I have a WPF DataGrid. The DataGrid is bound to an IList. The list has many many items so the DataGrid MaxHeight is set to a predefined value and the DataGrid automatically displays a scroll bar. The selection mode and unit are set to "single full row". The form has a button called "New" that adds an item to the list ...
stackexchange/codereview
I am interested in creating a UITableViewCell with a UITextView inside of it, which adjusts its height (to a certain maximum) as the user types more or less text into the UITextView. I know how to add the UITextView to a custom UITableViewCell--but how might I change the UITableViewCell's height as the user is in the p...
stackexchange/codereview
I think I could be doing something wrong in photoshop. I'm trying to create a banner for my website. I created a new image in photoshop, then filled the background with a color I picked #E06205 I then saved the image as a jpeg. On my webpage, I created a div and gave it a background color background-color:#E05206; Whe...
stackexchange/codereview
I have a Windows Service that requires the ability to query AD, as well as open a TCP port. Previously, I had it running as my own personal domain account that was setup as a local administrator on the server. Later, IT required that it run as it's own account (makes sense), and we tried to duplicate the account setup....
stackexchange/codereview
Spring is well used these days. Are there any deficiencies of spring. Can it handle very heavy load?
stackexchange/codereview
dseg segment FileName db "hex.txt$" dseg ends cseg seg.. ... wrFile proc push ax bx cx dx mov ax,3D00h mov dx, offset fileName int 21h mov bx,ax mov cx,10*type scores mov dx,offset highscoresnum mov ah,40h int 21h mov dx,offset highscoresdate mov ah,40h int 21h mov ah,3eh int 21h pop dx cx bx ax ret wrF...
stackexchange/codereview
I found following pattern from RegexLibrary, and i don't know how use Match to get Re and Im values. I'm new in Regex. Is it a correct way to get data from a pattern? If it's true, I need some sample code! This is what i think it should be: public static complex Parse(string s) { string pattern = @"([-+]?(\d+\.?\d...
stackexchange/codereview
I have 4 .c files hello.c,here.c,bye.c and main.c. One header file mylib.h The contents are as follows hello.c #include<stdio.h> void hello() { printf("Hello!\n"); } here.c #include<stdio.h> void here() { printf("I am here \n"); } bye.c #include<stdio.h> void bye() { printf("Bye,Bye"); } main.c #i...
stackexchange/codereview
Problem Statement: URLs are stored in a database, example: home/page1 gallery/image1 info/IT/contact home/page2 home/page3 gallery/image2 info/IT/map and so on. I would like to arrange the above urls into a tree fashion as shown below (each item will be a url link). The final output would be a simple HTML List (plus a...
stackexchange/codereview
when I make a search against Solr in my local machine, I get a query like this: http://localhost:8080/solr/project/select/?q=concept&version=2.2&start=0&rows=10&indent=on But instead, I would like to get a complete query with all the settings active, filters, tokeinzer... etc. For instans, something like this: http...
stackexchange/codereview
Can I use a script to check if a JS file is loaded? I have a function, which places a form on a page with javascript controls. I don't know where the user will use this form, and it might be loaded several times into a page. It strikes me as the best way to handle things if the form itself loads the script, so it doe...
stackexchange/codereview
I have developed an rest enable wcf service by using the following link http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/simplerestservice11172009221218PM/simplerestservice.aspx Now I want to know is there any difference between rest enabled wcf service (or restful web service) & rest web service ? If there is an...
stackexchange/codereview
I've an application with a UITabBarController with five tabs. Tests on real device show that switching from a tab to another, may take one or more seconds to load the views, because I also have to download some data from the Internet. What I would like to do is to show a UIActivityIndicatorView while the view is loadin...
stackexchange/codereview
I am trying to simulate keypresses in a web application, it is for an embedded system but it uses a Webkit derived browser. I have tested the code in Chrome and get the same error. I tried to use code snippets from this example from Yahoo, but I keep getting the same error when firing the event using dispatchEvent. "ta...
stackexchange/codereview
How do you make a custom error page? Is there a particular file that is common with hosting servers? How do they do this?
stackexchange/codereview
Here is a model that I'm using, I've simplified it a bit down to the simplest form that still fails my example: class User < ActiveRecord::Base after_create :setup_lists def setup_lists List.create(:user_id => self.id, :name => "current") List.create(:user_id => self.id, :name => "master") end end And ...
stackexchange/codereview
I have the following VBScript: Dim strFile, strXPath, strNewText, xmlDoc, xmlNodes, xmlNode strFile = "C:\folder\cats.xml" strXPath = "/list/cat/@LAST_BATH" strNewText = Now Set xmlDoc = CreateObject("Microsoft.XMLDOM") xmlDoc.Async = "False" xmlDoc.Load(strFile) Set xmlNodes = xmlDoc.selectNodes(strXPath) For Ea...
stackexchange/codereview
I am using CruiseControl.Net for continuous integration and I know how to have CruiseControl.Net automatically deploy a project when an SVN commit is made. This works well on development and staging servers, but definitely not for production servers. We are tagging our production releases and so I want to have CruiseCo...
stackexchange/codereview
I want to split data to chunks of let's say 8154 byte: data = Zlib::Deflate.deflate(some_very_long_string) What would be the best way to do that? I tried to use this: chunks = data.scan /.{1,8154}/ ...but data was lost! data had a size of 11682, but when looping through every chunk and summing up the size I ended up ...
stackexchange/codereview
Hey guys, I am really messing up with this. I tried this but it failed. I have following three tables with user polard searched 2 times at different days, with increased friends in second search in table b. I just need to build the query which will give me the two newly added friends (wont be present in end of list of ...
stackexchange/codereview
I have a site which contains around 3000 static and dynamic pages. I think 2900 of the pages are based on 3 different php pages which create all the 2900 pages based on database content, and it has about 100 static pages. How difficult would it be to integrate a CMS into the website so our Marketing department can mak...
stackexchange/codereview
I downloaded Selenium IDE code.Now i want to start selenium IDE just by double clicking on it not as firefox plugin.Any Idea which helps me to start IDE as a desktop application is appreciated.Thanks in advance.
stackexchange/codereview
I'm using the default SqlMembershipProvider, but I've created a custom MembershipUser class (SoeMembershipUser) because I needed a "DisplayName" property. All the DisplayName does is look at the UserName and format it differently. When I try to cast a MembershipUser to a SoeMembershipUser user I get an InvalidCastExcep...
stackexchange/codereview
I saved a .php file to file:///C:/xampp/htdocs/tester/tester.php, and though my XHTML and CSS are working, my PHP is not. I put <?php phpinfo(); ?> as the first line of the body, and <?php echo "<p>Hello World</p>"; ?> a couple of paragraphs in. But when I view the page, nothing for phpinfo() shows up at all, and the...
stackexchange/codereview
I am new to the prototype framework and am trying something really simple and failing. I am trying to respond to a click event on a button like so: $$('.btn').observe('click', respond); function respond(event) { alert("hello"); } Why isn't this working? Please help!
stackexchange/codereview
Anyone knows a good Java library I can use to parse a Newick file easily? Or if you have some tested source code I could use? I want to read the newick file: http://en.wikipedia.org/wiki/Newick_format in java and generate a visual representation of the same. I have seen some java programs that do that but not easy to...
stackexchange/codereview
I am using this one to prevent user to type special chars. String.prototype.isText = function () {return /^[\w\s]*$/.test(this)} How can i change it to prevent users to type non-english words ? (only apostrophe and & will be accepted as special char)
stackexchange/codereview
After I have set up all the unit test cases for my android application I now also want to do functional testing. But I encouter one problem. As I am developping for the HTC Legend I can, by now, only use android platforms up to 2.1. But in some way it seems that the ActivityInstrumentationTestCase2 won't work. public ...
stackexchange/codereview
Just wondering if someone knows how to send/receive XML messages between iPhone & Java Message Service. Regards
stackexchange/codereview
I want to write a program in c++ that prompts a user for a file name of an existing file that contains 10 records where the length of each record is 12 characters. next the program seeks to the beginning of the 6th record, reads the records in the file and append them to the end of an existing output file that contains...
stackexchange/codereview
I am pulling some of my code into a folder through svn externals. I know how to see the svn externals using "svn pget" command but not sure how to change the tag dependency from 2.0.0-b-21 to 2.0.0-b-22. How can I do it through SVN command? I know how to do it through Windows TortoiseSVN but not through Unix. secdeva...
stackexchange/codereview
I have a string I need converted into a date: 2010-10-14T09:00:00.0000000 In FF and Crome I can do var date = new Date("2010-10-14T09:00:00.0000000") and everything works. That code in IE, Safari and Opera gives be a NaN. How can I get that string into a date in a x-browser manner, preferably without manually parsing ...
stackexchange/codereview
I am trying to extract data from a xml file, get rid of the xml tags, and store the values in a txt file (tab delimited format) using C. I was able to extract and manipulate the string but I am unable to paste the string to the txt file in a tab delimited format. Instead of getting a txt file that should read like: x.x...
stackexchange/codereview
i am very new to programming in java however have a lot of experience in .NET (c# & vb.net). I am trying to create a new instance of a serversocket class in eclipse IDE and when i type the following code it is giving me an "Unhandled exception type IOException" and i havent even tried to run the code yet!! I dont unde...
stackexchange/codereview
I’ve been looking into the Accelerate framework that was made available in iOS 4. Specifically, I made some attempts to use the Cblas routines in my linear algebra library in C. Now I can’t get the use of these functions to give me any performance gain over very basic routines. Specifically, the case of 4x4 matrix mult...
stackexchange/codereview
I'm looking for some help on the Javascript angle of this problem. I have a table that goes like... <table> <tbody> <tr> (Row 1) <td colspan="3"> <p>This Says Something</p> </td> </tr> <tr> (Row 1a) <td> <select option> </td> </tr> <tr> (Row 2) <td colspan="3"> <p>This Says Someth...
stackexchange/codereview
Using Underscore.js, I can write the following which returns 42: _([42, 43]).chain() .first() .value() I have custom function, not part of Underscore.js called double(): function double(value) { return value * 2; }; I would like to be able to call this function in an Underscore chain, as if it was part of Und...
stackexchange/codereview
Is there a way to make the borders of an element semi-transparent? using purely css? like the modal window that facebook uses?
stackexchange/codereview
I'm using substance look and feel as my application default look and feel, however I want to set the system look and feel for FileDialog especially in Mac OS. Is it possible to set FileDialog to use look and feel other than the application look and feel? Thanks
stackexchange/codereview
I heard many people talking about signing exe in windows platforms. I have following questions, What is signing exe? Is there any rules i have to follow for signing my application? What are the advantages i can get when my application got signed? Is it free? Thanks, Santhosh
stackexchange/codereview
I have read all the list events (and list item events) of sharepoint 2010, but it seems there isn't a way to get an event when a list item gets just selected (or double-clicked, or something like that) I want a method that lets me open a new page when someone selects an item on the list, to display more information reg...
stackexchange/codereview
Update TableToBeUpdated Set ColumnNameId = (Select MasterColumnId from MasterTable where Id = @Id) Where ForeingKeyId = @Id AND AnotherColumn = @AnotherColumn How to achieve the above with one select statement and an update statement with a subquery? Currently what I'm thinking is. //First Se...
stackexchange/codereview
I just know that it supports C#, but I read things showing in Visual Basic. Does WP7 already support or is it just users creating things? Thank you.
stackexchange/codereview
I have been trying to get my Solr schema (using Solr 1.3.0) to create terms that are tokenized by whitespace and punctuation. Here are some examples on what I would like to see happen: terms given -> terms tokenized foo-bar -> foo,bar one2three4 -> one2three4 multiple words/and some-punctuation -> multiple,words,and,s...
stackexchange/codereview
jQuery: $("#contact-us-form").submit(function () { var nameVal = $("input[name=name]").val(); var companyVal = $("input[name=company]").val(); var titleVal = $("input[name=title]").val(); var emailVal = $("input[name=email]").val(); var phoneVal = $("input[name=phone]").val(); var messageVal = $...
stackexchange/codereview
I have 24 .png images and a ImageView. On user touch I change the ImageView to be one of the 24 images. I'm currently doing setImageResource(R.drawable.hour_1);, but there is a slight delay after I touch the screen and the ImageView actually changes. I figure the delay is the resource being loaded, but I can't find a b...
stackexchange/codereview
I have a text input field for titles of various things and to help minimize false negatives on search results(internal search is not the best), I need to have a REGEX pattern which looks at the first four characters of the input string and removes the word(and space after the word) _the _ if it is there at the beginni...
stackexchange/codereview
I'm having a problem getting content loaded into a document to fire jQuery scripts. I have the following code $(".jquery-selectbox").change(function(e) { url = this.options[this.selectedIndex].value; $('#pane2').fadeOut(500, function () { $('#pane2').fadeIn(500); ...
stackexchange/codereview
I've developed a billing summary page use mysql + php. there are many users : (1M) light user :each has less than 10K record :0.99M users heavy user :each has about 1M record SQL is the following : SELECT SUM(value_a) A, SUM(value_b) B, SUM(value_c) C FROM daily_data_sep_2010 WHERE user_id='<user_id>' AND type I...
stackexchange/codereview
Is there a way to select all <br> tags that follow a paragraph with a given class? i.e. <p class="myclass">This is a paragraph</p><br> There may be other <br> in the HTML so I cannot use this: br {display:none;} and I cannot delete all <br> tags. If there is a way to select these particular <br> tags then I can use C...
stackexchange/codereview
I use my webserver's logs to count visits to my website. The software "Webalizer 2" displays these data in plain form with some diagrams. But now I want to count visits by a special group of users separately. I have premium users and standard users. For premium users I want to have a separate statistics page so that I ...
stackexchange/codereview
I seem to have a problem with some jQuery, and I can't figure out where I am going wrong so I just want to take ie7 out of the equation by excluding it, can this be done with jQuery?
stackexchange/codereview
I'm working on a image manipulation app that overlays a radial gradient over an image loaded from the photo library. On screen I have a slider to dynamically in/decrease the radius of the radial gradient. I've found the performance on the simulator to be just fine, but on an iPhone 3G or 3GS it is much slower to redraw...
stackexchange/codereview
Following parameters are given: boolean a = true ; boolean b = false ; boolean c = true ; I want to have minimal code of this version: if ( ( a && ! b) || ( ! a && b) ) { z1 += 99 ; } if (a ^ b) { z1 += 19 ; } if ( ( a && b) || ( ! a && ! b) ) { z1 += 118; } What needs to be modified?
stackexchange/codereview
<%= render :partial => 'event', :collection => @events.sort_by(&:event_at)%> This code shows a collection ordered as ASC, but i want to order this collection as DESC. How can I achieve this?
stackexchange/codereview
When I try to split a string into a string list where each element represents a line of the initial string, I get the "square" character, which I think is a linefeed or something, at the start of each line, except the first line. How can I avoid that? My code is as follows: Dim strList as List(Of String) If Clipboard....
stackexchange/codereview
As I'm diving into RoR, I'm learning about some of the view asset tags and trying to undertand the benefit of using them instead of just using straight html. For example, what's the benefit, aside from brevity, of using <%= stylesheet_link_tag "main" %> instead of just writing out the actual HTML? Then I came across ...
stackexchange/codereview
I have my Windows work computer set up with JDE 5, but the plugin for the Mac OSX Eclipse on my home computer is JDE 6 and I can't seem to find a source to download it from. I found a blog post about MacOS BlackBerry development, but it is from before the official MacOS plugin was released. Anything new on this fron...
stackexchange/codereview
I reference to CSSDoc specification and want to generate comment documentation from css file. The first thought used phpdocumentor tool. When execute phpdoc -o HTML:frames:default -f main.css -t docs command, i got "File not parsed,not a php file" error message. Please tell me how to generate documentation from css fi...
stackexchange/codereview
For reference here is what my web.config and code look like: <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15"> <providers> <clear /> <add name="SqlProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="MySqlConnection" ap...
stackexchange/codereview
I have a ListBox with dates. Each ListBoxItem (date) have another ListBox with that date's events. When I select an event it gets highlighted (SelectedIndex/SelectedItem) and I navigate to another Pivot. This works fine. My problem is that every ListBox has it's own SelectedItem. I want to clear the SelectedItem from e...
stackexchange/codereview
I wan't to implement the following code - the check if the pointer is null or not null. If the pointer points to object, then do sth with that object, if not - skip that code block. My code: ref class EchoClient { private: GameMatrix^ gameMatrix; public: EchoClient(void); EchoClient(GameMatrix^); void d...
stackexchange/codereview
I want to select an element within my XML based on the value of a nest element. Here is an example of the XML: <Agents> <Agent ID="xxx"> <Login>xxx</Login> <Password>xxxx</Password> <Products> <Product ID="zzz"> </Product> </Products> </Agent> </Agents> H...
stackexchange/codereview
I have the following structure - public interface IBaseInterface<T> { } public interface IChildInterface1<Class1> : IBaseInterface<Class1> { } public interface IChildInterface2<Class2> : IBaseInterface<Class2> { } public class ImplementationClass1 : IChildInterface1<Class1> { } public class ImplementationClass2 : I...
stackexchange/codereview
I am attempting to create a const structure in C but can't seem to figure it out. typedef struct sA{ char* fname; char* lname; } A; To use as an Array: A list[] = {{"david","smith"},{"john","smith"}}; However, if I have use a second struct: typedef struct sB{ A inList[]; } B; I want to define a const structure a...
stackexchange/codereview
Someone told me that Brad Larson has published good iOS development videos on iTunes U. He said there are supposed to be two classes similar like those from Stanford. The terribly bad search UI of iTunes seems to lock me out of those videos. I can't find them. Not even when I search for Madison or Brad Larson. I'm als...
stackexchange/codereview
I have this interface. If I derive, do I need to specify format attribute again? And, if a class Deriv implements this interface, can I use Deriv::LT_DEBUG? class Logger { public: enum LogType { LT_DEBUG = 0, LT_WARNING, LT_ERROR, LT_STAT, ...
stackexchange/codereview
I have a view that has 2 combo boxes (Call them ParentTypeCombo and ChildTypeCombo). Both of these combo boxes have the same backing drop down list (call it WorkItemTypes). Using MVVM how can I know when the value was changed for these combo boxes? I have bound them to properties (Call them ParentType and ChildType)....
stackexchange/codereview
I found some interface for the list: and there I found this constructor template<typenameT> ... list(size_tnum, constT& val = T()); ... can somebody explain what is this: constT& val = T() thanks in advance
stackexchange/codereview
I've heard the theory. Address Space Location Randomization takes libraries and loads them at randomized locations in the virtual address space, so that in case a hacker finds a hole in your program, he doesn't have a pre-known address to execute a return-to-libc attack against, for example. But after thinking about ...
stackexchange/codereview
In JDK 1.6 : I see that full GC has been run but the old generation and perm gen space is not used completely - question is as per my understanding FGC only runs when old gen or perm gen is full - I am not able to understand why it has run even though usage % is low?. See output of jstat -gcutil below: S0 S1 ...
stackexchange/codereview
I have a pattern ab 23 cde 25 ... and so on Can I capture the above pattern like array( [patterns] => array( [0] => array( [payer] => 'ab' [amt] => 23 ) [1] => array( [payer] => 'cde' [amt] => 25 ) ) ) Is this possible?
stackexchange/codereview
Im taking the domain from the HTML of the page using jQuery: domainUrl = $("p.domain").text(); for the purposes of testing: <p class="domain">.vl3.co.uk</p> Which is also the domain Im testing the script on. This then give an alert containing the correct domain: alert(domainUrl); I want to the use that variable to s...
stackexchange/codereview
As you can see in this screenshoot ListView doesn't show all item separator, seems that the problem is setting textSize for textView, if i remove textSize all work fine. Thanks in advance for any replay! This is a little testcase:
stackexchange/codereview
Select a value of a html dropdown of a webpage with the help of C# windows application . I am using web browser control< for filling out the text boxes , I got stuck with the dropdown please help
stackexchange/codereview
Is it possible to prevent user from opening JSF page in more than one browser tab or window?
stackexchange/codereview
I have a MySQL query called $sqlStr5 that ranks rows by a metric called totalScore2. One of the fields that $sqlStr5 returns is called username. I would like to echo out the rank and the value of totalScore2 where username equals a variable called $u. How can I do this? Below is what I have so far. Thanks in advance...
stackexchange/codereview
I've a problem. I want to create a table view in which each cell is a name of a place and when the user clicks on the cell, the cell next to it should shift down to accomodate a new view after the clicked cell. The new view will display the address of the place the clicked cell displayed. for example: If cell2 contain...
stackexchange/codereview
I'm programming in Java. Every 100 ms my program gets a new number. It has a cache with contains the history of the last n = 180 numbers. When I get a new number x I want to calculate how many numbers there are in the cache which are smaller than x. Afterwards I want to delete the oldest number in the cache. Every 100...
stackexchange/codereview
I'm getting the following linker errors: Error 1 error LNK2001: unresolved external symbol "public: __thiscall AguiEvent<class AguiEmptyEventArgs>::AguiEvent<class AguiEmptyEventArgs>(void)" (??0?$AguiEvent@VAguiEmptyEventArgs@@@@QAE@XZ) AguiWidgetBase.obj Error 2 error LNK2001: unresolved external symbol "p...
stackexchange/codereview
I am looking around on the web but I am not finding anything useful. :( I am having a problem that I don't understand. I am sure that I am doing something wrong, but I don't know well the syntax of jQuery to understand what is that I am not doing right. I am using animations with JS and CSS 3, and I am having troubles ...
stackexchange/codereview
I have developed a sample app on converting the doc to pdf file.But i just want to know the meaning of this statement object Unknown=Type.Missing; MSDOC.Documents.Open(ref Source, ref Unknown, ref Unknown, ref Unknown, ref Unknown, ref Unknown, ref Unknown, ref Unknown, ...
stackexchange/codereview
Currently i am calling the optimize method of the indexwriter after the completions of the write. Since my data set is huge, it took long time ( and needs more space (2*actual size)) to optimize the index. I am very much concerned about this because lot of documents included frequently in the index. So is it ok to ...
stackexchange/codereview
Has anyone else tried using SimpleModal in IE9? If so, have you experienced that the width of the modal is wildly wrong? I checked on the homepage for SimpleModal, and the modals are all over the place width-wise there as well. Does anyone have a fix for this?
stackexchange/codereview
I can add & remove tabs similar to the famous MSDN article. Basically a ObservableCollection<TabViewModels>. And I add tabs like _tabs.Add(new TabViewModel()) but the newest tab is not focused. I want to focus it. How do I do it? 1 way to do it since i have a view source for my observable collection, I can do the below...
stackexchange/codereview
I tried to do bundle adjustment by python. So I'm test non-linear least square module. Then I wrote code like below. I want to get right Pmat represents camera projection matrix for three cameras. But I have an error,"ValueError: object too deep for desired array". Anyone who can give clue to solve this issue? Regar...
stackexchange/codereview
I'm trying to make Maven2 to compile coffeescript to javascript. As far as I'm concerned there is no plugin which provides compiling coffeescript. Is there a compiler-plugin for maven which can be parameterized with a compiler (for any programming language)?
stackexchange/codereview
My app. contains the window in the picture: The ItemsSource of the DataGrid is set to _editList ( declared as IList < Vendor > _editList;). The data grid is set to Read Only. The Vendor Name text box has the binding set as : Text="{Binding ElementName=dataGridVendors, Path=SelectedItem.Name, Mode=TwoWay}" This ...
stackexchange/codereview
I have a mysql table named "dev" with a column of "email"s. I want to select out all the unique e-mail addresses and delete the duplicates. My structure is as follows: id || email 1 user1@example.com 2 userB@example.com 3 user1@example.com What I want is... id || email 1 ...
stackexchange/codereview
All, Given a code that you are not at all knowledgeable about in terms of the functionality and implementation, how would you go about finding the performance bottlenecks in that code? Please list any specific tools / standard approaches that you might be using.
stackexchange/codereview
I want to find the user who is doing most physical reads to the hard-disk and kill that user. Can I have a SQL/PL script to do that in oracle xe?
stackexchange/codereview
I'm attempting to iterate through all User Profiles in SharePoint 2010 from a Silverlight application that will be added to a SharePoint page. Based on what I've learned, the User Profile Service is different than the SharePoint Website's store of a list of users who are "members" of the site or have ever visited it. T...
stackexchange/codereview
I'm making a tiny script that adds a class of "external" to all external links, then when someone click an external link, it shows a div.question-wrapper that has a div.follow and a div.dontfollow in it, it also displays the url of the link you clicked in the div.question-wrapper. the only problem i'm having is copying...
stackexchange/codereview
I've manage to get jqGrid 3.8 working in my project(Zend Framework) using json.While basic fetching of data works i failed to see why i can't see the buttons showed on the navigation panel. here is what i've done on client side: <script type="text/javascript"> $(function(){ $("#roomgrid").jqGrid({ url:'/admi...
stackexchange/codereview
In the Firebug Net panel, you can get a list of all HTTP requests made for the current page. http://getfirebug.com/wiki/index.php/Net_Panel Is there a way copy this list as text, so that I can paste it somewhere else for my own records? I’m doing some optimisation work, and it’d be really handy to save the requests m...
stackexchange/codereview
Two questions really... Firstly, which is the better coding style when writing jQuery functions which take object params, should the function take a jQuery object or is it better to pass a standard JavaScript object and have the function itself do the wrapping? I guess I'm just asking if there is a standard here, since...
stackexchange/codereview