question1_id
stringlengths 1
8
| question1
stringlengths 10
149
| question2_id
stringlengths 2
8
| question2
stringlengths 13
150
|
---|---|---|---|
5753164 | How to have smooth sketch drawing on iPhone | 5076622 | iPhone smooth sketch drawing algorithm |
6872915 | What's difference between __construct and function with same name as class has? | 455910 | What is the function __construct used for? |
5866898 | Returning integer array from function with no arguments | 3127507 | Returning local data from functions in C and C++ via pointer |
7052634 | Scroll a JScrollPane to a specific row on a JTable | 853020 | JTable Scrolling to a Specified Row Index |
4072703 | Should I bit-shift to divide by 2 in Java? | 1168451 | Is shifting bits faster than multiplying and dividing in Java? .NET? |
6496884 | Compress whitespaces in string | 2077897 | Substitute multiple whitespace with single whitespace in Python |
4113365 | What does -> mean in C++? | 1238613 | What is the difference between the dot (.) operator and -> in C++? |
6511560 | Can I have gdb break on read/write from an address? | 58851 | Can I set a breakpoint on 'memory access' in GDB? |
4126869 | Bash command to delete all but last 5 directories | 25785 | Delete all but the most recent X files in bash |
6893273 | What happens if you declare an array without New in Javascript? | 5827008 | What's the difference between Array(1) and new Array(1) in JavaScript? |
6906892 | How to decrypt MD5 in Ruby? | 5624825 | Spinner onItemSelected() executes inappropriately |
5124835 | Spinner onItemSelected called erroneously (without user action) | 6928532 | A better way to find a difference between two arrays |
683310 | Getting the "diff" between two arrays in C#? | 6534175 | A transport-level error has occurred |
2962927 | A transport-level error has occurred when receiving results from the server | 6598249 | why does guid have special formats? |
276524 | Why is the GUID structure declared the way it is? | 5895842 | How to assign Php variable value to Javascript variable? |
2766041 | What's the best way to pass a PHP variable to Javascript? | 6618618 | difference between var keyword and without var |
1470488 | What is the purpose of the var keyword and when should I use it (or omit it)? | 6669746 | Are memory leaks totally absent in Java applications? |
4183000 | How do I enable jQuery intellisense in Eclipse and/or Aptana | 1351847 | Aptana Plugin for Eclipse and jQuery code assist |
5688290 | What Quotation Marks Should I Use In CSS? | 2034575 | Which type of quotes we should use in css background url ("....")? Single, double or no quote needed? |
5696464 | Are HTML data attributes safe for older browsers e.g. IE 6? | 2412947 | Do HTML5 custom data attributes “work” in IE 6? |
6410764 | Raising exceptions without 'raise' in the traceback? | 4419785 | Don't show Python raise-line in the exception stack |
5726680 | Is there a throws keyword in C# like in Java? | 3465465 | How to use Java-style throws keyword in C#? |
7114619 | C# String.Format with Curly Bracket in string | 3773857 | Escape curly brace '{' in String.Format |
6960406 | Add CSS to iFrame | 217776 | How to apply CSS to iframe? |
6736505 | How to Combine two lambdas | 1717444 | Combining two lambda expressions in c# |
6471689 | Remove rows in R matrix where all data is NA | 6437164 | Removing empty rows of a data file in R |
4383959 | Best way to solve a linear equation in code | 769 | Solving a linear equation |
6717926 | Function to get user ip address | 1634782 | What is the most accurate way to retrieve a user's correct IP address in PHP? |
5867242 | How to put the contents of getenv() into a string | 5866134 | How to read Linux environment variables in c++ |
5873879 | Is it possible to obtain read-only access to an sqlite database in an apk? | 4022866 | How to put existing database in the .apk file? |
5865242 | move my global .gitconfig file | 4050905 | Changing .gitconfig location on Windows |
5958725 | Get size of remote file from URL? | 2602612 | Remote file size without downloading file |
5922069 | Haskell for mission-critical systems | 1263711 | Using Haskell for sizable real-time systems: how (if?)? |
5961433 | How to decode HTML entities in Rails 3? | 1600526 | How do I encode/decode HTML entities in Ruby? |
5961740 | Access a derived private member function from a base class pointer to a derived object | 3610936 | Why can I access a derived private member function via a base class pointer to a derived object? |
6749914 | How to generate 8 byte GUID value in c#? | 5678177 | How to generate 8 bytes unique id from GUID? |
5914110 | How to get the index of an <li> in a <ul> | 3204349 | jQuery - get the index of a element with a certain class |
7054564 | How can I make the first letter of a variable always capital? | 1026069 | How do I make the first letter of a string uppercase in JavaScript? |
7142028 | Point on a line closest to x,y | 910882 | How can I tell if a point is nearby a certain line? |
5892731 | How to Check Photo DPI with PHP | 4076936 | Get/set DPI with PHP GD/Imagick? |
6542827 | Honestly, what's the difference between public variable and public property accessor? | 295104 | What is the difference between a field and a property? |
7057772 | Get row position in MYSQL query | 1895110 | ROW_NUMBER() in MySQL |
6779645 | Use of "this" keyword in C++ | 5944448 | what exactly is the reason that we cannot declare static methods in [public] inner classes unless those inner classes are also declared static?azi |
975134 | Why can't we have static method in a (non-static) inner class? | 7076841 | How to round to two decimal places in a string? |
7086920 | Removing logging with ProGuard doesn't remove the strings being logged | 6009078 | Removing unused strings during ProGuard optimisation |
5989984 | file_put_contents saying permission denied? | 4917811 | file_put_contents - failed to open stream: Permission denied |
5902491 | C# .Net 4.0 Console App - how to stay alive until all threads complete? | 263116 | C#: Waiting for all threads to complete |
5974063 | how to get battery temperature in android | 3997289 | Get temperature of battery on android |
5974813 | Difference between development and distribution certificate | 669019 | iPhone development - what is the difference between a development and distribution provisioning? |
4441233 | String vs string | 7081284 | GNU make: Multiple targets in a single rule |
2973445 | GNU Makefile rule generating a few targets from a single source file | 7105441 | How to set default encoding in Python (setdefaultencoding() function does not exist)? |
2276200 | Changing default encoding of Python? | 6548433 | How to change Sequence LAST_NUMBER in Oracle |
51470 | How do I reset a sequence in Oracle? | 7123888 | What is :: (double colon) in numpy like in myarray[0::3]? |
3453085 | What is :: (double colon) in Python when subscripting sequences? | 5953095 | why a function with returntype in c works with out return statement? |
1610030 | Why does flowing off the end of a non-void function without returning a value not produce a compiler error? | 5959720 | How to add core data to my exisiting iOS project in xcode? |
2032818 | Adding Core Data to existing iPhone project | 5967940 | Matlab - Quickly subtract [1xN] array from [MxN] matrix elements |
6883049 | Regex to extract URLs from href attribute in HTML with Python | 520031 | What's the cleanest way to extract URLs from a string using Python? |
6609111 | Javascript Canvas: base64 back to file after resizing&resampling? | 4998908 | Convert Data URI to File then append to FormData |
6631984 | emacs python code completion | 750267 | Emacs - tab-completion of local Python variables |
7133728 | Objective-C in Linux | 447942 | Game programming on Objective-C and linux |
6884653 | How to make a Generic Type Cast function | 3502493 | Is there any generic Parse() function that will convert a string to any type using parse? |
6890576 | Is there an elegant way to parse a text file *backwards*? | 3024372 | How to read a file from bottom to top in Ruby? |
6026078 | Convert javascript from minified to uncompressed? | 1190875 | Can compressed javascript be uncompressed |
7201574 | Is using reflection in .Net effects the performance reasonably bad? | 7134984 | Why does 1 == True but 2 != True in Python? |
2764017 | Is False == 0 and True == 1 an implementation detail or is it guaranteed by the language? | 5988782 | What is the datatype to store boolean value in MySQL? |
289727 | Which MySQL data type to use for storing boolean values | 7137963 | Is there an API for getting the Windows 7 color of an icon? |
6361014 | Windows 7 Taskbar Icons Highlight Color | 6614978 | Ignore future changes to a file in Mercurial, but still track it |
2856571 | Mercurial: How to ignore changes to a tracked file | 6638057 | How does array.sort work? |
1494713 | How does Javascript's sort() work? | 6894256 | Is W3C validation important? |
7940 | How important is W3C XHTML/CSS validation when finalizing work? | 7167645 | How do I create a new Git branch from an old commit? |
2816715 | Branch from a previous commit using Git | 6844981 | Distinguish between array and hash in javascript with typeof() |
218798 | In javascript how can we identify whether an object is a Hash or an Array? | 7214909 | JQuery + AJAX + Django = CSRF ? |
6506897 | "CSRF token missing or incorrect" while post parameter via AJAX in Django | 6865026 | Help with Compiler Design |
6059268 | perl - split string into 2-character groups | 372370 | How can I split a string into chunks of two characters each in Perl? |
6899025 | Hide user input on password prompt | 1413445 | Reading a password from std::cin |
6030360 | return code of console application | 334879 | How do I get the application exit code from a Windows command line? |
6641337 | Asp.net error Could not load file or assembly | 4975455 | After a computer crash my Visual Studio 2010 will not load an assembly |
6645924 | Android SDK in Eclipse gives error about expired certificate | 2194808 | "Debug certificate expired" error in Eclipse Android plugins |
7259899 | What to do about an NSURLErrorDomain -999? | 1024748 | How do I fix NSURLErrorDomain error -999 in iPhone 3.0 OS |
7270802 | What's the use of `-u` in `git push -u origin master`? | 5697750 | What exactly does the "u" do? "git push -u origin master" vs "git push origin master" |
6044150 | Format javascript current date and time | 85116 | Display date/time in user's locale format and time offset |
6691173 | Check the existence file in ant | 520546 | Ant task to run an Ant target only if a file exists? |
6032391 | Why inner "template" class not allowed inside function? | 3449112 | Why can't templates be declared in a function? |
7256743 | How to determine if a field has 'new' modifier via reflection? | 6634303 | How do I detect the "new" modifer on a field using reflection? |
6927902 | How to parse JSONP with PHP | 5081557 | Extract JSONP Resultset in PHP |
4537411 | Compile (but do not run) a Python script | 4284313 | How can I check the syntax of Python script without executing it? |
4542284 | How to determine windows version from a VB script? | 4317794 | A vbscript to find windows version name and the service pack |
6610074 | Convert List<List<string>> to List<string> | 649773 | Linq: List of lists to a long list |
6612775 | How to make a copy of a list of objects not change when modifying the original list? | 184643 | What is the best way to copy a list? |
2612802 | List changes unexpectedly after assignment. How do I clone or copy it to prevent this? | 6064956 | replace all occurrences in a string |
2116558 | Fastest method to replace all instances of a character in a string | 7188145 | Call a Javascript function every 5 seconds continuously |
3138756 | Calling a function every 60 seconds | 6701948 | Efficient way to compare version strings in Java |
198431 | How do you compare two version Strings in Java? | 6717024 | How to return two values from a function? |
3829167 | returning multiple values from a function | 6963311 | Add day(s) to a Date object |
3818193 | How to add number of days to today's date? | 6986767 | How to get current on screen activity? |
3873659 | Android: How can I get the current foreground activity (from a service)? | 6964460 | How do I decompile a .jar file? |
647116 | How to decompile a whole Jar file? | 6129562 | What is purpose of using `void` here? |
666936 | What is the point of void operator in JavaScript? | 6633197 | get image height and width in file tag using javascript |
1310378 | Determining image file size + dimensions via Javascript? | 4094012 | How to upload preview image before upload through JavaScript |
7278922 | To use getAttribute(), or not to use getAttribute(): that is the question | 3919291 | When to use setAttribute vs .attribute= in JavaScript? |