instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
For whatever reason, I sometimes need to find the current user's My Documents folder on Windows in a Java program to read some files. But as far as I can tell, there is no way to do it that isn't severely flawed. The first wrong way: System.getProperty("user.home"); Why it won't work: It only returns the \username\ fo...
stackexchange/codereview
While specifing background image urls in css can we get the value from a config entry. Today my server name is http://imageserver , tomorrow it may change to http://imagecacheserver. How can i change at one place so that there is no need to change in all the css files. On the .net side , i get the server url from appse...
stackexchange/codereview
I recently switched to MongoDB and I am wondering if I can continue using any of the popular admin interface solutions, such as ActiveScaffold and Typus?
stackexchange/codereview
I have a Facebook iFrame application (written in PHP) and when I run it in IE8, my session data is not persisted. I'm using Symfony 1.4 and have tried both Symfony's session wrapper and $_SESSION. I set up two test pages: the first one defines $_SESSION['foo'] = 'bar' and calls print_r($_SESSION). The second page als...
stackexchange/codereview
I am trying to make a tool that allows me to choose a certain location on a picturebox to put text from a textbox on. It will need to be able to place multiple different texts on the picturebox and then be able to be deleted. This is my current code: using System; using System.Collections.Generic; using System.Compone...
stackexchange/codereview
My problem is simple. How do I add an icon that appears in Windows Explorer ? Not the specific window I want the whole application like the command prompt has the C:\ on the icon. Is there any way I can do that without creating files and linking it to the .pro file ? Can I change that base icon in the Qt Creator ? If s...
stackexchange/codereview
I stored a value with a key like this localStorage[title] = text; I know I can recall the text by doing var text = localStorage[title] but how do you get the value of the title to insert into the localStorage so that the program knows what value to get. Is there any way to loop through the keys in the localStorage?
stackexchange/codereview
This is kind of a stupid question... I'm trying to drag and drop a picturebox onto a panel. I followed some exemples, but it doesn't work. The DragDrop event of the panel is never raised. I searched thi site for a solution andfound two topics over a year old, but their solutions did not work. I created a new project, w...
stackexchange/codereview
I need some help trying to get floats to display properly in IE. IE wants to add a newline after I try to float it [the arrow] to the right... I would like it to display like Firefox (right), where it all fits in one line, but I can't seem to figure out how... Cheers. background-image: url( '/img/arrow_down.gif' ); ...
stackexchange/codereview
I'm trying to create a multiplayer game with NodeJS and I want to synchronize the action between clients. What would be the best way to find the latency (the time that a request take to come back to the client) between the client and the server? My first idea was that the client #1 could send a timestamp with is reques...
stackexchange/codereview
I have 3rd party application using AD LDS to store its hierarchical data and I need to provide web UI in ASP.NET MVC for this system. It is using DACLs on directory entries to control users' access permissions for individual entries. I have found few good articles explaining how to read ActiveDirectoryAccessRules for ...
stackexchange/codereview
Currently I have a PNG animation on a timer that is firing every .01 seconds. However, performance isn't optimal and the animation is visibly slow. I have over 2000 images. Is there a better way to accomplish this? I've posted something similar to my approach below. timer_ = [NSTimer scheduledTimerWithTimeInterval:.01 ...
stackexchange/codereview
Is there a way to prevent code comments to be marked as changes in the diffs obtained from version control? (CVS/SVN) I hate the differences showing 100's of changes when there are only a handful due to the update in the comments for CVS info like log or id.
stackexchange/codereview
I have a web form that can be used to upload files to our server. I'm trying to also set up programmatic uploading where the user(developer) can upload the files without needing to use the web form, sort of like an API if you want to think of it this way. I'm not sure what this function is supposed to look like on eit...
stackexchange/codereview
I have been working on an app for a couple weeks now, using GoDaddy, Windows Server (I know it sucks) everything seemed ok, I have been a PHP programmer for about a year now and have never come across something like this, I have been connecting to a mysql db all day and all of a sudden I'm getting this error: Call to u...
stackexchange/codereview
I am trying to solve a simple Ruby problem from Seven Languages in Seven Weeks Print the contents of an array of sixteen numbers, four numbers at a time, using just each Here is what I came up with, can this be done in a simple way or make it better?? a = (1..16).to_a i = 0 j = [] a.each do |item| i += 1 j ...
stackexchange/codereview
In C# is it possible to make a class that can be derived from internally (unsealed), but then prevent other people referencing my library externally from inheriting from my public class (sealed)?
stackexchange/codereview
Hey guys, I have this code for an android application, the funny thing is that data is never equal to datas, can you guys explain me why, and if in case give me new read / write file functions :/ , thanks String datas = "volume of"; writesettings(datas); String data = readsettings(); String data2 = "volu...
stackexchange/codereview
I was under the impression that static files (CSS, images, @font-face files, etc) bypassed ASP.NET completely, and were served directly by IIS. However, my BeginRequest event handler is being called for every HTTP request, including those for static files. This concerns me because I'm creating an Entity Framework da...
stackexchange/codereview
I'm using the latest Visual Studio 2010, with C# 3.5 and my project is working fine on my machine. I'm using SQLite for the database, and it's just a little .db file. What's the best way for me to package this simple little application? What is the preferred way to create a project that's setup for deployment?
stackexchange/codereview
Using jQuery's delegate() method, can I get the index number of the current element? For example: $('#tracks').delegate('.track-item', 'click', function(e) { e.preventDefault(); alert($('.track-item').index(this)); }); Does anyone have an elegant solution to this?
stackexchange/codereview
Possible Duplicate: How to retrieve the android sdk version? I'm developing an Android app that needs to provide notifications. For operating systems prior to 2.2 I'm going to use polling, but for new operating systems I want to utilize the new C2DM method. Is there a way to detect which operating system the applica...
stackexchange/codereview
In my ASP.Net web application, I have a base page that implements functionality that spans all pages of the web application and my web pages derive from this base page. Since there is a single master page for the entire website, I don't want to attach the master page in each of the web pages. So I attached the Master ...
stackexchange/codereview
I have a code that uses WPF Interoperability where I have WPF Item that is being added as user control in windows forms. I use the WPF for 3D view where I add a sphere dynamically and it works fine, all I do is just send x, y and radius from the form to WPF and it draws the sphere. Now here it is the problem I made a l...
stackexchange/codereview
I'm attempting to compile to no avail. Here's the code that's causing problems: using namespace libtorrent; const address addy; new ip_filter(); ip_filter.add_rule(addy, addy, ip_filter::blocked); s.set_ip_filter(&ip_filter); The error that I keep getting is: mytorrent.cpp:1338: error: expected unqualified-id bef...
stackexchange/codereview
Currently, using Flex using FluorineFx to connect .Net back end. On the flex side I am injecting a custom value into the AMF3 header. Does anyone know how to get to the AMF header on the .Net side after FluorineFx has parsed the request? It is not apparent to me if FluorineFx gives me access to the AMF3 message afte...
stackexchange/codereview
I have two bitmap overlapped .The top bitmap is transparent and when user touch to screen i copy pixels from another bitmap to top bitmap.My goal is to give to users the feeling of erasing image with touching to see another image.However it is not working properly especially when user drags his finger too fast on the s...
stackexchange/codereview
My current project requires a search to be run on lyrics of a song, which is a String field in the Song object. To help make searches more efficient, I dump the lyric words into a set upon creation of the song object using String.split("[^a-zA-Z]"); to make a String array, then add to a set. Is there a specific way to...
stackexchange/codereview
is it possible to make a search with Doctrine case insensitive?
stackexchange/codereview
So I have just started working with HTML5 and the Canvas element. I'm working on a project where I will be creating mind maps, and I plan to do this using the Canvas element alongside java script. My questions is, How do I group shapes together in a canvas? I have no issues drawing shapes and text onto the canvas, and...
stackexchange/codereview
What's wrong with this SQL statement? I'm getting a SQLError: near "?": syntax error. 'select all counts from table as table where offset in ?' The ? has a binding of numbers with a list in it: (1,2,4).
stackexchange/codereview
If you curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 15); and 15 seconds passes and no connection is made, what will happen?
stackexchange/codereview
I would like to use regex in php to separate words and phrases out of a string. The phrases would be separated by quotes, both double and single. The regular expression would also have to take in consideration single quotes within words (ie nation's). Example string: The nation's economy 'is really' poor, but "might ...
stackexchange/codereview
I'm trying to play a WMV file in WP7 using a MediaElement control, but I always get an "ag_e_network_error" exception in the MediaFailed event of the MediaElement control. I found this solution, but it doesn't work for me because I don't have a phone connected at all. Any other solution you can think about? Here's the ...
stackexchange/codereview
Here's a wild one. I'm writing a universal entity editor using JQuery and NHibernate LINQ. So far everything works great. But now I'm trying to add sorting support. Things have gotten tricky. I want to tell it to sort on a property, but in the class, I will not know what kind of object it is until runtime. Here's ...
stackexchange/codereview
How to use CallMethodAction? It doesn't work. <i:Interaction.Triggers> <i:EventTrigger> <ei:CallMethodAction MethodName="Init" /> </i:EventTrigger> </i:Interaction.Triggers> Init method is in view model public void Init() { if (_hasEmails != true) { IsBusy = true; ...
stackexchange/codereview
I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page). I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally...
stackexchange/codereview
Is there any way to sync audio with text. I have to highlight text word by word for audio file. Text is shown in HTML pages & audioPlay function is implmented in Objective C.
stackexchange/codereview
I have a form that has many contacts. I want to be able to delete contacts without really deleting them, but marking them deleted. I have added an attribute "deleted" to my contacts table. In most cases I want a forms contacts I want only the ones that are not deleted: form.contacts.find_all_by_deleted(false) This se...
stackexchange/codereview
I assume that I understand the meaning of "protected inheritance". However, after discussing this issue with one folk here, I feel a little confused now. Here is my understanding of "protected inheritance" in c++ Assume the following class structure. class Base {} class SubClass : protected Base {} 1> If a subclass is...
stackexchange/codereview
Disclaimer: I know its asked at so many places at SO. My query is a little different. Coding Language: C# 3.5 I have a DataTable named cardsTable that pull data from DB and I have a class Cards which have only some properties(no constructor) public class Cards { public Int64 CardID { get; set; } public string...
stackexchange/codereview
I'm working on embedding a flash app in a webpage using the Satay method: <object type="application/x-shockwave-flash" data="embeddy.swf" id="embeddy" name="embeddy"> <param name="movie" value="embeddy.swf" /> </object> I want flash to provide the correct objectID in ExternalInterface.objectID, which means I need to ...
stackexchange/codereview
I'm building a program that launches another program and is then supposed to monitor it, and take action if it terminates. When the application is launched, I can get an instance of NSRunningApplication from NSWorkspace. Now, the documentation states that NSRunningApplication has the property 'terminated' that is key-v...
stackexchange/codereview
I have created a .NET 4 desktop application that runs nicely on a variety of Windows-7 based PCs, both with and without Visual Studio installed. The target PC needs to have .NET framework 4 client profile and extended profile. However, when I try running the same application on a Vista PC (this is the only PC I have wi...
stackexchange/codereview
I have used the following code. This code works sometime but sometime not works. Please explain the resion and modify the code. .aspx page: <td valign="top" align="left" width="10px" runat="server" id="tdNoteRightBar"> <asp:HiddenField runat="server" ID="hidNoteId" Value='<%# Eval("PK_ID").ToString() %>' /> <as...
stackexchange/codereview
I am trying to install the jQuery UI autocomplete on my website. I have it up and working but I want it to automatically submit the search form when someone clicks on an option. The default behavior seems to be that it just fills out the form with the selected item and then the user must click the submit button. I want...
stackexchange/codereview
ghc 6.12 dropped separate utf8-string packages since most of its functionality is implemented in stock modules. In particular System.Environment.UTF8 does not exist anymore. But the following does not work for me if an arg is a non-ascii string: import System.Environment main = do [arg] <- getArgs putStrLn arg I g...
stackexchange/codereview
Within a wordpress plugin, I have a PHP function which transform $file_name (a CSV file) into a table. function displayAsTable($file_name) { echo '<table>'; ini_set('auto_detect_line_endings',TRUE); $f = fopen($file_name, "r"); while (($line = fgetcsv($f,0,",")) !== false) { echo '<tr>'; echo '<td>...
stackexchange/codereview
This is pretty confusing. I'm receiving this error whenever I try to add to (or even view) the Database Diagrams node under a Database node within SQL Server Management Studio Express (SQL Server 2008): Database diagram support objects cannot be installed because this database does not have a valid owner. To continue,...
stackexchange/codereview
I've set a form to fadeOut using jQuery when the mouseleaves the form which has an id of #loginform_top. This works ok but as this form is a login box when firefox pops up the autocomplete detials for the input fields in this form the act of moving the mouse onto the autocomplete hides my form. Is there away to be able...
stackexchange/codereview
I need to send a USR1 signal to a daemon from a PHP script. I'm using posix_kill($pid, SIGUSR1);, but SIGUSR1 is undefined. Where do I import this constant from? TY, Fred
stackexchange/codereview
I am trying to re-install VS2008 SP1. Why? I installed the VS2008 Forward Compatibility Update (KB974558), in order to be able to access TFS 2010 from VS2008. Everything went fine; there were no error messages. When I start VS2008 and click Help..About, I can see that KB794558 is installed. But even though the FCU i...
stackexchange/codereview
I am trying to pull out the alt text from all images on a page using Hpricot but can't figure out how to do it. Has anyone done this before? Thanks! Dennis
stackexchange/codereview
I can't seem to get my head around this. I've created sample code to demo my issue, hoping someone can direct me to the answer... The issue is once the datagrid is sorted, the labeled ID and Name no longer matches the selected datagrid item. I would appriciate your assistance... Thanks Jeff <Window x:Class="dgSortTest....
stackexchange/codereview
I am displaying the use a multi-friend-selector element, and it works. But I'd like to be able to preselect some friends when the dialog opens, and I don't know if the API allows that. At least, is not listed on the documentation. My code <fb:request-form action='{{iframe_url}}/reqs' method='POST' content...
stackexchange/codereview
I have got a small problem with 1D array in c++. I have got a function line this: void func(int (&array)[???]) { // some math here; "for" loop { array[i] = something; } } I call the functions somewhere in the code, and before I made math I'm not able to know dimension of the array. The array goes ...
stackexchange/codereview
Good afternoon I'm facing a trouble, trying to figure out how to use this autocomplete plugin and make it consume my WCF service method. The WCF is correctly published and working. What can be done to autocomplete plugin work or is there another clever way to make autocomplete work with WCF and get chosen Person.Id and...
stackexchange/codereview
Hey Stack, need some assistance with the styling of jQuery UI Dialogs. You can see what is happening here: http://img714.imageshack.us/i/jquerydialogstylingissu.png/. The Validation Message and the Icon in the top left are both being cut off. I thought it was because .ui-dialog has "overflow: hidden", but removing that...
stackexchange/codereview
Just wondering, when an app on the iPhone 3GS/4 is minimized, is it possible for it to maintain a network (3G/Wifi), GPS or Bluetooth connection?
stackexchange/codereview
Using windows for the first time in quite awhile and have picked up notepad++ and am using the nppexec plugin to run python scripts. However, I noticed that notepad++ doesn't pick up the directory that my script is saved in. For example, I place "script.py" in 'My Documents' however os.getcwd() prints "Program Files \ ...
stackexchange/codereview
In various C code, I see constants defined like this: #define T 100 Whereas in C++ examples, it is almost always: const int T = 100; It is my understanding that in the first case, the preprocessor will replace every instance of T with 100. In the second example, T is actually stored in memory. Is it considered bad pr...
stackexchange/codereview
I am trying to create a dialog pop-up box with 2 forms inside of it. The pop-up works great, but inside of the dialog I have 2 forms, each with separate actions. I am using the jQuery Form Plugin, to submit my form and show a response to #showResponse The problem i'm having is whenever I click either of the forms it lo...
stackexchange/codereview
in .data section i have defined: MyString byte "This is my string",0h but how can I set a variable equal to MyString?? Thanks!
stackexchange/codereview
I know that you can set various callbacks for certain actions, but I need to get at the pager links that get created on the fly. I want to drop dynamic images into those links using innerHTML, but if I call it onload it obviously won't work because the links haven't been created yet. There doesn't seem to be a native "...
stackexchange/codereview
In my php script I am using curl library and the function curl_exec takes 1-5 seconds to be executed ( and for some url it take 10 seconds as well ). It is normal ? This is my script: $ch = curl_init(); $timeout = 5; $url = "http://www.mashable.com/feed"; curl_setopt ($ch, CURLOPT_URL, $url ); curl_setopt ($ch, CU...
stackexchange/codereview
I'd like to write a SELECT statement that uses just one test to return columns with no value (null, empty, or all spaces). I thought this would work: SELECT column_name from table_name WHERE column_name NOT LIKE '%_%'; But this does not work for NULL values. Of course I can add OR column_name IS NULL and it will work...
stackexchange/codereview
Is it possible to fetch multiple values for one option using getopt or optparse, as shown in the example below: ./hello_world -c arg1 arg2 arg3 -b arg4 arg5 arg6 arg7 Please note that the number of actual values for each option (-c, -b) could be either 1 or 100. I do not want to use: ./hello_world -c "arg1 arg2 arg3" ...
stackexchange/codereview
I have multiple developers working on the same application in rails. I am trying to get capistrano setup to use one login (preferably with public keys vs. password). I can't seem to find anything on the net that covers this. Can anyone point me in the right direction? Thanks
stackexchange/codereview
I overloaded the left shift operator in my class and the output works fine, so for example when I have a line which says cout << obj; I will output the fields seperated by a comma. ostream& operator<<(ostream& output, const MyClass& obj) { output << obj.field1 << ", " << obj.field2; return output; } I ...
stackexchange/codereview
Django makemessage could generate i18n files, and make it more easier to translate. As I see, tornado has support both CSV format and gettext format, but I can only use CSV version, because I will use it at appengine. So, I am looking for a way to generate these CSV files for tornado base on scanning my codes and templ...
stackexchange/codereview
I have a rectangular div, like the one above. I want to remove the bottom border (from C to D) in my div. How can I do this?. Edit: Here is my CSS: #index-03 { position: absolute; border: .1px solid #900; border-width: .1px; border-style: solid; border-color: #900; left: 0px; top: 102px; widt...
stackexchange/codereview
I want to submit a simple form, but instead of using a button, I want to do it through a link. Since I'm not using JSF, I cannot use the h:commandLink component. I do not know how to do it in plain JSP/HTML. Any ideas?
stackexchange/codereview
I have added a widget and instead of updating it every xxx minutes, I want to update it only if something is changed in my Activity. But, how can I call the onUpdate routine of my widget from my activity?
stackexchange/codereview
a simple question about maven repository server can a pom file have dependencies of jar files located on different repositories on the same server ?
stackexchange/codereview
Good day, I'm new to selenium and I'm trying to write a simple test. I want to test my AJAX functionality so I thought that the waitForCondition() method was the right fit for me. Problem is, I get an error every time, saying that 'testLoop' is not defined. My test is simple: @Test public void firstTest() { seleni...
stackexchange/codereview
As AdMob or iAd is not yet available on Mac, how can we add ads to Mac Apps? Is Adsense allowed? Or is there any other available ad platform? Thanks.
stackexchange/codereview
Possible Duplicates: How do the equality (== double equals) and identity (=== triple equals) comparison operators differ? Reference - What does this symbol mean in PHP? php not equal to != and !== What are the !== and === operators in this code snippet? if ( $a !== null ) // do something if ( $b === $a ) // do somet...
stackexchange/codereview
I am looking for an open source GP implementation in objective-c. I found some C++ implementation which I can embed in my obj-c project but I was wondering if there's a native obj-c implementation of GP out there. Thanks
stackexchange/codereview
We have a number of dlls in a single directory. Most, but not all, are C++ resource dlls only. These dlls can be opened in Visual Studio for a "visual" inspection (you can see the "String Table"). Here's the scenario, we are looking for a particular string but we don't which DLL contains the string. Is there a tool tha...
stackexchange/codereview
I'm trying to pull the a href from a dynamic link and inserting the a href src into another link. An extract from my HTML code: <li id="source_ahref"><a href="http://www.sitepoint.com/forums/showthread.php?p=4729682#post4729682">This is the Source Link</a></li> <li class="text">Support Document 4&nbsp;<a id="target_ahr...
stackexchange/codereview
On my page (LINK) I wanted to add ajax paginated list of previously added videos. The list works fine until I go to the next page. Then the whole thing stops reacting even though I'm using livequery. Even introducing a parent div to updated one didn't solve the problem. Any ideas what's - happening ? Parent container :...
stackexchange/codereview
I am just creating a quick rest API to call for a iPhone application. What is the fastest way to implement on using PHP MySQL (Data comes from database - simple user table)
stackexchange/codereview
when I use some nested if / else statements, sometimes I get confused if my code logic corresponds to my original idea. I use some simple procedural code, so how can I train my understanding?
stackexchange/codereview
Is there a file format limit to the PNG pixel size? I am trying to visualize a 30.000x30.000 pixels PNG image with Firefox, but I get an error. The image opens correcly in Preview.app, although very slowly. The file size is not big, just around 3 MiB (1 bit black/white image). I am wondering if there's a technical fil...
stackexchange/codereview
I have a question. I some CMSs, at Posting section, we have a option: "Post to future". If we check it, we can give it a date and a time for posting that article. (e.g. 1/1/2011). And when the day comes, (1/1/2011), the CMS posts that article automatically. How??? (Is it possible? or I thinking wrong?)
stackexchange/codereview
I was looking at Ben's example @ http://www.bennadel.com/blog/1515-Ask-Ben-Building-An-AJAX-jQuery-And-ColdFusion-Powered-Application.htm and wokring on an ultra simplistic example of my own. but it seems like even though the CFC returns properly formatted JSON, it always ends up in my error handler with the error : ...
stackexchange/codereview
i want to list my web page in google,yahoo and other popular search engines first page?what can i do?i am having computer backgruoud? so can you please tell me the ways to SEO? and suggest me if any tutorails need to become well SEO?
stackexchange/codereview
Is there a way of converting a hash table into a list of (key,pair) values in OCaml? I'm aware that, given a hash table ht we can do BatList.of_enum (BatHashtbl.enum ht) using the batteries library. This would convert the table to an enumeration and then convert the enum to a list. But I'm looking for a solution that ...
stackexchange/codereview
In the ActionController source, local requests are defined as follows: def local_request? #:doc: request.remote_addr == LOCALHOST && request.remote_ip == LOCALHOST end In my application, I want to use different logic if requests are coming from a particular IP range. What is the difference between request.remote_a...
stackexchange/codereview
I want basically to be able to use a Canvas as a meta container for other widgets. I want to divide my GUI into a left, center and middle section. Within each section I would like to be able to place widgets like: Checkbutton, Button, Label, etc. How to place widgets in a Canvas widget?
stackexchange/codereview
Looking for suggestions on how to approach my Perl programming homework assignment to write an RNA synthesis program. I've summed and outlined the program below. Specifically, I'm looking for feedback on the blocks below (I'll number for easy reference). I've read up to chapter 6 in Elements of Programming with Perl by...
stackexchange/codereview
I have to make changes to a legacy web page that uses the IE xml tag to specify a data island for subsequent data binding for various HTML elements via assignment of datasrc and datafld attributes. When I open the *.htm file locally using IE8, none of the data fields that should have been bound are displayed. The same ...
stackexchange/codereview
How can one change the source of an image object in Dashcode (Javascript) at runtime? I tried: var image = document.getElementById("image").object; image.src = "IMG_0230.JPG";
stackexchange/codereview
I'm running into a bit of problem when trying to readToEnd from an asynchronous webrequest. Here's the code: public void GetHTTP(string http) { request = (HttpWebRequest)WebRequest.Create(http); RequestState rs = new RequestState(); // Class to hold state. Can ignore... Setup(); // conta...
stackexchange/codereview
This is not a programming question per se but a question that may be relevant to all future Android developers. I am in the market for an Android developer phone. I can buy it used on eBay, or I can buy it new on the Android Market. All nice and dandy but in order what the Android market has to offer, I have to first r...
stackexchange/codereview
I am using the jquery rotate plugin. When I call it on an img element that has a specific width and height (that is not the actual width and height of the source image.) The rotation is applied accurately however it resets the width and height to match the source image. Also if the image is positioned, it removes its p...
stackexchange/codereview
I'm rather new at WPF and I need some help. I have a ViewBox on my for and inside the ViewBox an Ellipse and a Border. When I resize the form I want the Ellipse and the Border to scale automatically (what it does). But I don't want the BorderThickness to scale. The thickness of the border should stay 3 pixels. Does any...
stackexchange/codereview
I am trying to change my code to use json on recommendation from a previous question to simplify things a bit... On client side: <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../js/jquery.tablednd_0_5.js"></script> <script type="text/javascript" src="../js/...
stackexchange/codereview
As you may know there are two different kinds of regular expressions implementations: one uses backtracking (pcre) and the other one uses finite automata (re2). Both of those algorithms have their limitations: in specific cases pcre can take exponential time to find a match and finite automata does not support backrefe...
stackexchange/codereview
This is generated from my website from google map: Longtitude = 20.802268981933594; Altitude = 41.114279428574434; But the Geopoint takes only int only, How can I get use of the values that I have from my website,, cause this app is based on my website.
stackexchange/codereview