instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
Is there anyway to pass additional parameters to the anonymous callback function for AJAX calls? I need to pass the ID or the element itself to the callback function to show the returned data properly. My jQuery snippet is below: $("a.DetailsLink").click(function (e) { e.preventDefault(); ...
stackexchange/codereview
Are there any major differences between the two? I have yet to see a doc that explains what the major difference is? Performance??
stackexchange/codereview
I'm trying to construct a linq query that pulls all nodes that have a particular element. In the case below, you'll notice that the second entry has a few extra elements: DisplayOnSignup, SortOrder, etc. I'd like the linq to give me all entry nodes that have a SortOrder element. The xml doc looks like this: <?xml ver...
stackexchange/codereview
I'm surprised to see that there does not appear to be a method to add a single element to an IEnumerable collection. How can I add a single element to an IEnumerable collection?
stackexchange/codereview
I have some tests that rely on some files I have marked as "Content" and to "Always Copy". I'm using the DeploymentItem attribute to make sure they get copied to the output directory when running mstest outside of VS. However when using the Resharper test runner inside VS these files never make it to the directory that...
stackexchange/codereview
I have one issue in one of my site. When I upload an image, it creates a folder and then uploading images inside the folder. Creating folder is working fine for me, but image can not be uploaded. move_uploaded_files is returning false without any error message. When I checked manually, All folders have proper 777 pe...
stackexchange/codereview
I needed to find the IP address for the local machine on of the webservices. In C#, I have ManagementObjectSearcher objC = new ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = 'TRUE'"); ManagementObjectCollection objCollection = objC.Get(); How could I do it in C++ Linux?
stackexchange/codereview
So I've been using the jQuery Visual Studio vsdoc for awhile now to provide intellisense support. Does anyone know if there is a vsdoc for the Facebook Javascript SDK? Thanks.
stackexchange/codereview
I'm a beginner with Haskell and am having trouble figuring out some code. What do I need to do to get the types right on this IO section of my code? Thanks in advance. loadPeople :: FilePath -> IO [Person] loadPeople file = do lines <- getLines file map parsePerson lines getLines :: FilePath -> IO [String] getL...
stackexchange/codereview
The problem is i am calling one dialox from another dialox , and after returning back from that dialog box the dialog window is not enabled. in order to activate it i have to click anywhere is dialog. so how can i get the focus on this current dialog window after returning from other dialog box.
stackexchange/codereview
I am currently using Tomcat6 as a Web-Container on development and production. I have heard that Tomcat is not the best performing Web-Container for production environments. Is this true? Is Tomcat sufficient in terms of performance and memory management to use on production environments? Our system/s have around 100 ...
stackexchange/codereview
I need to bind the event when the jquery.validate validation occurs, anybody knows how to do this
stackexchange/codereview
I know that Silverlight has a port limitation when using nettcpbinding. What I don't know and don't have time to test is, if the ports 4502-4534 is opened on the server, this restriction still applies to clients behind a corporate firewall which only lets the users inside the corporate network to use only ports 80/8080...
stackexchange/codereview
I am not a very good at using Emacs, but the feature I would like the most would be some integration with help/documentation for a particular language/API I use at the moment. I would imagine that there would be help displayed in another buffer depending on where I put my cursor while editing. I wonder if there is a pa...
stackexchange/codereview
Intrigued by this question, I have played a bit with parallel assignment with arrays and method calls. So here's an paradigmatic example, trying to swap two members in an array, by their value: deck = ['A', 'B', 'C'] #=> ["A", "B", "C"] deck[deck.index("A")], deck[deck.index("B")] = deck[deck.index("B")], deck[deck.ind...
stackexchange/codereview
I'm deploying hundreds/thousands of small servers that communicate with my hosted mothership via HTTPS and ssh. What are the best practices for managing SSL client certs (for https) and ssh keys, when either might need to be revoked? I'm thinking about issues like distributing keys/certs on change, managing revocatio...
stackexchange/codereview
For the last two to three months iv'e been dipping and diving in and out C# and WinForms but recently I will be starting a project that will help be learn more about real life issues when programming in .NET I'm Mainly a web based programmer working with PHP, MySql, Unix, etc and when I create a website I like to have ...
stackexchange/codereview
I must be missing something because last night I was astonished to find that googling for check gem dependencies and similar didn't reveal the answer for this. I'm basically after a rough equivalent of rpm -V - a command that will go through some or all my installed gems and make sure that their dependencies are also i...
stackexchange/codereview
I'm developing a blackberry SMS appication. Which needs to filter all incoming messages which have only with a specific keyword (ex - Starts with ABC). The messages with this keywords will not allow goto the inbox. Is it possible with messageListner ? I got to know that this may be possible by invoke class. But i don't...
stackexchange/codereview
I'am writing an online software. I need to integrate a simple plugin system in it like wordpress (add action, add filter etc.) What is the simplest way to do it in PHP?
stackexchange/codereview
f[0] = 0; f[1] = 1; f[x_] := f[x-1] + f[x-2] This function is running slow in Mathematica and I need to increase the speed. I have to use functional programming and recursion. I'm not sure why this is running so slow, and even the slightest idea how to improve this would be helpful.
stackexchange/codereview
EDIT The real question is at the end of the post I'm trying to undestand how gcc manage the stack size but I have some question I don't find the answer. Gcc does something weird when I call a function in another one. It allocates extra bytes and I don't understand what for. Here is the simpliest C code ever : int f(){ ...
stackexchange/codereview
Possible Duplicate: How an uninitialised variable gets a garbage value? How are garbage values generated in C and C++ ? Does the compiler use some random number generation technique for generating garbage values?
stackexchange/codereview
I have a menu structure (Drupal) that contains elements representing a menu link. If the menu has a child menu (is the parent of a submenu) it has an array key 'below' with a menu item inside with the same structure. In theory this menu could be infinitely deep and the only way that I know how to go through each level ...
stackexchange/codereview
The standard checkboxes rendered in most browsers are quite small and don’t increase in size even when a larger font is used. What is the best, browser-independent way to display larger checkboxes?
stackexchange/codereview
Went into my site and the site would not load. I had my friend look at the site and here is what he told me. "I had to upload Drupal core files for version 5 and reconnect everything. The previous user id’s and passwords should all work, there may be some missing data as I did have to pull one of the database files f...
stackexchange/codereview
I'm using phpFlickr to make this query: $photos = $f->photos_search(array( 'tags'=>$tag, 'sort'=>'date-taken-desc', 'per_page'=>100, 'user_id'=>'me', 'privacy_filter'=>5, 'extras'=>'date_taken,tags,url_sq,description' )); It's working great, except, I have some tags with spaces in them and I want to displa...
stackexchange/codereview
I recently coded a script in PHP using the COM object to strip data out of cells in an Excel 2007 spreadsheet into an array. This was all done locally on an XP system with Office 2007. Once I'd enabled the Apache server to interact with the desktop the script worked like an absolute dream, allowing me to populate my HT...
stackexchange/codereview
I'm trying to use libcurl to do a SOAP http post to a web service. I have the SOAP requests already formed in XML files which I generate. Now I need to transefer these XML files to the webservice. N.B. I'm pretty new to writing webservices (especially in C). Is there a way do send the SOAP requests straight from the XM...
stackexchange/codereview
I have small application on Rails 2.3.2, served with nginx+thin(127). OS FreeBSD 7.1, DB - Posgresql. Twise at this week my app has fall. In log I get something like (~2-50 request per second): /!\ FAILSAFE /!\ Mon Oct 04 20:13:55 +0300 2010 Status: 500 Internal Server Error bad content body /usr/home/../../hist...
stackexchange/codereview
I'm running IE8 in normal mode (whatever it is when compatibility is NOT turned on) on WinXP. I'm doing maintenance on a rails app that was written a few years ago. Often when I load a page, and/or refresh a page, it reports different javascript errors. When I look at the errors in the Developer tool, it appears that a...
stackexchange/codereview
I am trying to remove members which exists in a string from a list consisting of those members. Example: String: "ABC" List: ('A 'B 'C 'D) To do: Remove first element of string from the list To remove the the element from the string: I am converting it to a list using: (car (string->list"ABC") This gives me character...
stackexchange/codereview
Simple easy one. I am trying to rotate image inside divs and cycle back to the first one when the end of my array has been reached. Can someone please help point me out where I am going wrong in my code here? It seems that when it gets to the second image, the index never returns back to zero to start with the first im...
stackexchange/codereview
I have a table where I use jquery to add and delet rows. I also use jquery ui to render buttons. When I add a new row, I also add a button in a cell, but this one is not rendered. var tdata = "<tr>"; tdata += "<td align=\"right\">my data</td>"; tdata += "<td align=\"left\">"; tdata += "<button class=\"delete\">delete</...
stackexchange/codereview
A recent question got me wondering about explicit copy constructors. Here is a sample code that I tried compiling under Visual Studio 2005 : struct A { A() {} explicit A(const A &) {} }; // #1 > Compilation error (expected behavior) A retByValue() { return A(); } // #2 > Compiles just fine, but why ? void...
stackexchange/codereview
I have some html snippet which is initally hidden <p style="float: left; position: relative; left: 130px; top: 80px; display: none;" id="homehref"> <a href="" style="color: white;">Home Page</a> </p> i show it with jQuery.show(); on mouseover and again hide it on mouseout with jQuery.hide(); altough i seee fli...
stackexchange/codereview
I have a basic page which has fields that I read from the database and write to it. I would like to know where I should call the insert and read commands. I know about age_load but heard about page_loadcomplete. I noted that when the user refreshes the page, for some reason the sqldatasource loads the old data(before t...
stackexchange/codereview
The code is to determine a path between two nodes for directed graphs. This is the code: def find_path(graph, start, end, path=[]): path = path + [start] if start == end: return path if not graph.has_key(start): return None for node in graph[start]: if...
stackexchange/codereview
I'm trying to do an example web service with NuSOAP in PHP, and I built this example class: <?php // Pull in the NuSOAP code require_once('lib/nusoap.php'); // Create the server instance $server = new soap_server; // Register the method to expose $server->register('hello'); // Define the method as a PHP function functi...
stackexchange/codereview
I have a form that, where depending on the selected value of the userAction radio group, either the loginFields or signupFields are shown. Also, I have two error containers - errorMessageLogin and errorMessageSignup - to display error messages respective to the selected value of the userAction: <div id="errorsSection"...
stackexchange/codereview
Setting width/height in CSS only corresponds to the content area. Is there a way to set the offset width/height (i.e. dimensions including padding/margin/borders) of an element in CSS? EDIT: Example -> I have a number of divs tagged with css class "smallBox" .smallBox{ width: 100px; height: 100px; } Now I want to set...
stackexchange/codereview
I need to grab certain parts from many tables, save them and finally generate a new table using a jQuery template. But I am having problems collecting the first value. HTML <table> <tr><td colspan="7"><a href="http://link/index.php?view=page&id=2961" target="_blank" title="title">atext1 atext2</a> - stuff 2 - <img sr...
stackexchange/codereview
I am working on Project where I have JQuery 1-Page Horizontal scrolling website using JQuery .scrollTo plugin. I want to show Total x-axis pixels traveled by visitor. To achieve this I have code which shows visitors current position on screen. jQuery(document).ready(function(){ $(document).mousemove(function(e){ ...
stackexchange/codereview
I have following HTML code: <div style="height: auto; width: 400px; overflow: hidden;" id= "parent"> //dynamic content which makes width of the parent to overflow <div style= "height: 200; width: 400px; overflow: auto;" id= "child"> // dynamic content which makes width of the child div to overflow horizontally...
stackexchange/codereview
Is there some library to capture a screen to be a compressed video file or some solution that can do it?
stackexchange/codereview
I've been reading up on REST web services and would like to implement a rest service of my own. All the examples on the internet that I've seen relate to database access. But what I want to achieve has nothing to do with accessing a database. I want to create a REST service that allows a large string and various other...
stackexchange/codereview
I wrote part of a program that does some heavy work with strings in C#. I initially chose C# not only because it was easier to use .NET's data structures, but also because I need to use this program to analyse some 2-3 million text records in a database, and it is much easier to connect to databases using C#. There was...
stackexchange/codereview
Dear All, Actually I have done all my Biz(business layer) and DAL CRUD Opprations using static methodes and I just send my error messages to my log table a sample of biz layer public static bool Delete(Guid LogGroupID) { using (DAL.ChroXEntities db = new ChroX.DAL.ChroXEntities()) { var...
stackexchange/codereview
Is there any way to change an int file descriptor to a FILE struct pointer or/and change FILE* to a file descriptor in C?
stackexchange/codereview
I have this struct: #define sbuffer 128 #define xbuffer 1024 typedef struct{ char name[sbuffer]; char att[sbuffer]; char type[sbuffer]; int noOfVal; int ints[xbuffer]; double doubles[xbuffer]; char *strings[xbuffer]; } variable; I need to create an array from this struct, I did this variab...
stackexchange/codereview
I hope someone can help me out with this. I'd like to measure sorting algorithms. Here's how I currently do it: M = 1000 # number of executions N = [1000, 2000, 4000, 16000] # size of the list L = [100, 1000, 2000,16000] # max element of the list # timing: print 'Number of executions: %i' % (M) print '-'*80 print '\tL...
stackexchange/codereview
I just have a question about writing a function that will search a directory for the most recent log in a directory. I currently came up with one, but I'm wondering if there is a better (perhaps more proper) way of doing this. I'm currently using hdsentinel to create logs on computer and placing the log in a directory....
stackexchange/codereview
I added the ADBannerView to a view and when I load the app I get the following message: ADBannerView: WARNING A banner view (0x7a023c0) has an ad but may be obscured. This message is only printed once per banner view. As far as I can see the entire banner is visible on the screen. Is this really a problem? Or is it onl...
stackexchange/codereview
I'm trying to display some very simple data using Google Charts API. My data are a serie of X,Y points: (1,44) (2,46) (3,46) (4,43) (5,46) and (6,44). X-axis : from 0 to 300, step 50 Y-axis : from 1 to 50, step 5 I should end up with a line almost in the top, to the left, of the chart (43-46 are near 50). But here is w...
stackexchange/codereview
I have the following /res/values/uris.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="bladder">blahblah</string> </resources> I am accessing it in code: private String bladderUrl= getString(R.string.bladder); But it is returning null. I'm not sure why?
stackexchange/codereview
I have this custom compiled PHP (v5.3.3) with the following extensions enabled (via configure): ./configure --prefix=/usr/local/php5.3.3 --with-config-file-path=/usr/local/apache2/conf --with-apxs2=/usr/local/apache2/bin/apxs --with-bz2 --with-curl=/usr/lib --with-curlwrappers --with-freetype-dir=/usr/local --w...
stackexchange/codereview
I'm looking for a way so that I can use the same portion of code to deal with parameter passing through Set or variadic parameters. e.g. public void func(String...strs){ for (String str : strs){ //Deal with str } } According to the spec, the func will also supports: public void func(Set<String> strs){...
stackexchange/codereview
My knowledge of these systems is not large so please forgive me if I am asking dumb questions. I hope to achieve the following: Idp (AD FS 2.0) -> SAML 2.0 -> Sp (simpleSAMLphp) *I don't need anything more fancy than to simply authenticate a user. I have attempted to configure Windows Server 2008 with AD FS 2.0 (domai...
stackexchange/codereview
I've been really loving this extension method in my .NET 4.0 code: public static bool In<T>(this T source, params T[] list) { if(null==source) throw new ArgumentNullException("source"); return list.Contains(source); } Now, I'd really like to use it in my .net 3.5 project, but it's missing the Contains method. How...
stackexchange/codereview
In an abstract class is the following abstract method definition: public abstract Map<String, String> aMethod(aType type); I am unable to prevent this warning in Eclipse: References to generic type Map should be parameterized I've been searching around and can't seem to work this out. I've found others experiencing ...
stackexchange/codereview
I realize that it's been asked and answered that Visual Studio does not support CIL/MSIL projects. The MSBuildContrib project has an ILASM task which allows you to compile IL files at build time. Googled came up empty on examples for how to use this task. Are there any examples of using ILASM as part of a Visual Studio...
stackexchange/codereview
I m fairly new to working with the TFS SDK and & was wondering whether it's possible to use/write a custom editor 'control' for the work item text editor.. in order to provide more powerful editing capabilities (images, tables etc). Does anyone know whether this is possible without breaking the rules of physics and/or ...
stackexchange/codereview
I have made a program that allows users to draw lines onto a picturebox image but now need to save these lines to be opened at a later date. This is my current code for drawing the lines: public partial class Form1 : Form { public Form1() { InitializeComponent(); pictureBox1...
stackexchange/codereview
I'm going to start this off by saying that I am new to GLSL but have a decent amount of experience with OpenGL. I currently have a project that I want to practice shaders with. I am using gluTeapot and having it rotate around the xyz axis and I want to practice writing a basic shader with it. I currently have a sample ...
stackexchange/codereview
I am using python 2.4 and trying to debug a twisted application. Is there any way by which I can perhaps put a watch on an object and break execution when its value changes. For Example To start with A.state="connected" What I want is a notification or pause in execution when A.state changes its value. I am new to pdb...
stackexchange/codereview
[Python 3.1] I'm following up on the design concept that tuples should be of known length (see this comment), and unknown length tuples should be replaced with lists in most circumstances. My question is under what circumstances should I deviate from that rule? For example, I understand that tuples are faster to create...
stackexchange/codereview
I am having some issues assigning the iPhone app icons in MonoTouch - Initially I only had an 114x114 icon and so assigned it to the iPhone4 field (in the Icon's tab) that expects the 114 image but it didn't come through - neither on the simulator nor the phone itself. Then when I renamed the icon to icon.png and pla...
stackexchange/codereview
Does anyone know if an end user purchases the Kinect sensor, he can program using it to make own games. Or is the API only for professional game studios?
stackexchange/codereview
Consider the following scenario. I have a table (a stupid_table) in a schema over which I have no control. It's third party, off limits. No touchy. I can query it, but not add indexes or new tables or change the design. Every column in the stupid_table is a VARCHAR2(50 BYTE), there are lots of columns but I only need t...
stackexchange/codereview
I am making an audio recorded using NAudio in C# and i need to remove the stop button used and simply stop the recording on its own after some time delay. The code for the record event is private void cmbRecord_Click(object sender, EventArgs e) { outputFilename = "file address"; wav...
stackexchange/codereview
I have a treeview that renders as tables. The html would be something like: <div id="tree"> <table><tr><td></td><td></td><td></td></tr></table> <div> <table><tr><td></td><td></td><td></td></tr></table> </div> <table><tr><td></td><td></td><td></td></tr></table> <div> <table><tr><td></td><td></td><td></...
stackexchange/codereview
This is more a question of curiosity why MatrixTransform the way it is, rather than a real problem. MSDN gives the affine transformation matrix of MatrixTransform like this: m11 m12 0 A := m21 m22 0 offX offY 1 http://msdn.microsoft.com/en-us/library/system.windows.media.matrixtransform(v=VS.100).aspx To...
stackexchange/codereview
I am looking for creating Forms or Pages in Salesforce using APIs (REST/SOAP). Is it possible to create them dynamically or is it always modelled through VisualForce ? Any Ideas will be helpful. Regards, Srinivas
stackexchange/codereview
I have 2 tables: Table1 S/N OnId FromDate ToDate Value aaa 1 2010-10-09 2010-10-15 ? aaa 2 2010-10-10 2010-10-29 ? bbb 1 2010-10-16 2010-10-20 ? Table2 Id Date Count 1 2010-10-03 100 2 2010-10-03 150 1 2010-10-08 20...
stackexchange/codereview
Currently learning Scheme/Racket and have problem running this piece of code. (if (or (< aftnHour 0) (> aftnHour 6)) ((display "You entered an invalid input. Please enter an input between 0 and 8 only.") (newline)(newline)(askAftnHour)) My goal is to check if a variable is not between 0 and 6. If that con...
stackexchange/codereview
Can I use capacity to find the actual size or length of a ShortBuffer? From what I have read it returns the number of elements contained in the buffer. But the word "capacity" is so ambiguous. If I put an array of 5 shorts in this buffer, will capacity always return 5?
stackexchange/codereview
I have the following construct in my HTML document: <div class="content"> <section class="column"></section> <aside class="column"></aside> </div> And I want to match the heights of the section and aside to the height of the tallest of the two. I have the following script, but it's not working, any ideas: function ...
stackexchange/codereview
When calling a Multicast Delegate one should use GetInvocationList to call one by one the delegate: public void IterateAll() { if( _doExecute != null ) { foreach( ExecuteCallback doSingleExecute in _doExecute.GetInvocationList() ) { try { doSingleExecute()...
stackexchange/codereview
I've got a bit of an chicken and an egg. I need to bind a gridview to a set of database values. The gridview is dynamic and the columns, cells are created at run time. As such, I need to re-bind the grid on every postback in the pre-init, init events after very post back. However, the data used to populate the grid us...
stackexchange/codereview
I wrote a custom Javadoc taglet that adds a new note tag: ... public boolean isInlineTag() { return false; } public String toString(Tag tag) { return "<pre class='note'>" + tag.text() + "</pre>"; } It works so far, but inline tags are not expanded. Here is an example comment: /** * @note Test note with ...
stackexchange/codereview
What exactly does the One-Definition Rule in C++ say? The only trustworthy occurrence I can find is in The C++ Programming Language, 3rd. ed., P. 9.2.3. Is there any official definition of the rule except that?
stackexchange/codereview
$query = "CALL .........."; $result = $wpdb->get_results($query); print_r($results); Is returning an empty array, how do you run stored procedures from the $wpdb class?
stackexchange/codereview
I know this could be a vague question (or not!). I've seen this somewhere 2^n-1 (or 2^n+1). Where do you see this equation? and why is it significant? And when do you use it?
stackexchange/codereview
I want to do this: case cost when cost between 1 and 3 then cost * 1.1 when cost between 3 and 5 then cost * 1.2 else 0
stackexchange/codereview
In my application I save voxel-data (compressed byte array) and trying to load it back again into memory. But my application crashes in Windows 7 machine (64 bit ,12 GB) giving bad_alloc . This works fine on Linux ,and even runs on some other Windows 7 machine with 4 GB memory. Compressed bye size is about 200Mb and u...
stackexchange/codereview
My app crashes when I do [self.navigationController popViewControllerAnimated:YES]. It crashes more on Device than on Simulator. Please suggest how to fix this? Date/Time: 2010-11-09 10:51:41.325 +0800 OS Version: iPhone OS 4.0.1 (8A306) Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGBUS) Excepti...
stackexchange/codereview
(This is not so much a problem as an exercise in pedantry, so here goes.) I've made a nice little program that is native to my linux OS, but I'm thinking it's useful enough to exist on my Windows machine too. Thus, I'd like to access Windows' environment variables, and MSDN cites an example like this: const DWORD buff_...
stackexchange/codereview
I want to ask the difference between air.File.documentsDirectory.resolvePath, File.userDirectory.resolvePath, air.File.applicationDirectory.resolvePath.. Can anybody explain when does the file will be store..... especially in windows
stackexchange/codereview
I'm looking to create a web based "bulletin board" so to speak, where the user can create/delete/drag/drop 'pins'--without being allowed to overlap 'pins.' Here is a diagram that should help illustrate what I'm trying to create: 'pins' are created, probably upon double click; they will prompt the user for a label. 'pi...
stackexchange/codereview
I am writing an app that publishes pictures on Facebook using facebook-ios-sdk, but everytime I upload a picture, it's displayed with the wrong orientation on my album. Here's the code I am using, note that I account for the orientation on the second line: ALAssetRepresentation *rep = [currentAsset defaultRepresenta...
stackexchange/codereview
Looking through PIL (and related to this question), where can I get a comprehensive list of Image modes? I see "RGB", "RGBX", my code has "BGRX" somehow even though it's not mentioned in the PIL docs that I can see. How can I see which is which, what PIL supports, and what proper modes to select when interacting with w...
stackexchange/codereview
If you work regularly with vBulletin, you've probably seen this type of error before. Database error in vBulletin : mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /home/detroit/public_html/blab/includes/class_core.php on line 311 MyS...
stackexchange/codereview
I would like to apply a light greenish or reddish hue to the entire desktop or select application windows using Windows 7 Aero. Assuming this is this possible with Aero, is it possible with it so I could potentially port my application to XP?
stackexchange/codereview
I have a List(Of MyType) and I would like to use LINQ to get a subset of the list. On MyType there's a field called AccountNumber. Can I use LINQ to say soemthing like this? Dim t As List(Of MyType) t = GetMyTypes() t = t.Where(AccountNumber = "123") Thanks
stackexchange/codereview
i have a little problem. At the followed link you can see a small jQuery-based comment field. If i clicked the more button ("mehr") on the left side, it will open the detailbox which belongs to the current box left. The detailboxes are absolute positioned, so if the detailbox is heigher than the free place it will crop...
stackexchange/codereview
I've been running in to a wall on this one...any help would be much appreciated. I have a site with a custom horizontal accordion near the top. At the bottom, I have a button that triggers a custom drawer animation. The problem: When I click the button at the bottom, the horizontal accordion is affected. The accordio...
stackexchange/codereview
I need to replicate a MS Access database in .NET via an XML file that I receive over the internet. The target database has to be exactly the same as the original (same content and same PKs). Since I have many tables to copy, I use an OleDbDataAdapter that generates the insert queries for me. This works well, even for t...
stackexchange/codereview
i have a php site, And in the site, there is a section for downloading an html page ( which contains 5000 lines). It is working in Mozilla, safari. But it take a very huge time in IE, but it works. How can i reduce the time delay fo IE browser
stackexchange/codereview
I am making a fb app and this is what I need to do: I get the page id of a business page and I need to get the admin_id of the page. I am using the following code and I get the error message which I have copied at the end. Can anyone kindly help me ? Thanks. include_once 'facebook.php'; $facebook = new Facebook($api_...
stackexchange/codereview
I'm pretty sure this can't be done in Oracle, but I'd love to be proved wrong... Say I have a huge table in with lots of columns and I want to create indexes on a dozen or so columns. Using Oracle, I'd fire off several sequential create index statements and go off and boil the kettle. Each create index needs to scan th...
stackexchange/codereview