instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have a customers Class with properties and methods defined. At present it contains methods for any type of task associated with Customers. For example, it contains a method "InsertOrUpdateCustomer". This method either inserts a new customer record to the database or facilitates editing of an existing customer record....
stackexchange/codereview
We just updated our TFS2008 to TFS2010. On the daily builds on TFS2008 I had made an extra functionality in the TFSBUILD.proj so that on Partially Succeeded builds, a work item was created. So if a build was going right, but one ore more unit tests did fail, a work item was created. This was done by putting some extra ...
stackexchange/codereview
I'm trying to create a RSS feed in Symfony. I've added the following route : rss_every_content: url: /rss/all param: { module: content, action: index, sf_format: rss } requirements: sf_method: [get] And I created a file called indexSuccess.rss.php in module/content/templates/ : test message But when I go...
stackexchange/codereview
Hi Is there any implementation of RTSP and/or MMS protocols in PHP to download streams from RTSP & MMS servers (RTSP/MMS client in PHP)?
stackexchange/codereview
The only difference I can think between a project that WAS working to now this new project that's NOT working is the fact that one may have been a normal MVC 2 project whereas this new one is an Empty MVC 2 project. I'm unaware of the differences other than some helper files... nevertheless, I get this error and I'm at...
stackexchange/codereview
I have a function to populate the list of all tables with primary keys in a selected db from a dropdown: public void PrimaryKeyTable() { //An instance of the connection string is created to manage the contents of the connection string. var sqlConnection = new SqlConnectionStringBuilder(); sqlConnection.Da...
stackexchange/codereview
My Oracle table has a column tmstp with the TIMESTAMP(3) WITH TIME ZONE datatype. When I run the following query SELECT COUNT(column1) FROM table1 WHERE tmstp BETWEEN to_timestamp_tz('10-OCT-10 05.00.00.000000000 AM -05:00', 'DD-MON-RR HH.MI.SSXFF AM TZR') AND to_timestamp_tz('11-OCT-10 04.59.59.9...
stackexchange/codereview
When I run this code: $_='xaxbxc'; if(/(x(?<foo>.))+/) { say "&: ", $&; say "0: ", $-{foo}[0]; say "1: ", $-{foo}[1]; } I get: &: xaxbxc 0: c 1: I understand that this is how it's supposed to work, but I would like to be able to somehow get the list of all matches ('a', 'b', 'c') instead of just the last...
stackexchange/codereview
I want to make a bar diagram on my website that shows what days of the week and times-of-day has the most activity/logins. So i'm wondering if someone could give me some tips on how they would do this? How i should organize the database table(s), what data to gather, and how i can present the data recorded as a bargrap...
stackexchange/codereview
When a user submits a link, is there a way to validate if he have included the http:// or not. I other words, is it possible to not only validate but also add the http:// if it is missing? I am using Rails 3.
stackexchange/codereview
I've appended the div in a previous function (contents depend on user entry). How do I get the contents of it? I'm using the correct selectors and .html() function in jQuery, but it does not see it. I'm looking for something of a .live() alternative, but not for events. I've simplified the code, but you can get the jis...
stackexchange/codereview
Suppose I have interface I and two classes A and B that implement it. The implementation of method f of this interface in A throws one set of exceptions and the implementation in B throws another set. The only common ancestor of these exceptions is java.lang.Exception. Is it reasonable to declare f throwing java.lang.E...
stackexchange/codereview
I'm currently working on a network security project that checks for XSS vulnerabilities on a website, which hopefully can be used for pen-testers out there (in case you don't believe me and think I'm some kinda script kiddy, here's the class website: http://netsec.cs.northwestern.edu/projects/). So, I'm having trouble ...
stackexchange/codereview
I´ve got in front of my eyes a project build by another guy and it is developed in ASP (not ASP.NET) so I opened it with Visual Web Developer 2010 and I can edit but it isn´t posible to debug it step by step, it´s always looking for aspx pages... do you know any other editor for asp? thanks!
stackexchange/codereview
Is there any Javascript minifier/compressor which will insert semicolons as necessary (or, one which works with source code which doesn't use semicolons)? I've started using a library which is really great, but the developer considers the semicolons as "unnecessary clutter"...
stackexchange/codereview
i've created an object A, and i want to store (add) it twice with the EF. So i have a method Save(Order order) in my repository. But when i do this: Order order = new Order(); //set props here new Repository().Save(order); new Repository().Save(order); then i get an error because in the first save it (the order) keeps...
stackexchange/codereview
Is there any role for the Project menu when working with StatET and Eclipse using Sweave and R? If so, are there any learning resources that explain how this might work? Do these menus offer anything over and above a makefile? I'm curious to learn more about building moderately complex Sweave/LaTeX/R projects. Specif...
stackexchange/codereview
I have a local xml file which I know contains UTF-8 well-formed xml. But NSXMLParser will not parse correclty. Path to file: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *appFile = [documentsDirector...
stackexchange/codereview
I need to build a windows server side application that will be responsible for receiving large files and process them (the process action will take around 3 hours). Can someone tell me what's the best approach in a case like this (windows service probably) and in that case, how to tell the service that a new file is av...
stackexchange/codereview
I have some database problems. I have SQL Server Developer installed on my local machine. When I open SQL Server Management Studio and log in with windows authentication there is no problem. I have created a new database there and added a new user. The new user is owner of the database. When I disconnect from my window...
stackexchange/codereview
what's the most elegant way to check to files for equality in Python? Checksum? Bytes comparing? Think files wont' be larger than 100-200 MB
stackexchange/codereview
select top 1 col1 from table1 order by CreatedOn desc This query takes 6 minutes on SQL Server 2005 to execute. The table contains about 25,00,000 rows and number of total columns is 36, but as shown above I am just retrieving a single column whose datatype is uniqueidentifier. So, please help me out on optimization...
stackexchange/codereview
In my Shop (name = ABC; ID = 10) show view, I want to show the nearby shops. Hence, I use this: <h1> Shops nearby <span id="title"><%=h @shop.name %></span> </h1> <% @shops.each_with_index do |shop, i| %> <% if shop.geocoded? %> { ...
stackexchange/codereview
Hi there, I am working on a server program in C#, but I've run into a problem. When a user connects, his account is authenticated, etc. That's all fine. But the problem is that the server will have to execute alot of query's and functions with the connected user's username, password, etc. as parameter. This wouldn't be...
stackexchange/codereview
i have a question. How can i pass and object to the previous view when i press the back button in UINavigationBar?
stackexchange/codereview
I need to call static method of org.hibernate.Hibernate class. How to do that in element of flow ?
stackexchange/codereview
I can't spot what I'm doing wrong here. I have 2 classes, harness and audioplayer. In the audioplayer header I have declared my function like so. - (void) loadAudioFileIntoMemory:(NSURL *)address channel:(int) value row:(int) value2; // In the audioplayer implmentation file my function is like so. - (void) loadAudioFi...
stackexchange/codereview
i want to kill specific thread of a process at command line..is there some command to achieve this?
stackexchange/codereview
I have text stored in the php variable $text. This text can be 100 or 1000 or 10000 words. As currently implemented, my page extends based on the text, but if the text is too long the page looks ugly. I want to get the length of the text and limit the number of characters to maybe 500, and if the text exceeds this limi...
stackexchange/codereview
Possible Duplicate: What is the equivalent of java wildcards in C# generics I noticed this bit of code in a java project: public interface IClientFactory<T extends MMOClient<?>> What would be the equivalent of accepting any generic in .NET/C#?
stackexchange/codereview
I am building an application using MySQL 5.0.77 that contains a) different user types (e.g. carpenter, mechanic, ..., plumber) b) different input fields for each user type, e.g. user selects carpenter and is presented with fields pertaining to that profession, where the fields for each profession are different My thi...
stackexchange/codereview
I need to dismiss the two modal view controllers, I know how to pop two or more view controllers UINavigationController* navController = self.navigationController; NSArray *array=[navController viewControllers]; UIViewController* controller = [navController.viewControllers objectAtIndex:0]; [navCont...
stackexchange/codereview
I have a bunch of 301 redirects I need to make which contain varying domains all from within the same .htaccess file. I could write a RewriteCond for each rule as below and it works fine: RewriteCond %{HTTP_HOST} www.domain1.com [NC] RewriteRule old-url-1a.htm /new-url-1a [L,R=301] RewriteCond %{HTTP_HOST} www.domain1...
stackexchange/codereview
I'm trying to figure out how I can automatically render a view as a partial (no master page) when the request is made through ajax. What I want to avoid is to use the following code in every controller method that can return ajax (since that's not very DRY): return Request.IsAjaxRequest() ? PartialView(model) : View(mo...
stackexchange/codereview
I'm working with an Android app that generates a text file and stores it on the sdcard. I would like to open the file in a text editor. The one I have installed is Office Suite Professional. I have the following code: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse ("file:///sdcard/report....
stackexchange/codereview
I have a public class, which needs 7 parameters to be passed down. At the moment, I am able to make 3 of them being passed to constructor and another 4 to a public method in the class . Like this: Public Class AClass{ private XClass axClass; private String par4; private String par5; private String pa...
stackexchange/codereview
After creating textures in Android OpenGL ES, do I have to explicitly delete these textures later using glDeleteTextures()? If so, how would I set up a callback to do this? Thanks in advance
stackexchange/codereview
I used to be able to compile C programs, but now I can't: $ cat helloworld.c #include <stdio.h> int main(void) { printf("Hello, world!\n"); return 0; } $ gcc helloworld.c helloworld.c:1:19: error: no include path in which to search for stdio.h Yes, I do have /usr/include/stdio.h . Yes, build-essentials is i...
stackexchange/codereview
I am working on the schema for my Symfony app, and I need to set the default value of two boolean fields to false. However, with all the ways I've tried to do it, when the sql gets generated, it comes out with the default keyword, but no default value after it. my last attempt was: negotiable: type: bool defau...
stackexchange/codereview
I have a classic ASP question. Attempting to do this: the recordset is a simple list of years from 1995 to 2020; and i am trying to make 2010(current year) the default selection in the drop down. issue: I trying to call a Sub proc in "Response.Write", but it keeps giving me this error: "Error '800a000d' Type mismatch...
stackexchange/codereview
I am looking for a way to show/hide desktop icons programmatically in objective-c under Mac OS X. Do you have any idea on how I can achieve this? Thanks for your help, Regards,
stackexchange/codereview
Suppose I have a UserControl Editor it has a TextBox. It also have a property Content. Here I just set the text content to a static value "Hey" <UserControl x:Class="WpfApplication1.Editor" ...> <TextBox Text="Hey" /> <!--<TextBox Text="{Binding Content}" />--> </UserControl> Then I have a Window to display al...
stackexchange/codereview
My table looks likes int callid not null, datetime segstart not null, varchar calling_pty not null What I want to get is all rows with the same calling_pty that occur more than once per day within 5 minutes of each other. I'm so stumpted. I've seen the TOP 1, datediff, and select next and previous row examples but I c...
stackexchange/codereview
Is there some way to pass system commands along with command line arguments in Eclipse? E.g passing out.txt > passout.txt to the command line arg result in the code to process the out.txt file and rest > passout.txt passed to the terminal for creation.
stackexchange/codereview
I am programing under C++, windows, I want to retrieve all content in SQLite DB, so I make use of "select * from XXX", The DB is about 4M, However if the system restarted, the first time query will be really time consuming. I want to load the db file into memory, and execute select * from XXX in memory. Is it possible ...
stackexchange/codereview
guys! I have googled a whole day,still,I can not find a solution.So, I post my question here,hope to get some hit. I want to add some blank area at the end of a webview in android, I try to set the bottom padding of webview,however, it doesn't work. I know the layout of webview is absoluteLayout,which is deprecated, an...
stackexchange/codereview
I am new to P4V (perforce) while working with this, i cannot see the default folder in pending tab as i cannt drag any files for editing. Thanks
stackexchange/codereview
Has anyone had any luck integrating Basecamp with JIRA? Even something as "simple" as assigning a Basecamp thread to a JIRA ticket and having changes to the ticket show up in Basecamp?
stackexchange/codereview
I'm trying to implement a drag and drop functionality in an Android application. The drag part is done, the one thing left is to figure out where the dragged view will be dropped? On which view, to be more precise. Here's the onTouch function of my dragged view: public boolean onTouch(View v, MotionEvent event) { //...
stackexchange/codereview
I am trying to install my program via ClickOnce on a clients PC - it has Win XP with .Net 2.0 runtime. It comes up with a problem during installation - saying that something went wrong during installation see below: I looked at the event viewer and I saw the following: Crypt32 Error, Event ID 11 Description: Failed e...
stackexchange/codereview
I have a form that handles m2m request in the validation. my form looks as follows class HuntingReportForm(ModelForm): date_travel_started = forms.DateField(widget=extras.SelectDateWidget(years=range(1970,2010))) date_travel_ended = forms.DateField(widget=extras.SelectDateWidget(years=range(1970,2010))) wis...
stackexchange/codereview
i am new to ROR. I am trying to find the online users in my rails application . I came up with an idea but not sure whether thats an better option . Please someone give suggestions in my idea. My Idea is, Maintaining a Table which contains fields(id,user_id,last_pinged_at) and this last_pinged_at to be updated at ea...
stackexchange/codereview
So I have a function inside a win32 C++ console application like: void initFFmpeg(string url ,string container, int w, int h, int fps) {// we want to return here encoder.SetConstants(fps, videoWidth, videoHeight, audioSampleRate); // ... more code... if (encoder.InitUrl(container, url, outputUserName) ==...
stackexchange/codereview
I have a custom control in C# WinForms called BaseControl and there I have a property called Selected. I want to have an event SelectedChanged and virtual method OnSelecteChanged in the base control and they should behave in the same manner as we have in Control class for many properties i.e. Click event and OnClick me...
stackexchange/codereview
I am trying to use the XPathSelectElement method of the System.Xml.XPath namespace but for some reason it always returns null, and I have no idea why. Here is the code: TextReader stream = new StreamReader("config.ini"); XmlReader reader = XmlReader.Create(stream); XElement xml = XElement.Load(reader); XElement file =...
stackexchange/codereview
I'm trying to intercept Spring Controller calls which are annotated, similar to: @RequestMapping("/my/page") @AccessRestriction(module = Module.Audit, action = AuditActions.Log) public ModelAndView myPage() { // pls type teh codez } At this point I want to access both the values of the @AccessRestriction method, t...
stackexchange/codereview
On this page on the right side I have a collapsing/expanding nav that when clicked (i.e. "What We Do," shows three more nav items) shows more nav items. Under/behind each nav item you can somewhat see a blue arrow. The design should look as seen here. How do I code it so the blue active and inactive arrows show to the...
stackexchange/codereview
I am writing a c application in Visual Studio 2008, and need to grab some information from the executable to send to another application. The info I need is what you get when you right click on an executable->Properties->Details How can you get the "Product version" and "File version" information from .exe file in c?...
stackexchange/codereview
I've read that it's bad to use self.ivar = (convenience method) in and object's 'init' method, as this messes with inheritance. However, if you know you're not going to subclass your object, is it ok to use the self keyword assignment? i.e. self.iVar = [Object objectConvenienceMethod]; The reason I ask is this. I crea...
stackexchange/codereview
My application connects as a client across an ethernet to a server process. As the server is well known and will not change, UDP and TCP are both setup using socket(); setsockopt(SO_REUSEADDR); bind(); connect(); The connection protocol includes heartbeats sent both ways. When I detect an error with the connectio...
stackexchange/codereview
class workflow { private: friend class boost::serialization::access; template<class Archive> void serialize(Archive & ar, const unsigned int version) { ar & tasks; ar & ID; } vector<taskDescriptor> tasks; int ID; How can i serialize the member "tasks" using boost libraries?
stackexchange/codereview
this question is a follow up to this one. I have one server, with two domains associated with it (tactica.de and ibeat.us). Now in my root folder I put an index.php that redirects users to the appropriate page, like this: <?php $url = $_SERVER['HTTP_HOST']; if (!eregi("ibeat",$url)) { header('Location: http://tacti...
stackexchange/codereview
I have been using PHP for some time now. And I have been thinking about learning Node.js to go along with it to use the non blocking idea for creating an online game or app. There is quite a bit of info on using the two together. Using Node as part of the back end of a game could really speed up some aspects of the gam...
stackexchange/codereview
Many compilers seem to be keeping only 0 or 1 in bool values, but I'm not sure this will always work: int a = 2; bool b = a; int c = 3 + b; // 4 or 5?
stackexchange/codereview
i had to reset my computer to factory settings yesterday and reinstall visual studio now before the clean start when i created a mvc2 application everything appeared correct but now i get a parser error when opening with iis7 and i set the application pool to asp.net v4.0 i would be able to fix this if what was in the ...
stackexchange/codereview
I am using the ScintillaNET wrapper for the Scintilla control and want to implement folding for ASM so I looked up http://sphere.sourceforge.net/flik/docs/scintilla-folding.html for reference on how to do it. Since I have never worked with C++ before, I am having a lot of problems trying to understand it. When it says ...
stackexchange/codereview
I found a simple assembly tutorial online that uses some C functions. I've already used NASM to generate a .obj file but I'm having trouble linking against the C library from the command line. How do I do this with link.exe? I'm using Visual C++ 2010 Express. Thanks for the help.
stackexchange/codereview
I have a function: def div "<div>blah</div>" end and in the view: <%= div %> but in the resulting page source: &lt;div&gt;blah&lt;/div&gt; instead of the actual string text. However, the console displays the correct tags. <% logger.info(div) %> Outputs in the console: <div>blah</div> Can anyone help?
stackexchange/codereview
In the context of this previous question I am wondering if it's possible to update a feature included in my RCP product (based on feature) without incrementing the RCP product version ? Let's say I have the following RCP application com.my.company.myproduct 1.0.0 including org.eclipse.rcp 3.5.0 com.my.company.myproduc...
stackexchange/codereview
how to find out the data transfer rate while sending and recieving the data from server in android application.
stackexchange/codereview
I have two issues, I have one method that builds a dictionary, I then save that to a global variable that I have synthesized. If I just assign it, when I try to access it from another method, its empty, if I use copy, it leaks memory. I can just assign it and it works if its, lets say, a "simpler" object like a NSStri...
stackexchange/codereview
I have the following requirement. I have a link in a HTML page and on clicking it I need to pass a parameter alongwith the link to a .exe file. This is so that the .exe file opens up with the parameter provided. Thanks in advance
stackexchange/codereview
I was wondering what is the best algorithm for URL shortening. I noticed most people do the following: 1) Get Unique auto generated id from database. 2) Encode unique auto generated id to Base 64 value. Its kind of obvious to a user what previous url's might be. What can I do to make it harder for the user to figure ...
stackexchange/codereview
I have my DocumentRoot for my virtualhost in Apache set up as the public dir of my rails app. The public dir contained the 'welcome aboard' rails index.html file, but i deleted it, created a controller called home, with the view 'index.' I then went into the config dir and uncommented root to: to point to home#index, b...
stackexchange/codereview
Is it possible to run an application and on top of that, you send keyPress events to the app and test the results using qtestlib? If yes, can somebody give me an example how to do it? If no, can somebody show me a better way accomplish the above requirement? Thanks...
stackexchange/codereview
I am developing an Android application using SQLite as backend. I want to make sure all the tables in the database use UTF-8. How can I achieve that? I have tried: CREATE TABLE myTable (_all_columns_definitions_) DEFAULT CHARSET=utf8; but a syntax error arose.
stackexchange/codereview
Some sample data: dfr <- data.frame( x = rep.int(1:10, 2), y = runif(20), g = factor(rep(letters[1:2], each = 10)) ) A simple scatterplot with two facets: p <- ggplot(dfr, aes(x, y)) + geom_point() + facet_wrap(~ g, scales = "free_y") I can set the axis limits for all panels with p + scale_y_continuous(lim...
stackexchange/codereview
I have the following Javascript/jQuery function: function addEventHandler(){ $("div").mouseenter(function() { $(this).html("Over"); }).mouseleave(function() { $(this).html("Out"); }); } It works, but not perfectly. The divs sometimes overlap slightly (don't ask), and as the picture below ...
stackexchange/codereview
I wrote a proxy server which adds a comment tag to the HEAD-section of each page. Now I want to determine in a JavaScript file if the comment is present there. How do I accomplish that? Here's an example page: <html> <head><!-- page is proxified --> <title>Hello proxified world!</title> </head> <body> <s...
stackexchange/codereview
What would be a quick and easy way to get a specific changeset for a folder, file or visual studio project from TFS to a separate directory without overriding the curent local version of my workspace? I often just need a copy of our source code from an earlier version. The only soultion I have found so far is to creat...
stackexchange/codereview
I have a series of date pickers with a class assigned to each. What I'm trying to achieve is to detect (using) the date pickers onSelect() handler the next date picker and set the minimum date to the selected date plus one day. I've tried using $(this).next('.publication_date); but this doesn't seem to return anything....
stackexchange/codereview
I have a leak in the following code: -(id)initWithCoder:(NSCoder *)aDecoder { if (self = [super init]) { self.Tag = [aDecoder decodeObjectForKey:KEY_TAG]; self.ParentTag = [aDecoder decodeObjectForKey:KEY_PARENT_TAG]; self.Order = [aDecoder decodeObjectForKey:KEY_ORDER]; self.OrderFa...
stackexchange/codereview
I would like to implement a similar effect where the pins are grouped together then separate with an animation as you get closer to the points. This effect is seen in the Photos app when you select Places with geotagged apps
stackexchange/codereview
The Three20 project is really nice for building iPhone apps quickly using common libraries: https://github.com/facebook/three20 Is there anything like this for Android?
stackexchange/codereview
I have a question. How can I build a generic type parameter? I am trying to build an expression tree and I have the following line to build: var expression = Expression .Lambda<Func<T, bool>>( operation, new ParameterExpression[] {parameter}); So it is expected t...
stackexchange/codereview
One of my base repository classes contains a method: public abstract class RepositoryBase<T, TDb> : IRepository<T> where T : IEntity where TDb : class, IDbEntity, new() { protected internal abstract Table<TDb> GetTable(); ... } I am writing unit test for derived repository class that contains implement...
stackexchange/codereview
why do I get the "-1" string displayed below, even though I submit an underscore "_" to indicate missing data value here? My bar chart - please click to see the URL parameters Is this a bug in Google Charts? I suspect they use -1 internally to indicate NULL values, but because I use &chds=-2064,8053 it becomes visible...
stackexchange/codereview
Hi I implemented a copy-protection mechanism with Microsoft's LicenseProvider model and a public/private key pair to prevent copying a program from one PC to another. Very simple. On startup, a license file has to be prent wit hencrypted information about the computer, the expiration date, and the assembly name that th...
stackexchange/codereview
Hey all, I'm just beginning to use XNA 4.0 for Windows Phone 7 and was looking for some information on how to achieve a blur effect on a Texture2D? From what I've gathered we can't use shaders on the WP7 platform and I'm finding information on this topic pretty hard to come by. Many thanks in advance, anton.
stackexchange/codereview
How to attach a DatePicker to Textbox in JQuery.
stackexchange/codereview
I am using Solr. I need to search those entries which also matches partially with the provided text the functionality should be similar to the sql query like %text% how will I do this?
stackexchange/codereview
I have two tables called Table1 and Table2 which have a 1-1 relationship. In LINQ, I have a collection of entities of Table1. Is it possible using LINQ to extract all of the Table2 counterparts of each Table1 entity in the collection?
stackexchange/codereview
Does anyone know how to access SkyDrive programmatically from Windows Phone 7? What API do I use? I need to upload files from the Phone to SkyDrive and vice versa. Some code samples would be great. :-)
stackexchange/codereview
I have been reading around and am getting conflicting answers on whether I should or should not use synclock on properties. I have a multi-threaded application that needs to get/set properties across threads on instance objects. It is currently implemented without using synclock and I have not noticed any problems so f...
stackexchange/codereview
I want to invoke a method that manipulates a control on the UI thread. My code works and I want to optimize. I am referring to this resource on MSDN. According to there, we should do public delegate void myDelegate(int anInteger, string aString); //... Label1.Invoke(new myDelegate(myMethod), new Object[] {1, "This is ...
stackexchange/codereview
As the title says, what's the difference between NULL, nil and @"" ? For example, if I want to check a string in a dictionary is empty. Which condition should I use ? if ([dictionary objectForKey:@"aString"] == nil) or if [[dictionary objectForKey:@"aString"] isEqualToString:@""] or if ([dictionary objectForKey:@"aSt...
stackexchange/codereview
Is there a way to get Emacs tags-search command to collect all search results in a buffer? Something like the way results from 'grep' and 'tags-apropos' are collected in a compilation buffer? Using M-, to iterate over the results isn't very effective if there are a large number of hits, so it'd be great if there was a...
stackexchange/codereview
Good afternoon all :) I am trying to split a string in PHP however it's not as easy as it is in C#, it seems to be a tad bit messy... I have a string, which looks something like this: blahblah1323r8b|7.45 and I would like to be able to access the results of the split like this: $var = split_result['leftside']; $var = ...
stackexchange/codereview
I hava a java program, a section of it is compute intensive, like this for i = 1 :512 COMPUTE INTENSIVE SECTION end I want to split it into multithread, make it faster when running. COMPUTE INTENSIVE SECTION is not sequential-wise. It means running i=1 first or i=5 fist are the same... Can anybody give me a grand g...
stackexchange/codereview
When I try to change the datasource of my DataGridView, I am loosing the order of the columns and their type(checkboxes,comboboxes) that i specified at design time. It's like changing the datasource is generating again the datagridview, why ? and How can I change the datasource without losing these information ? Please...
stackexchange/codereview