text stringlengths 74 309k |
|---|
{"title":"argument for generic parameter could not be inferred","tags":["swift","nsuserdefaults","loaddata"],"question_text":"I'm trying to save an array with NSUserDefaults and then load the array, but I get the error \"argument for generic parameter could not be inferred.\" Is there anything I am doing wrong? No one ... |
{"title":"running mstest from command line against visual studio 2012 native c++ tests","tags":["c++","visual-studio-2012","mstest"],"question_text":"I have a Visual Studio 2012 Solution with a number of native c++ test projects.\nI can run all of these correctly and successfully from within Visual Studio 2012 using th... |
{"title":"C# public variable as writeable inside the class but readonly outside the class","tags":["c#","variables","public"],"question_text":"I have a .Net C# class where I need to make a variable public. I need to initialize this variable within a method (not within the constructor). However, I don't want the variabl... |
{"title":"Order of tags in <head><\/head>","tags":["html","xhtml"],"question_text":"does it matter at all what order the\n`<link>`\nor\n`<script>`\nor\n`<meta>`\ntags are in in the\n`<head><\/head>`\n?\n(daft question but one of those things i've never given any thought to until now.)","answer_text":"Optimization\nAcco... |
{"title":"Amazon EC2\/SES SMTP Timeout","tags":["amazon-web-services","amazon-ec2","smtp","amazon-ses"],"question_text":"I have an issue when trying to send emails from my EC2 instance using SMTP to SES. For some reason I am getting sporadic timeout issues, where I can no longer contact the SMTP host. It is important t... |
{"title":"Uploading files on Amazon EC2","tags":["osx","amazon-ec2","terminal"],"question_text":"I have an Amazon EC2 instance running. When i access the url, I get the Apache Test page, and it says that i'll have to upload my files into\n`\/var\/html\/`\nMy question is, how do i do it? \nI use Mac OS X 's terminal for... |
{"title":"SignalR and MVC bundle","tags":["asp.net-mvc","bundle","signalr"],"question_text":"I'm trying to use SignalR with MVC bundle, but having problem finding out how to include the \/signalr\/hubs script into the bundle. For now I have to insert the path in between jquery.signalR and my code. That will result in t... |
{"title":"Unresolved external symbol \"public: virtual struct QMetaObject const * __thiscall Parent","tags":["c++","qt","qobject"],"question_text":"I inherited a class from QObject :\n`class Parent: public QObject\n{\n Q_OBJECT\n QObject* cl;\npublic:\n Parent(QObject *parent=0):QObject(parent) {\n cl = NULL;\n }\n QOb... |
{"title":"Difference between await and ContinueWith","tags":["c#","task-parallel-library","task","async-await"],"question_text":"Can someone explain if\n`await`\nand\n`ContinueWith`\nare synonymous or not in the following example. I'm trying to use TPL for the first time and have been reading all the documentation, but... |
{"title":"How to debug into my nuget package deployed from TeamCity?","tags":["c#","deployment","teamcity","nuget","symbol-server"],"question_text":"I have put a library that my team uses into a nuget package that is deployed from TeamCity into a network folder. I cannot debug into this code though! SymbolSource is one... |
{"title":"How to get random text from lorem Ipsum in PHP?","tags":["php","lorem-ipsum"],"question_text":"I want the random text from\nLorem Ipsum\nso I can use it when generating webpages. I can't find any PHP functions that does this and I'm wondering if there's any publicly available libraries or APIs on sites that c... |
{"title":"property's synthesized getter follows cocoa naming convention for returning 'owned' objects","tags":["objective-c","xcode","naming-conventions"],"question_text":"I curious is cocos2d have any naming convention for variable?\nI have this\n`\/\/.h\nNSMutableArray *newRowForCounter;`\nand\n`\/\/.m\n@synthesize n... |
{"title":"CPU Privilege Rings: Why rings 1 and 2 aren't used?","tags":["x86","cpu","privileges","ring"],"question_text":"A couple of questions regarding the x86 CPU privilege rings:\nWhy aren't rings 1 and 2 used by most operating systems? Is it just to maintain code compatibility with other architectures, or is there ... |
{"title":"How to use NERD Commenter for vim -- how to use <Leader> key","tags":["vim"],"question_text":"I found the NERD comment plugin for vim, but I don't understand the documentation. Say I want to comment some code in c\/c++ e.g.\n`code line 1 \ncode line 2`\nbecomes\n`\/*\ncode line 1 \ncode line 2 \n*\/`\nI have ... |
{"title":"Java Metric Unit Conversion Library?","tags":["java"],"question_text":"I have an application that will need to perform a number of unit conversions (metric to Imperial, Imperial to metric).\nIs there an existing Java library that does this? Or will I need to roll my own? (My initial Google searches proved mod... |
{"title":"Why is eclipse trying to copy my .svn folders from src to bin, and how can I make it stop?","tags":["java","eclipse","svn","subclipse"],"question_text":"I have checked out a bunch of java code using subversion 1.6 and then I imported those projects into eclipse. Subclipse 1.6 picked up the fact that the plugi... |
{"title":"Storing Images in PostgreSQL","tags":["postgresql","image"],"question_text":"Alright, so I'm working on an application which will use a Linux back-end running PostgreSQL to serve up images to a Windows box with the front end written in C#.NET, though the front-end should hardly matter. My question is:\nWhat i... |
{"title":"PHP - Send cookie with file_get_contents","tags":["php"],"question_text":"The example on PHP manual shows how you can use stream contexts to send a cookie. Here is the excerpt:\n`\/\/ Create a stream\n$opts = array(\n 'http'=>array(\n 'method'=>\"GET\",\n 'header'=>\"Accept-language: en\\r\\n\" .\n \"Cookie: ... |
{"title":"Why are there so few modal-editors that aren't vi*?","tags":["vim","editor","vi"],"question_text":"Pretty much every other editor that isn't a vi descendant (vim, cream, vi-emu) seems to use the emacs shortcuts (\nctrl\n+\nw\nto delete back a word and so on)","answer_text":"Early software was often modal, but... |
{"title":"CSS3 Box-Shadow Showing Behind Sibling Div Element","tags":["css","css3"],"question_text":"I'm using:\n`box-shadow: 0px -1px 0px #333333;`\non my footer but it's hiding behind or disappearing where the\n`div`\nbefore it is... hard to explain but here's what it looks like:\nhttp:\/\/cl.ly\/7HLy\nIs there a way... |
{"title":"Is there a command to restart computer into safe mode?","tags":["command-line","reboot","safe-mode"],"question_text":"I would like to know if there is a command that could be written in the command line to restart the computer and make it boot in safe mode?\nIf there isn't a command like this, is there any ot... |
{"title":"Testing performance of queries in mysql","tags":["performance","testing","mysql"],"question_text":"I am trying to setup a script that would test performance of queries on a development mysql server. Here are more details:\nI have root access\nI am the only user accessing the server\nMostly interested in InnoD... |
{"title":"Regex for names","tags":["php","regex"],"question_text":"Just starting to explore the 'wonders' of regex. Being someone who learns from trial and error, I'm really struggling because my trials are throwing up a disproportionate amount of errors... My experiments are in PHP using ereg().\nAnyway. I work with f... |
{"title":"From XmlDocument To XmlReader .Net","tags":[".net","xmldocument","xmlreader"],"question_text":"after an advice from a user that answered to my question i'm tring to convert My XmlDocument code to XmlReader code but i'm having some troubles.\nThis is XML (generated from php-mysql Page)\n`<row>\n<idLink>64<\/id... |
{"title":"Getting console.log output from Chrome with Selenium Python API bindings","tags":["python","google-chrome","logging","selenium"],"question_text":"I'm using Selenium to run tests in Chrome via the Python API bindings, and I'm having trouble figuring out how to configure Chrome to make the\n`console.log`\noutpu... |
{"title":"Disable the touch events for all the views","tags":["android"],"question_text":"What's the best way to disable the touch events for all the views?\nThanks a lot,\nGratzi","answer_text":"Here is a function for disabling all child views of some view group:\n`\/**\n * Enables\/Disables all child views in a view ... |
{"title":"How to check if OS is Vista in Python?","tags":["python","windows","windows-vista","wxpython","pywin32"],"question_text":"How, in the simplest possible way, distinguish between Windows XP and Windows Vista, using Python and\npywin32\nor\nwxPython\n?\nEssentially, I need a function that called will return True... |
{"title":"Python 3.4 and 2.7: Cannot install numpy package for python 3.4","tags":["python","ubuntu","numpy","pip"],"question_text":"I am using Ubuntu 12.04 and want to use python 3.4 side by side with python 2.7.\nThe installation of python 3.4 worked properly. However, I cannot install the numpy package for python 3 ... |
{"title":"Is sizing fonts using \"em\" still relevant?","tags":["css","browser"],"question_text":"Those of you who use\nem\nwhen sizing fonts will know that they can be a headache when dealing with nested elements, and having to make the\npx\n->\nem\ncalculations (to ensure your design interpretation is correct @ 100%)... |
{"title":"How do I open links in Visual Studio in my web browser and not in Visual Studio?","tags":["visual-studio","hyperlink"],"question_text":"If there is a URL in a source file comment, I can \"CTRL + click to follow link.\" However, when I do this, the link opens inside Visual Studio. How can I make it open in my ... |
{"title":"How to generate entire DDL of an Oracle schema (scriptable)?","tags":["oracle","schema","ddl"],"question_text":"Can anyone tell me how I can generate the DDL for all tables, views, indexes, packages, procedures, functions, triggers, types, sequences, synonyms, grants, etc. inside an Oracle schema? Ideally, I ... |
{"title":"Facebook Like Button refresh after AJAX-Load","tags":["facebook","facebook-social-plugins"],"question_text":"I have to implement a Facebook-Likebutton where the url is taken from an ajax request... that means i set the \"href\"-attribute after page-load. unfortunately, at this time the url is already set, so ... |
{"title":"PHP include best practices question","tags":["php","include"],"question_text":"I have been learning syntax for PHP and practicing it. I come from a .NET background so masterpages always made things pretty easy for me when it came to headers and footers.\nSo far I have a mainHeader.php and mainFooter.php which... |
{"title":"Extract all urls inside a string in Ruby","tags":["ruby","regex","url"],"question_text":"I have some text content with a list of URLs contained in it.\nI am trying to grab all the URLs out and put them in an array.\nI have this code\n`content = \"Here is the list of URLs: http:\/\/www.google.com http:\/\/www.... |
{"title":"Can't do a git pull","tags":["git"],"question_text":"I'm trying to do a\ngit pull\nand get the error message:\n`error: The following untracked working tree files would be overwritten by merge:\n<myFileName>\nPlease move or remove them before you can merge.`\nSo, I try to remove the file using the command\ngit... |
{"title":"How to export a SQL Server 2008 Database Diagram to another DB?","tags":["sql-server","diagram"],"question_text":"I use the handy Database Diagramming tool in SQL Server 2008 for creating and managing relationships. I have exported the sourceDB to the destinationDB but the diagram doesn't come across.\nI am l... |
{"title":"Difference between \"Complete binary tree\", \"strict binary tree\",\"full binary Tree\"?","tags":["data-structures","tree","binary-tree"],"question_text":"I am confused about the terminology of the below trees, I have been studying the Tree, and didn't able to distinguish between there trees:\na) Complete Bi... |
{"title":"Character Limit on Instagram Usernames","tags":["instagram"],"question_text":"Does anybody know what the character limit is for Instagram usernames? Google has failed to return any answers to me.","answer_text":"Limit - 30 symbols. Username must contains only letters, numbers, periods and underscores.","quest... |
{"title":"IE8\/9 window.postMessage not working, but why?","tags":["html5","internet-explorer"],"question_text":"The \"postMessage\" is an HTML5 API, it is available in all major browsers including IE8\/9. What I am trying to do is to create a popup window from a page, and be able to talk to the popup window using \"po... |
{"title":"Detect user scroll down or scroll up in jQuery","tags":["jquery","events","scroll","bind"],"question_text":"Possible Duplicate:\nDifferentiate between scroll up\/down in jquery?\nIs it possible to detect if user scroll down or scroll up ?\nExample :\n`$(window).scroll(function(){\n \/\/ IF USER SCROLL DOWN \n... |
{"title":"Execute jar file with multiple classpath libraries from command prompt","tags":["java","maven","jar","classpath"],"question_text":"I have a Maven project which generates a jar file and copies all dependencies to\n`target\/lib`\nfolder. I want to execute this project on client's machine (windows). So, I copied... |
{"title":"Are there C++ equivalents for the Protocol Buffers delimited I\/O functions in Java?","tags":["java","c++","serialization","protocol-buffers"],"question_text":"I'm trying to read \/ write multiple Protocol Buffers messages from files, in both C++ and Java. Google suggests writing length prefixes before the me... |
{"title":"Substantial Android development in Scala","tags":["android","scala","intellij-idea","adt"],"question_text":"Has anyone had success developing a substantial Android app in Scala? Is it a viable option yet? Are there any mature development environments? Given the state of the Scala Eclipse plug-in, it looks as ... |
{"title":"OpenGL vs. OpenCL, which to choose and why?","tags":["opengl","opencl","gpgpu"],"question_text":"What features make OpenCL unique to choose over OpenGL with GLSL for calculations? Despite the graphic related terminology and inpractical datatypes, is there any real caveat to OpenGL?\nFor example, parallel func... |
{"title":"CKEditor unwanted characters","tags":["javascript","jquery","ckeditor"],"question_text":"How can I disable CKEditor to get me every time\n` `\n, when i don't want them? I'm using CKEditor with jQuery adapter.\nI don't want to have any\n` `\ntags.","answer_text":"After some research I might sh... |
{"title":"Best way to retrieve variable values from a text file - Python - Json","tags":["python","json","variables","text-files"],"question_text":"Referring on\nthis question\n, I have a similar -but not the same- problem..\nOn my way, I'll have some text file, structured like:\n`var_a: 'home'\nvar_b: 'car'\nvar_c: 15... |
{"title":"PIL thumbnail is rotating my image?","tags":["python","python-imaging-library"],"question_text":"I'm attempting to take large (huge) images (from a digital camera), and convert them into something that I can display on the web. This seems straightforward, and probably should be. However, when I attempt to use... |
{"title":"What do you do in SQL Server to CREATE OR ALTER?","tags":["sql","sql-server","tsql"],"question_text":"The year is 2009 and SQL Server does not have CREATE OR ALTER\/REPLACE. This is what I do instead.\n`IF EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_NAME = 'SynchronizeRemoteCatalog' AND RO... |
{"title":"Why do people use linq to sql?","tags":["linq","linq-to-sql"],"question_text":"Given the premise:\nThere are competent sql programmers\n(correlary - writing sql queries are not an issue)\nThere are competent application developers\n(correlary - there is simple\/strong\/flexible architecture for handling conne... |
{"title":"Best compiler warning level for C\/C++ compilers?","tags":["c++","c","warnings","compiler-construction"],"question_text":"What compiler warning level do you recommend for different C\/C++ compilers?\ngcc and g++ will let you get away with a lot on the default level. I find the best warning level for me is '-W... |
{"title":"How to get the exact number of times that a function is executed in C++?","tags":["c++"],"question_text":"`#include<iostream>\nusing namespace std;\nvoid callMe()\n{\n int count=0;\n cout<<\"I am called \"<<++count<<\" times!\\n\";\n}\nint main()\n{\n callMe();\n callMe();\n callMe();\n callMe();\n return 0;\... |
{"title":"Java enum elements with spaces?","tags":["java","enums"],"question_text":"Im working on java, I have created an enum as follows:\n`public enum myEnum\n{\n india,\n russian,\n england,\n north America\n}`\nAbove example gives errors while using space in the name of element (i.e. north America).\nAny suggestion... |
{"title":"How can I make the Play Game Services not automatically sign in at the startup?","tags":["android","google-play-services","google-play-games"],"question_text":"Google provides the\n`BaseGameUtils`\nlibrary, and\nrecommend us to extends its\n`BaseGameActivity`\n. However, this class makes the game automaticall... |
{"title":"App Icon has Unassigned Image error","tags":["xcode","xcode6","apple-watch"],"question_text":"I'm getting these errors:\nI can't tell exactly which thing it is talking about?\nIf it is a 42 mm 2x, then I don't have a spot to put that. Can you help? Thanks!\nEDIT:\nPer comment below, I looked on the right pane... |
{"title":"Where does a published RDL file sit?","tags":["reporting-services","reporting","rdl"],"question_text":"When publishing a reporting services report. Where does the actual .RDL file sit on the server?\nI can redownload the .RDL file via browsing through the report manager? But where is this file situated on the... |
{"title":"What do you mean by hashable in Python?","tags":["python"],"question_text":"I tried searching internet but could not find the meaning of hashable.\nWhen they say objects are\n`hashable`\nor\n`hashable objects`\nwhat does it mean?","answer_text":"From the\nPython glossary\n:\nAn object is hashable if it has a ... |
{"title":"Elasticsearch Marvel - Turn off logging","tags":["plugins","elasticsearch","elasticsearch-marvel"],"question_text":"Is it possible to have Elasticsearch Marvel installed and have it not collect any data, would changing the template to 0 shards and 0 replicates do that for me?","answer_text":"Just add this lin... |
{"title":"Invalid byte sequence error in normalize_yaml_input being thrown?","tags":["ruby-on-rails","ruby","heroku","ascii","yaml"],"question_text":"I'm getting the error (below) when trying to push my project to Heroku. Googling found a few people with similar issues turning up, but with a different gem as the last g... |
{"title":"Setting Up the Licensing Verification Library on Android Studio","tags":["android","android-studio","android-sdk-tools","build.gradle","google-license-manager"],"question_text":"im'triyng to implement the Google Licensing Verification in a Android Studio made app.\nBy following this lines:\nhttp:\/\/developer... |
{"title":"Visual Studio - can be a breakpoint called from code?","tags":["c++","visual-studio","debugging","visual-c++","breakpoints"],"question_text":"I have a unit test project based on UnitTest++. I usually put a breakpoint to the last line of the code so that the I can inspect the console when one of the tests fail... |
{"title":"Can I avoid the native fullscreen video player with HTML5 on iPhone or android?","tags":["iphone","android","html5","video","fullscreen"],"question_text":"I've built a web app that uses the HTML5 tag and JavaScript code that renders other content synchronized with the running video. It works great in desktop ... |
{"title":"Java Loop every minute","tags":["java","time","loops"],"question_text":"I want to write a loop in Java that firs starts up and goes like this:\n`while (!x){\n \/\/wait one minute or two\n \/\/execute code\n}`\nI want to do this so that it does not use up system resources. What is actually going on in the code... |
{"title":"Explanation of Azul's \"pauseless\" garbage collector","tags":["garbage-collection"],"question_text":"I've just read this:\nhttp:\/\/www.artima.com\/lejava\/articles\/azul_pauseless_gc.html\nAlthough I've some experience with compilers, I've done nothing related with garbage collection; is a big black box to ... |
{"title":"How do I import a sql data file into SQL Server?","tags":["sql","sql-server-2008"],"question_text":"I have a .sql file and I am trying to import it into SQL Server 2008. What is the proper way to do this?","answer_text":"If your file is a large file, 50MB+, then I recommend you use sqlcmd, the command line ut... |
{"title":"Change stack size for a C++ application in Linux during compilation with GNU compiler","tags":["gcc","gnu"],"question_text":"In OSX during C++ program compilation with\n`g++`\nI use\n`LD_FLAGS= -Wl,-stack_size,0x100000000`\nbut in SUSE Linux I constantly get errors like:\n`x86_64-suse-linux\/bin\/ld: unrecogn... |
{"title":"make: Nothing to be done for `all'","tags":["c","makefile"],"question_text":"I am going through an eg pgm to create a make file.\nhttp:\/\/mrbook.org\/tutorials\/make\/\nMy folder eg_make_creation contains the following files,\n`desktop:~\/eg_make_creation$ ls\nfactorial.c functions.h hello hello.c main.c Mak... |
{"title":"Xcode - scribble, guard edges and guard malloc","tags":["iphone","ios","xcode","osx"],"question_text":"Can someone explain what do these options in Xcode do?\nEnable Scribble\nEnable Guard Edges\nEnable Guard Malloc\nwhat they are and what they do and how useful can they be for debugging\/testing?\nthanks.","... |
{"title":"javascript regex iso datetime","tags":["javascript","regex","datetime","iso"],"question_text":"does anyone have a good regex pattern for matching iso datetimes?\nie: 2010-06-15T00:00:00","answer_text":"For the strict, full datetime, including milliseconds, per\nthe W3C's take on the spec\n.:\n`\/\/-- Complete... |
{"title":"How do I see the Django debug toolbar?","tags":["python","django","django-debug-toolbar"],"question_text":"I have a Django webapp. I have installed the debug_toolbar middleware and module.\nHowever, my webapps don't have the debug toolbar pull-out.\nHow do I actually see the debug toolbar? Is there something ... |
{"title":"The difference between $* and $@","tags":["bash","shell"],"question_text":"Possible Duplicate:\nWhat the difference between \u201c$@\u201d and \u201c$*\u201d in bash?\nFor years and on dozens of occasions, I have hesitated between the use of\n`$*`\nand\n`$@`\nin shell scripts. Having read the applicable secti... |
{"title":"PHP header(Location: ...): Force URL change in address bar","tags":["php","redirect","header","location"],"question_text":"I'm currently working on a mobile site with authentication using PHP sessions with a database.\nI have a login page with a form that goes to\nserver_login.php\non submit. The php file the... |
{"title":"How to get the value of a bit at a certain position from a byte?","tags":["java","byte","bit"],"question_text":"If I have a byte, how would the method look to retrieve a bit at a certain position?\nHere is what I have know, and I don't think it works.\n`public byte getBit(int position) {\n return (byte) (ID >... |
{"title":"What's the console.log() of java?","tags":["java","android"],"question_text":"I'm working on building an Android app and I'm wondering what the best approach is to debugging like that of console.log in javascript","answer_text":"The\nLog\nclass:\nAPI for sending log output.\nGenerally, use the\n`Log.v()`\n`Lo... |
{"title":"Are goto and destructors compatible?","tags":["c++","goto"],"question_text":"This code leads to undefined behavior:\n`void some_func() {\n goto undefined;\n {\n T x = T();\n undefined:\n }\n}`\nThe constructor is not called.\nBut what about this code? Will the destructor of x be called? I think it will be, bu... |
{"title":"django DetailView - how to use 'request' in get_context_data","tags":["python","django"],"question_text":"I am trying to modify context data, so I overrided get_context_data. I need 'request' variable for modify this context. So, how can i get 'request' variable in get_context-data ?","answer_text":"You have ... |
{"title":"T4 template adding assembly of existing project in solution","tags":["c#","t4"],"question_text":"Hi I need to add the assembly of an an existing project in my solution in my T4 Template file.\nThe problem is that my T4 template is in a project called Project.WebApi and the class that I need in my T4 template ... |
{"title":"Remove unused Usings across entire assembly","tags":["resharper"],"question_text":"I am wondering if maybe ReSharper is able to run through every class and remove unused usings? I looked but I don't see an option like this in R# 4.5. Has anyone seen this in Resharper outside of just being able to remove using... |
{"title":"How does u\u00ca\u008dop-\u00c7\u009dp\u00e1\u00b4\u0089sdn text work?","tags":["unicode","text-processing"],"question_text":"Here's a website I found that will produce upside down versions of any English text.\nhow does it work? does unicode have upside down chars? Or what?\nHow can I write my own text flipp... |
{"title":"Android Studio lint reports \"cannot infer argument types.\"","tags":["android","gradle","android-studio","lint"],"question_text":"I have reviewed the Inspection report for my project that is provided by Android Studio after having executed the following command:\n`Analyze->Inspect Code...`\nThe report indica... |
{"title":"What's the right way to compare an NTEXT column with a constant value?","tags":["sql","sql-server","tsql","ntext"],"question_text":"If I use something like\n`[ntext2] <> '1,032.5',`\nI get this error:\nThe data types ntext and varchar are incompatible in the not equal to operator.\nThe best possible solution ... |
{"title":"'&' before the parameter name","tags":["php","parameters"],"question_text":"Just a quick and no doubt easy question. I'm pretty new to PHP and am looking through some existing code. I have tried to find the answer to my question on google, but to no avail.\nCan somebody please let me know what the '&' sign be... |
{"title":"Why do arrays in .net only implement IEnumerable and not IEnumerable<T>?","tags":["c#",".net","arrays","ienumerable","ienumerator"],"question_text":"I was implementing my own ArrayList class and was left surprised when I realised that\n`public System.Collections.Generic.IEnumerator<T> GetEnumerator() {\n retu... |
{"title":"Jenkins and multi-configuration (matrix) jobs","tags":["jenkins","continuous-integration","multi-configuration"],"question_text":"Why are there two kinds of jobs for Jenkins, both the multi-configuration project and the free-style project project? I read somewhere that once you choose one of them, you can't c... |
{"title":"Jquery Chosen plugin - dynamically populate list by Ajax","tags":["javascript","jquery","jquery-plugins","jquery-chosen"],"question_text":"Im trying to build my dropdown menu using the plugin Chosen for\nMultiple Select\n.\nHere's to behavior I'm based on:\nhttp:\/\/jsfiddle.net\/JfLvA\/\nSo, instead of havin... |
{"title":"Should I ignore the occasional Invalid viewstate error?","tags":["asp.net","error-handling","viewstate"],"question_text":"Every now and then (once every day or so) we're seeing the following types of errors in our logs for an ASP.NET 3.5 application\nInvalid viewstate\nInvalid postback or callback argument\nA... |
{"title":"Vertically center items with flexbox","tags":["css","css3","flexbox"],"question_text":"I'm trying to vertically center items with CSS' flexbox; and, I know how to do it with the non-vendor-prefixed code, but even with the vendor prefixes I can't get it to work in Webkit (Chrome).\nI am trying to vertically al... |
{"title":"Naming Conventions: What to name a method that returns a boolean?","tags":["coding-style","naming-conventions"],"question_text":"I have an interface in c# that helps retrieving of data from a custom archive on server. The interface looks like this:\n`public interface IRetrieveData\n{\n bool OkToRetrieve(SomeD... |
{"title":"Is Digest authentication possible with jQuery?","tags":["jquery","digest-authentication"],"question_text":"I'm trying to send a request that requires HTTP Digest authentication.\nIs Digest possible in jQuery?\nIf so, is this close to the correct way to do it? It's not currently working.\n`<script type=\"text\... |
{"title":"++ on a dereferenced pointer in C?","tags":["c","pointers","operator-precedence"],"question_text":"Trying to understand the behaviour of pointers in C, I was a little surprised by the following (example code below):\n`#include <stdio.h>\nvoid add_one_v1(int *our_var_ptr)\n{\n *our_var_ptr = *our_var_ptr +1;\n... |
{"title":"Check if date is within time range using Joda or standart Java API","tags":["java","datetime","jodatime","date-range"],"question_text":"I have first time as string '12:00:00' and another '19:00:00'. How to check time portion of the day is within these time values?","answer_text":"Using Joda Time you could do ... |
{"title":"Force SSL with expressjs 3","tags":["javascript","node.js","ssl","https","express"],"question_text":"I'm running a node.js express 3 server with no proxies and using SSL.\nI'm trying to figure out how to force all connections to go through https.\nGoogle searching shows me this:\nhttps:\/\/groups.google.com\/... |
{"title":"How to avoid React loading twice with Webpack when developing","tags":["npm","reactjs","webpack"],"question_text":"Given the following directory structure:\n`my-project\n|\n|-- node_modules\n |\n |-- react\n |-- module-x\n |\n |--node_modules\n |\n |--react`\nYou can see both\nmy-project\nand\nmodule-x\nrequi... |
{"title":"playframework owasp top 10","tags":["java","security","scala","playframework","owasp"],"question_text":"I'm thinking about using\nPlay\nfor a large-scale project, so, has anyone battle-tested Play framework for OWASP Top 10? Are there any security problems you know of in Play framework?","answer_text":"On the... |
{"title":"Debug Mode timeout Tomcat","tags":["java","eclipse","tomcat","tomcat7"],"question_text":"I try to start my Tomcat debug mode it throws the following thing:\nServer Tomcat v7.0 Server at localhost was unable to start within 45\n seconds. If the server requires more time, try increasing the timeout\n in the ser... |
{"title":"REST Web Services API Design","tags":["api","rest"],"question_text":"Just wanted to get feedback on how I am planning to architect my API. Dummy methods below. Here's the structure:\n`GET http:\/\/api.domain.com\/1\/users\/ <-- returns a list of users\nPOST http:\/\/api.domain.com\/1\/users\/add.xml <-- adds ... |
{"title":"Best way to convert pdf files to tiff files","tags":["pdf","image","tiff"],"question_text":"I have around 1000 pdf filesand I need to convert them to 300 dpi tiff files. What is the best way to do this? If there is an SDK or something or a tool that can be scripted that would be ideal.","answer_text":"Use Ima... |
{"title":"Tkinter: AttributeError: NoneType object has no attribute get","tags":["python","user-interface","tkinter"],"question_text":"I have seen a couple of other posts on similar error message but couldn't find a solution which would fix it in my case.\nI dabbled a bit with TkInter and created a very simple UI. The ... |
{"title":"Set Key and Value in spinner","tags":["android","hashmap","spinner"],"question_text":"I have a spiner and I want set a key and a value on this,I use of HashMap,It's work,but show one row,like this:\nCode:\n`final View rootView = inflater.inflate(R.layout.fragment_photos, container, false);\n Spinner spin=(Spi... |
{"title":"How do I raise the same Exception with a custom message in Python?","tags":["python","exception","message"],"question_text":"I have this\n`try`\nblock in my code:\n`try:\n do_something_that_might_raise_an_exception()\nexcept ValueError as err:\n errmsg = 'My custom error message.'\n raise ValueError(errmsg)`\... |
{"title":"Throwing exceptions in ASP.NET C#","tags":["c#",".net","exception"],"question_text":"Is there a difference between just saying\n`throw;`\nand\n`throw ex;`\nassuming\n`ex`\nis the exception you're catching?","answer_text":"`throw ex;`\nwill erase your stacktrace. Don't do this unless you mean to clear the stac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.