instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am contacting a web service multiple times to get a JSON String via HttpGet and DefaultHttpClient. ... DefaultHttpClient defaultHttpClient = new DefaultHttpClient(); HttpGet httpGet = new HttpGet(url); HttpResponse httpResponse = (HttpResponse)defaultHttpClient.execute(httpGet); HttpEntity httpEntity = httpResponse.g...
stackexchange/codereview
So I am creating a plugin system for my app. I have the following components: 1) Main Application 2) PluginInterface.dll 3) Plugin(s).dll The problem now is that, when I create my plugins and compile them, there are more then just the Plugin.dll file. It has other required files in the Release directory such as the Plu...
stackexchange/codereview
If FlushMode.AUTO is set, will Hibernate flush my updated persistent object when I call session.close()? I know that session.close() does not normally flush the session but I'm not sure how FlushMode.AUTO affects this. From the Docs: FlushMode.AUTO The Session is sometimes flushed before query execution in order to ...
stackexchange/codereview
We've been using WAS 6.1 so far to deploy our web apps. Now we need to migrate to an economics-savvy Tomcat + OpenEJB solution. The OpenEJB 3.1.2 container is plugged into Tomcat 6.18, no standalone OpenEJB server here. So here I am, trying to deploy my EJB 2.1 objects into OpenEJB... My problem is that the EJBs code r...
stackexchange/codereview
Does using an NSFetchedResultsController provide any performance advantages on the iPhone over an NSArray? I have between 4,000 and 8,000 records stored in core data and wanted to know if I should select one over the other. Is the NSFetchedResultsController just used to make code 'prettier'? My concern is searching, ...
stackexchange/codereview
I am trying to upload my app on Cydia and it requires .deb package. I am unable to figure out how to make .deb packages on mac. I am using 10.6.3 when I write this command on terminal dpkg-deb -b MyProgram Terminal output is -bash: dpkg-deb: command not found I've install fink, Mac ports insert Mac DVD to find out b...
stackexchange/codereview
I'm trying to use a PHP script to login to another web site (a Moodle install, in this case) by POSTING to the login page. This code seems to partially work. The problem is that only the first parameter is recognized by the receiving end. For the code shown below, only the 'username' parameter is recognized. Howev...
stackexchange/codereview
and this is my first question here ! I use UIButton with UISwitch functionality and i want to save/retrieve state of UIButton. Pls HELP! Resolved! Thanks Kalle and aBitObvious ! code i use : .h @interface RetinaViewController : UIViewController { IBOutlet UIButton *mybutton; } -(IBAction) toggleUIButtonImage:(id)se...
stackexchange/codereview
How to override? ToString() textBox1.Text.**ToString()**
stackexchange/codereview
When developing an Eclipse plug-in, is there a way to hook into the workspace (not workbench) startup- or initialization process? I'd like my plug-in to be notified when all the projects belonging to the workspace are known. The project-lifecycle and resource listeners only provide callbacks for modification, creation ...
stackexchange/codereview
I'm trying to develop a voting system in PHP for my posts where visitors can vote them up or down and then I should be able to sort posts by highest/lowest rated. Can anyone please recommend a good script I can use for this?
stackexchange/codereview
Here is my problem : I want to assign an Event on an UIButton. I use this method : - (void)addTarget:(id)target action:(SEL)action forControlEvents:(UIControlEvents)controlEvents like this : [newsButton addTarget:self action:@selector(myEvent2) forControlEvents:UIControlEventTouchUpInside]; newsButton is my UIButto...
stackexchange/codereview
I was wondering how and where companies like Foursquare/Gowalla find and keep up to date their list of location/businesses. Is it a web service? Do they buy a directory and enter it into a database?
stackexchange/codereview
The application I'm using only plays sounds after enough sound has been generated. Say I click the mouse 10 times, with no sound, and then after those ten clicks I'll hear ten mouse click sounds (for example) The only way I've found to alleviate this problem is to set a very short buffer size, which I don't want to do....
stackexchange/codereview
i have this rewrite rule for my urls, it deosnt seem to acess the css and images, why? :)) orginal url its working: http://www.example.co.uk/viewprofile.php?user=muna rewrited url, this deosnt work: http://www.example.co.uk/user/muna htaccess code: RewriteEngine On RewriteRule ^user/([^/]*)$ /viewprofile.php?user=$1 ...
stackexchange/codereview
I am trying to create an ecommerce product that takes orders for print jobs. I would like to create tables such as the ones here on solopress for example http://www.solopress.com/leaflet-printing/leaflets.html. I am just struggling a little with the logical steps of modelling this in a database. Firstly how would I go ...
stackexchange/codereview
"Blogging on App Engine, part 1: Static serving" describes how to properly handle dynamic content caching when using python with GAE. It covers DownStream caching, conditional GETs, 404 responses, Etags... I haven't found anything as comprehensive related to a targeted asp.net mvc implementation. What would be the most...
stackexchange/codereview
I was wondering if there is a Parallel.For equivalent to the .net version for Java? If there is could someone please supply an example? thanks!
stackexchange/codereview
The application works fine in the emulator. This issue manifests on the Sprint HTC Android phone. The program uses a TabActivity which contains a MapHandler / ItemizedOverlay. When a marker on the map is touched, the overlay onTap method is called. In this method, an alert dialog is displayed then, after a button is pr...
stackexchange/codereview
void add(int register, int& acc) { acc += register; } main.cpp:124: error: expected primary-expression before ‘register’ wth is wrong right there?
stackexchange/codereview
I have a model with a unique integer that needs to increment with regards to a foreign key, and the following code is how I currently handle it: class MyModel(models.Model): business = models.ForeignKey(Business) number = models.PositiveIntegerField() spam = models.CharField(max_length=255) class Meta:...
stackexchange/codereview
I have these code which I have converted from Java. Now I need to change this DecimalFormat in C# Syntex. private string formatValue(double dVal) { DecimalFormat df = new DecimalFormat(); df.applyPattern("######.###"); DecimalFormatSymbols dfs = new DecimalFormatSymbols(); ...
stackexchange/codereview
In the survey, there is a type of question called Matrix which it's like this: | Is Friendly | Weather | Comments =========================================== Sydney | Y | 5 | 'bla' ------------------------------------------- Singapore | Y | 10 | 'test' -----------------------...
stackexchange/codereview
I have below code, running on 32-bit windows, visual-studio. template <class T> class Test { public: T &ref; Test(T &x) :ref(x) {} }; int main() { cout<<"sizeof Test<int> : "<<sizeof(Test<int>)<<endl; cout<<"sizeof Test<double> : "<<sizeof(Test<double>)<<endl; cout<<"sizeof Test<char> : "<<sizeof(Test<char>)<<...
stackexchange/codereview
I am getting a problem in displaying the .gif file in my view.Actually I am getting the .gif files from the parser and I need to display the into my view.Can anyone suggest how to use the .gif file in our app.I am struggling a lot for this.Can we convert .gif,.tiff and .jpg files into .png with progrmming? Anyone's hel...
stackexchange/codereview
I'm using Javamail to authenticate into gmail imap server and fetch messages headers for complete mailbox one at a time and index locally. For inboxes which have few messages, this works fine. For inboxes with messages more than 10k in general, javamail imap connection gets dropped (possibly by server). The point to no...
stackexchange/codereview
in c# what is the difference between both.
stackexchange/codereview
I have one error in my program , I dont know why this error appears in 63 Line. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HeapSort { class Program { void restore(int[] T,int k) { int n = T.Length; int i,j;...
stackexchange/codereview
I've spent an hour debugging this, and I finally eliminated the PEBCAK issue. I have an internationalized application. A key part of the application uses reflection to load types from configured sources. So in configuration, there's an entry like this: <component type="Application.Component" assembly="Application, Vers...
stackexchange/codereview
I am curious to know what makes Robocopy (Robust File Copy) so fast and robust. Any body knows what is the API/Algo used for Robocopy? Anybody studied Robocopy? I am asking since I have to write a method (in .NET/C#) which will copy directories/files fast and without errors... The amount of data can go up to 15Gb and I...
stackexchange/codereview
I am using jquery UI. I have 3 comboboxes and I need to enable each field if the previous one has been filled. The following is my current code: jQuery(document).ready(function(){ $("#box1").combobox(); $("#box2").combobox(); $("#box3").combobox(); });
stackexchange/codereview
I have a zend form which is using a view script. I want to get access to the individual radio button items but I'm not sure how to do so. Right now, I just print them all out using: echo $this->element->getElement('myRadio'); That prints them all out vertically. I need a little more control. I need to be able to print...
stackexchange/codereview
I'm using beamer package to produce slides. I put many figures on a slide by using the subfigure package. The problem is that for captions, the subfigure are labeled "a", "b".. "m", "n" and so on, for subfigures appearing on different slides. How could I reset the subfigure numbering when passing to a new slide? Thanks...
stackexchange/codereview
document.getElementById('dvFile').innerHTML += txt; is not working internet explorer 7
stackexchange/codereview
How do I put a period into a PHP regular expression? The way it is used in the code is: echo(preg_match("/\$\d{1,}\./", '$645.', $matches)); But apparently the period in that $645. doesn't get recognized. Requesting tips on how to make this work.
stackexchange/codereview
2 days ago we switched in our office from PHP 5.2.x to 5.3.x and it caused some problems at first, but we managed to fix 'em pretty fast. Since lots of bugfixes were done by looking at error logs, something popped up in my mind. Well, there are all these PHP Notices about undefined variables and other, as I consider, n...
stackexchange/codereview
$(document).ready(function () { $('#carousel a, #footer a').click(selectNav); // When any a-tag within divs with id="carousel" or id="footer" are clicked... // I want to indicate which pannel was slected in the carousel div by adding a css class to the coresponding a element within it. function selectNav()...
stackexchange/codereview
I have a .js file with code compatible for both php and js languages. The file is read and edited by php and then fetched by JS. so the extension is JS, is there any way that i can require this file in my php script and the file may execute normally as a require/include would work on a .php file. I dont want to Eval th...
stackexchange/codereview
Basically I want to check whether a cell in a UITableView has been loaded/viewed before so I can perform an animation on the first view of the cell. Does anyone know how I would go about doing this? I'm guessing this is probably a backwards way of doing this, if you can think of a nicer way of checking then i'm all ear...
stackexchange/codereview
This question is more towards Design and Architecture and I want to know SO Readers think on my scenario. I have a requirement where in my Application should provide other application interface when the user logs in to my application. For example, lets say my application is www.gmail.com and other application is www....
stackexchange/codereview
I have a masterpage and a content page. In the content page I have a script manager and an update panel. In the update panel I want to be able to click a button which would hit a public method on the master page to show a message. This works if I don't have an update panel on the content page but is there a way to get...
stackexchange/codereview
<div id="broadcast"> <div class="broadcast_element"> <div class="broadcast_username"><?php echo $row[0]?>:</div> <div class="broadcast_broadcast"><?php echo $row[2];?></div> </div> </div> Simplified CSS: .broadcast_element { width: 100%; } \#broadcast { width: 200px; } The problem is: The php script echoes the da...
stackexchange/codereview
I am making a project that draw Numbers in multicolored random dots. If you type in a 1,000,000 the scree will slowly paint with 1M dots that look like the number. I'm migrating to WPF and wanted known if there is an easy wat to pain on top of a text block as that will save a lot of hit testing for me.
stackexchange/codereview
I have made a Config file and have multiple values for a keyword as: [section] database: mysql , sqlite and i want to access the values separately..How to go about it??
stackexchange/codereview
I have called snprintf a few times consecutively with different arguments. I take the time needed for each snprintf. I found that the first call to snprintf takes the longest time. After that, the time needed to call the same function decreases until it converges. What is the reason for that? I have tried with other fu...
stackexchange/codereview
how can i split them into an array of items, i.e. array[0] = "ABC ", array[1] = "YXYZ", array[2] = " " array[3]= " 123 " ... Regular Expression Gurus! Help! Don't care about performance, only code terseness, i.e. nifty unreadable code is totally fine. EXTRA CREDIT: I really want to do this --> everything in [ ] needs t...
stackexchange/codereview
Hey, I've an obvious question. For code like: <div> <p>We want to format this text :)</p> </div> Some people use selector like: div > p { something } And others: div p { something } What's the difference in this case? In my opinion - none? And by the way, isn't the descendant item always a child?! Wha...
stackexchange/codereview
In data structures, I get converting in order and pre-order formula conversions into trees. However, I'm not so good with post-order. For the given formula x y z + a b - c * / - I came up with - / \ * / (divide) / \ / \ x + ...
stackexchange/codereview
I'm working with a fairly complex data edit activity in Android that makes use of the bundle object a lot when saving form data. In general this works pretty well and I haven't experienced any data loss. However I have a strange intermittent bug that I can't seem to find the direct cause of. It happens when I send an i...
stackexchange/codereview
I have a C/C++ application in which I define a Python module. I set up Python like this: PyImport_AppendInittab("myModule", initmymodule); Py_Initialize(); PyObject *module = PyImport_ImportModule("myModule"); On the ImportModule call, I get this warning: sys:1: RuntimeWarning: Python C API version mismatch for modu...
stackexchange/codereview
I was wondering if there is an effective way to debug problems in xcode while coding in Objective-C. I create webpages constantly and code in jquery and javascript where you can set various alert boxes in different places in your code to determine if your script is properly executing sections. Can you do something li...
stackexchange/codereview
Is it bad form to use the GNU getopt in C++ programs? Is there a C++ specific alternative, or should I still just use getopt?
stackexchange/codereview
I found this code for populate searchoption editoptions: { value: "List:School" }, stype: 'select', searchoptions: { value: "List:List Prices;School:School Prices" } But I want to Populate it from Data in Controller use some JQuery Ajax like this $.getJSON(url, function (data) How can I do it.Thanks !
stackexchange/codereview
I'm looking at this Telerik demo, and am unable to get the "count" statement to work. I believe that the following command is only supported on EntityFramework, and not Linq2SQL. return CurrentDataSource.Products.Where(where).Count(); The parameter "where" in lowercase is actually a string that is passed in the ADO....
stackexchange/codereview
I've created a simple example of a table with a xmltype column --set up the able CREATE TABLE dept (name varchar2(20), employees XMLTYPE); --insert a test row INSERT INTO dept VALUES ( 'Sales', XMLTYPE.createxml( '<?xml version="1.0" encoding="UTF-8"?> <People> ...
stackexchange/codereview
Possible Duplicate: Has anyone found Garbage Collection tuning to be useful? Does it really help? Isn't the jvm written by much smarter people? What will be case to tune it manually?
stackexchange/codereview
I currently have the following script as post build on a project: if $(ConfigurationName) == "Debug (x64)" || $(ConfigurationName) == "Release (x64)" (goto :x64) if $(ConfigurationName) == "Debug" || $(ConfigurationName) == "Release" (goto :x86) :x64 copy "$(SolutionDir)References\x64\System.Data.SQLite.dll" "$(Target...
stackexchange/codereview
I'm trying to re-assign a new tab-index on a given form. To do this I want to exclude any form elements that are invisible (not visible) -- and also exclude any form elements that possess a specific class (".offscreen"). I'm trying this method -- but, it's not working (and is perhaps not the most efficient method). fun...
stackexchange/codereview
I am a begginer with Javascript/jQuery and I hope someone can help me with the following: I have a simple form (7 questions; 3 radio buttons/answers per question - except for question 5 with 8 possible choices ) and based on the selected answers, when user clicks on 'view-advice' I want to display relevant advices (com...
stackexchange/codereview
Sometimes the iOS device will not connect to the available WiFi automatically, but it will if Safari is launched and try to browse to any site (or go to Settings->Wi-Fi and select the desired network). This is probably for battery savings reasons. How to trigger this from your app?
stackexchange/codereview
I'm not exactly sure what my problem is, so this question may require some more clarification, but here's what seems to be most relevant: I have a has_many :through and the join model has some fields that aren't foreign keys. When I build the models up and try to save I get a validation error on the non-foreign key fi...
stackexchange/codereview
If not, what is the best way to do this? Right now I'm doing (for a django project): if not 'thing_for_purpose' in request.session: request.session['thing_for_purpose'] = 5 but its pretty awkward. In Ruby it would be: request.session['thing_for_purpose'] ||= 5 which is much nicer.
stackexchange/codereview
I did setup like this but result is still like this: Where do I make a mistake? it was casued by google analytics code. i had to setup this way var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxx-1'], ['_setDomainName', 'www.xxxxxxx.com'], ['_trackPageview']);
stackexchange/codereview
I'm using the ismobiledevice value in the array that get_browser() returns to redirect users to the mobile version of a page. However, when I access the page from an iPhone, the ismobiledevice value doesn't come back as 1. What could be the cause and how can I fix it?
stackexchange/codereview
I am required to write a C# program, that, given a list of servers and services running on them, remotely logs into the servers, stops the service, changes the password associated with that service and restarts the service. I am not entirely sure if it is even possible, but I would like to believe it is. Any pointers a...
stackexchange/codereview
I am working with ASP.NET and need to manage with a string typed by the user in order to extract some information. The user enters a normal text, words and numbers, but sometimes he may type a mathematical expression in MATHML, these expressions are always an xml string enclosed by the tag. I want to extract from the ...
stackexchange/codereview
I've written a custom admin filter, now I'm looking for tests of the builtin filterspecs...where can I find those? A jmoritz@laptop:~/workspace/django/django$ grep -ir testcase . | grep -ir admin returned only the admindocs tests...
stackexchange/codereview
I am trying to use ProGuard with Android. I have found several ProGuard scrips to use, with the following one being an example (I have found several others that are the same or very similar). However, when I try and run ProGuard using this script, I get the error: "Expecting java type before ';' in line 23 of file .....
stackexchange/codereview
I've seen this somewhere, but I don't remeber the page. I'd like to extend the HTML tags, so then I can add my own attributes to the HTML elements, I saw a example where the developer added a new xmlns to the page definition, so he could add new things and still be a valid XHTML. What is the name of this technique and ...
stackexchange/codereview
I would like to know how long a Deferred takes to execute, from the time the first callback is fired to the final result. Any ideas on how to do that, possibly in a non-invasive manner ( meaning no modification on any of the callback functions in order to track the execution time ) ?
stackexchange/codereview
I have inflated a View into a PopupWindow. This View includes a TextView where I want to place text at runtime. I need to count the number of lines the TextView uses in order to adjust the size of the pop-up. For this purpose I use TextView's getLineCount() and draw the TextView before counting the number of lines ( my...
stackexchange/codereview
I want to display a status message after a server side postback. Currently to do this, I use blockUI for blocking a div while the save is in progress I unblock the div with a custom End request handler for my update panel To display status messages, I use scriptmanager's registerstartupscript() in my try catch block o...
stackexchange/codereview
If a snapshot of the database is taken, can it be copied over to another drive and re-created?
stackexchange/codereview
Is there a recomended way of saving my application's settings (like user selections, window size, postion etc.) in a file (ini or any other format) using Qt?
stackexchange/codereview
I noticed that the startup time of a minimal console application in Java is slightly more than 100 ms on my machine compared to 1 ms of an equivalent C application. Although it is not a problem in most cases I would like to find out if there is a way to reduce this time because I need to write an application that will ...
stackexchange/codereview
Compare two codes as follow: 1 #include <new> 2 #include <cstdio> 3 class CA 4 { 5 public: 6 int i, j, k; 7 }; 8 9 int main() 10 { 11 int aa[4] = { 1, 2, 3, 4 }; 12 CA *i = new(aa) CA(); 13 printf("%d %d %d %d\n", aa[0], aa[1], aa[2], aa[3]); 14 return 0; 15 } 1 #inc...
stackexchange/codereview
What is the return type of Regex.Split?
stackexchange/codereview
I am doing the following null check , even thought the object is null its still unable to check that if(callbackResults.Details[0].Tags!='') // Tags are coming as null from backend.. details is a json object. Tags is again a object array inside details. the above null check is failing and its going inside the loop can...
stackexchange/codereview
Is there a way to tell an entire controller to render a particular partial or text? Example: class PageNotesController < ApplicationController render :text => "Testing" def index @notes = PageNotes.all end def show @note = PageNotes.find(params[:id]) end def create @note = PageNotes.create(par...
stackexchange/codereview
I have a page that makes the same JSONP request multiple times in a single page load. In most browsers this works fine, but Safari caches the response locally until such time as the page is reloaded. Even when I send back a Cache-Control: no-cache header on the response. consider the following example code: var plcbC...
stackexchange/codereview
I have an array which stores custom objects. Objects are of type Venue which have a property defined as name(which contains the names of venue). Now I want to filter out objects with unique names. This is how I was trying to do. NSSet *uniqueVenuesSet = [NSSet setWithArray:[venueArray valueForKey:@"name"]]; NSMutable...
stackexchange/codereview
I need to get the entire contents of a page with javascript and send it to a server script to save it. I want to do this after the user has made some changes to the page using AJAX and other javascript tools. I don't want the state of certain elements. I'd like to essentially get everything inside the body tag so I can...
stackexchange/codereview
I have a very simple table(mapped as AuthToken class), consisting of a string ('token'), and a userid (foreign key to another table), with 'user' as relation ( = class User) session.query(AuthToken.user).one() gives back the token, and the userid (as a tuple), but not the user object. Does anybody know why? thanks!
stackexchange/codereview
I have a class AllListener to encapsulate multiple Listeners as follows. The problem is I have to write a loop in each event method(onStart(), onEnd()). It's quite normal way in observer pattern code, but it's bad smell. Any better way to write loop once? Thank you! class AllListener{ List<Listener> listeners; ...
stackexchange/codereview
I am developing a USB based bootloader for HCS08 family of micro-controllers. I have the bootloader code in assembly(which works fine for serial communication). I am calling a C functions for USB communication (Terminal<>Micro controller) from this assembly code. However, it seems that these C functions are not gettin...
stackexchange/codereview
How to fix CA2000 code analysis error in following function on statement DataTable dtSummary = new DataTable("Summary");? CA2000 going off If I use using block on dtSummary and I can't use using block in below function becuase some other function is going to use return datatable from GetSummaryReportTable function. pri...
stackexchange/codereview
I'm playing around with C++ for the first time in years. Making an app using Qt, with the Qt IDE. I want to make an app to integrate with the Flickr API. I've got to the point where i need to make a call to a URL. Flickr API: http://flickr.com/services/rest/?method=flickr.people.getInfo&api_key=987654321&auth_token...
stackexchange/codereview
I have developed a DLLin c++ using visual studio 2008. I want to run static code analysis on it using a tool which requires me to compile it on command line. How can i use cl.exe to achieve this. My project depends on the boost date_time library and couple other referenced projects. How to build a DLL from the command ...
stackexchange/codereview
I'd like to trim the leading whitespace inside p tags in XML, so this: <p> Hey, <em>italics</em> and <em>italics</em>!</p> Becomes this: <p>Hey, <em>italics</em> and <em>italics</em>!</p> (Trimming trailing whitespace won't hurt, but it's not mandatory.) Now, I know normalize-whitespace() is supposed to do this, but...
stackexchange/codereview
I'm new to linq, now I need to do flexible sorting with sort parameter specified. but var query = from accessdoc in dt1.AsEnumerable() join content in dt2.AsEnumerable() on accessdoc.Field<string>("name") equals content.Field<string>("FileName") into docs orderby accessdoc.Field<DateTime>("Create...
stackexchange/codereview
I have a custom combo box control derived from existing WPF combo box. This custom combo has a DP called AssociatedEnum, once set it evaluates the enum menbers and adds them to Items collection.. However all this enumerating over available values, is done in Combo's loaded event Is it reasonable to assume that all the ...
stackexchange/codereview
Hi I want to parse a bibtex publications file and sort for specific fields (e.g. year) and filter certain content, to then put it on a website. I came across pybtex, which works as far as reading and parsing the bibtex file, but it is basically not documented and I can't figure out how to sort the entries. Is pybtex th...
stackexchange/codereview
I have the following code the only seems to use the last colour for the whole line..... I want the colour to be changing throughout this. Any ideas? CGContextSetLineWidth(ctx, 1.0); for(int idx = 0; idx < routeGrabInstance.points.count; idx++) { CLLocation* location = [routeGrabIns...
stackexchange/codereview
I have a file file1.txt with data: 2010/09/04,21:53:42.048,a 2010/09/04,21:53:40.923,b 2010/09/04,21:53:40.923,a 2010/09/04,21:50:42.048,a. I want to sort the file based on time stamp. I am currently using sort -t% -k1.1,1.23 file1.txt > file2.txt My expected output is 2010/09/04,21:50:42.048,a 2010/09/04,21:53:...
stackexchange/codereview
i need to make a form where when a button is clicked then another form/page opens and from that for you can return to the original form in a similar fashion a main menu/sub menu works. sorry im new to object pascal
stackexchange/codereview
I am using google analytics and have a filter for one of the websites to exclude traffic that is not within an IP range, but I am creating a new profile, to track all that traffic within that IP range. This will allow me two different profiles, one to view all traffic that is on campus, and another to view all traffic ...
stackexchange/codereview
I'm looking at a project which will require inter-process communication between a legacy Windows application using named pipes, and a new service running on a Linux server. The windows application cannot be changed. Does anyone know if there is a Linux library available that supports Windows named pipes? Or even better...
stackexchange/codereview
G'day. I'm develop android application that uses GPS module. API version that i use is Google API8. I'm implements LocationListener interface and setup listener LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); MyLocationListener myLocationListener = new MyLocationListener(); lm.reques...
stackexchange/codereview
I use the tablesorter 2.0, and I update the cells' value with ajax. After the call I would need to order again the rows, but the $('#thisTable').trigger('update') don't help me. I dealing with markup inside cells, but it can't be problem. $('#thisTable').tablesorter({ textExtraction: function(node) { return no...
stackexchange/codereview
I need to extract specific words between semicolon with a condition that these words contains "@" which mean e-mails. Here is an example: A1 >> james john;Paris street;p.o. box:12345;tel.987654321;username@site.com;usa B1 >> david eric;34th street;tel.543212345;name@web.net;canada;ottawa ... and so on Notice that ther...
stackexchange/codereview