Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
64
30.3k
meta
dict
Q: change space between ticks in first y-axis in plt.imshow Hey I have used the following code: import matplotlib.pyplot as plt import numpy as np Class1=np.array([[1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.], [1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.], [1., ...
{ "pile_set_name": "StackExchange" }
Q: Is it possible or how to extract message string from binarized list? Given message copied from Silvia's profile page, a binarized list could be found bellow. lst = Uncompress@ "1:eJztk8ENwzAIRUkHyA5ZqdfeMkC6/605Vl8Gg8EykUD6imMb8/hxjvP7vl5EtN/\ 63NpKpVIpqSgBg4XzKbwzvP6PJ/Baa2BvxMxzea1caV2al3zQnId7pHqS1yPsEkPPa8/...
{ "pile_set_name": "StackExchange" }
Q: Decrypt base64 ciphertext with nodejs I have this ciphertext: 7GfBCT3ZLyS+yZ3gmyMi6zPneB7Chuu7gitxlZbPlA47Y2hpKPhfxqkW8pr7Jygv/ew7Oqk+YG9fn+yCh6KcrKb+1UfdrdLNr1FdFxbQvhFVr76My1Mm4NYDE+a8q/FCIiTjPvukGhxlR6qiS5qfg9bl3IwpJJfetSemqLNGNSQw6LJXP15HvfZUjmuV3ezsvwsX2fOsdUbvgHI22Owp85tC8KVq79RAA58wHardPRSr4I1kjsF8kDg0jSJef...
{ "pile_set_name": "StackExchange" }
Q: Raise MultiValueDictKeyError by request.FILES to get base64 image data Actually i need to get base64 image data generated by croppie javascript library. The image data look like below. data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAgAElEQVR4Xs1dB5xU1dX/39em7c422GXpVZGmWACxImAviYnYY/1UjLF8iYkx...
{ "pile_set_name": "StackExchange" }
Q: OpenSSL and Java yield different SHA256 RSA signatures I created a RSA keypair with OpenSSL: openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:4096 openssl rsa -pubout -in private_key.pem -out public_key.pem These are the keys: -----BEGIN PRIVATE KEY----- MIIJQgIBADANBgkqhkiG9w0BAQEFAAS...
{ "pile_set_name": "StackExchange" }
Q: How to compare a dataframe to a subset intersection of another dataframe in pandas in python? I have a the following dataframes in python: dataframe 1 1 2 3 4 5 dog dog 0 0 0 0 0 fox 0 0 0 0 0 jumps 0 0 0 0 0 over 0 0 0 0 0 the 0 0 0 0 0 fo...
{ "pile_set_name": "StackExchange" }
Q: How to save attachments from MS Access 2007 using Java? I have table in Access where i store id my task and attachment (docx file) to it. Attachment has datatype "Attachment". I need to save this attachment to diskspace using java(each file in own directory). When i export this table to XML i see some like this <...
{ "pile_set_name": "StackExchange" }
Q: Importing a DSA key from xml string fails for one user. Permissions? Broken installation? Bad KSP? A user recently reported a weird error when using my software. I use DSA signatures to verify licenses. When the software imports the public key to verify a signature, the DSA provider's FromXmlString method throws a...
{ "pile_set_name": "StackExchange" }
Q: Create file from JFIF data I have a dump of our LDAP database, and i'm attempting to extract all images from it using PHP. The images seem to be stored in JFIF format (at least, according to http://tools.ietf.org/html/rfc2798#page-5). However, i can't figure out how to create a JPEG file from this; I attempted fil...
{ "pile_set_name": "StackExchange" }
Q: checking if a script is running? How can I check if a script (e.g. a bash script) is running (in the background) using command line‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌? A: You can run: jobs -l Which will show you a list of all backgrou...
{ "pile_set_name": "StackExchange" }
Q: What is this method of display images called? On Google Images, some images are loaded like this: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhQSEBQUEhQVFRQWFBQXFRYVFRQQFhIUFBQXFRYWFxQYHCYfGBkjGRcUHy8gIycpLCwsFR4xNTAqNSYrLCkBCQoKDgwOGg8PGi8kHyQyLCwsLCwtLiwsLC0sKSwsLCwsKSwsLCosLCwpLCwsLCksLCwsLCwsLC...
{ "pile_set_name": "StackExchange" }
Q: css text gradient I've had alittle look around and can't find anything about this. If i have a paragraph of text, is there a way, maybe with CSS3 to gradually change the colour of the text as it goes down to the page? instead of the way that gradient does it, because that only does it on the word not the whole pa...
{ "pile_set_name": "StackExchange" }
Q: RSA decryption with large keys My problem: I already know the private and public key of an RSA system and I have an encrypted message but I can't decrypt it, because my private exponent is about 1024 bit. My data is following if it is needed for details but the question is how to decrypt a message with long keys o...
{ "pile_set_name": "StackExchange" }
Q: Use Illustrator SVG xml in HTML i have the following svg saved on my database: <?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 23.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/19...
{ "pile_set_name": "StackExchange" }
Q: Simple discriminant analysis in R using the lda function fails I'm trying to conduct a discriminant analysis and keep running into the following error: Error in sqrt((n * prior) * fac) * scale(group.means, center = xbar, scale = FALSE) %*% : non-conformable arrays Calls: lda -> lda.formula -> lda.default Here...
{ "pile_set_name": "StackExchange" }
Q: MVC Bundle fails to load We're having a strange problem that we can't seem to find a cause for. What seems to happen is the javascript and css bundles no longer load on the page. When we initially navigate to the page everything seems to be working fine. After two page refreshes the page loads without any css and...
{ "pile_set_name": "StackExchange" }
Q: Twitter Rest API not accepting headers for tokens in Swift I am trying to load a JSON page on the console and I keep getting the error message that I have bad authentication data. I am using the correct headers that the Twitter Developer program gave me to access the JSON but it's not working. Am I doing something...
{ "pile_set_name": "StackExchange" }
Q: Using RSA in Python I am using RSA to encrypt/decrypt my session keys in Python. I am using Pycrypto library. After generating the keypair, I want to extract the private key and public key from that generated key and store them in different files. How can I do this? I can see the has Private method which can tell ...
{ "pile_set_name": "StackExchange" }
Q: why i cant change contents in column in R? > data$Accepted.Final.round [1] NA NA NA NA NA NA NA NA 1 NA NA NA NA 1 1 1 1 0 1 0 0 1 1 1 1 1 NA 1 1 1 1 [32] NA 1 1 0 1 1 1 1 1 1 NA 1 1 0 1 1 0 1 1 1 1 1 1 1 1 NA 1 NA NA NA NA [63] NA NA NA NA NA NA NA NA NA N...
{ "pile_set_name": "StackExchange" }
Q: ASP.NET MVC2 CrAzY Characters in View Output - WTF Every once in a while when I'm running my app I get really "REALLY" strange characters in my output instead of the appropriate page. Now I know that this is because of some error, but unfortunately the error doesn't present it's self, but rather just produces str...
{ "pile_set_name": "StackExchange" }
Q: __RequestVerificationToken_Lw__ cookie being set In Firebug, I'm seeing a cookie with the name and value that I'm not sure should be set. __RequestVerificationToken_Lw_ XNIEP5oKUIQJRTxePUDf Hol50J2N6Oc67JSVrE0nWGkJmPfBysMdUHfrKMZNlXv6FFLQexfh6MtB4TR5UlBlWDMja/ urLC1dm8S08SG DYJJYE87X0dQsYuTNnOTnzBTfTGYiMjFKHrBCrV...
{ "pile_set_name": "StackExchange" }
Q: Continuity of a function at $0$ A similar has been asked before, but it was confusing. Please help me with it. I need a general method of dealing with such problems I need to show that the following function is continuous at $0$. $f(0,0)=0$ $$f(x,y)= \frac {x^2y^2}{x^2y^2+(y-x)^2}$$ A: Hints: Let $y=x$. So $\lim...
{ "pile_set_name": "StackExchange" }
Q: NA replacement using median value I have the following dataset: 5 3 3 5 10 10 3 8 2 12 8 6 2 5 6 5 10 4 3 5 4 3 3 5 8 3 5 6 6 1 10 3 6 6 5 8 3 4 3 4 4 3 2.5 1 4 2 2 3 5 10 4 4 6 3 2 3 8 3 4 4 3 3 4 ...
{ "pile_set_name": "StackExchange" }
Q: Access specific group in group by operation with pandas A B 0 1 12 1 1 13 2 1 15 3 2 16 4 2 19 5 2 20 6 3 32 7 3 29 8 3 25 9 4 3 10 4 5 11 4 7 I have a pandas dataframe as shown above.I want to group column 'A' by values like 1 2 3 4 and subtract the values of column B o...
{ "pile_set_name": "StackExchange" }
Q: Need help understanding the embedded image Apologies for the blurry image, I've been trying to identify a location in a relatives photo and this sign appears to be the only hint I have at it. I'm afraid my grasp of written Japanese isn't quite strong enough to understand it though, would anyone here be able to dec...
{ "pile_set_name": "StackExchange" }
Q: Which real numbers have two representations? Are they only numbers that end with 9999... and 0000... after the dot or some other too? If so, can you give an example? A: Any rational number whose decimal expansion terminates, i.e., numbers of the form $$\dfrac{p}{2^m 5^n}$$ where $p,m,n \in \mathbb{Z}$ can have t...
{ "pile_set_name": "StackExchange" }
Q: Proving the asymptotic relationship between two functions I was playing around with numbers a few days ago and found an asymptotic approximation to two functions: $$y=-\ln{x}$$ And $$y=x^{1-\frac{1}{x}}-x$$ Can I have a proof that it is (or isn't) asymptotic? (I'm pretty sure it is but I'm not 100% sure) A: Hin...
{ "pile_set_name": "StackExchange" }
Q: windows store app 8.1 file system access Can windows store apps only access "library" files and not other locations on the hard drives of PCs? Like if I had a D drive that was full of video media that I wanted the app to have access to, is there no way to get to that? I've been searching for a while now and can't ...
{ "pile_set_name": "StackExchange" }
Q: Notepad++ regular expression help I'm a total newb with expressions and looking for a quick way to do this. Trying to delete everything in between the && to TAG URL GOTO=http://www.URLHERE.com/&&TXT:Just<SP>Because<SP>I'm<SP>Skinny<SP>Does<SP>NOT<SP>Mean<SP>I<SP>Have<SP>an<SP>Eating<SP>Disorder TAG POS=1 TYPE=INPU...
{ "pile_set_name": "StackExchange" }
Q: My player disappears when launching my 2D Unity game I am trying to create a 2d platformer game in Unity 5 following these tutorials: https://www.3dbuzz.com/training/view/creating-2d-games-in-unity-45 I am however running into a problem where when I hit the play button in Unity my character simply does not appear ...
{ "pile_set_name": "StackExchange" }
Q: create regions of code I am coming from C# where we can create regions of code (Which I love) such as #region MyCodeIsHere //code #endregion So I can hide large chunks of code that work. Is there an equivalent way to do this in groovy? A: Thanks to ofstream, seems I can do it in intellij which is what I am us...
{ "pile_set_name": "StackExchange" }
Q: Can I add an atomic operation to MemoryCache? I'd like to know if I can implement a method on MemoryCache that removes an item from it and add a new one before any other thread tries to reach it. I can't seem to find anything that would let me control the lock(maybe for a good reason) so I can perform these two op...
{ "pile_set_name": "StackExchange" }
Q: Probability that the sum of all values of 5 pairs of dice will be between 30 and 40 I'm trying to solve a question that asks: If 5 pairs of fair dice are rolled, approximate the probability that the sum of the values obtained is between 30 and 40 inclusive. My approach so far, was to create a random variable ...
{ "pile_set_name": "StackExchange" }
Q: Pause and resume a spine animation I am using spine in libgdx for animating characters. But I have some problems in it: How can I pause and resume an animation? Thanks for any help or example. A: I found the answer after exploring the superspineboy example. The answer is as simple as setting timeScale of animati...
{ "pile_set_name": "StackExchange" }
Q: is SVN configuration possible in local/lan server? I want know is there any way to configure a SVN over a LAN sever(web server with php+mysql+apache configured), in LINUX, Windows. my requirement is to build a small web server with SVN facility in locally. i know the tortoise svn configuration. But how can be pos...
{ "pile_set_name": "StackExchange" }
Q: Cropping or centering image in Swift I have an image in an UIImageView. There are grey portions above and below the image because the image size doesn't have the same size as UIImageView. How can I crop or zoom the image in such a way that it just fits to cover the grey area above and below, or left and right? A:...
{ "pile_set_name": "StackExchange" }
Q: Laptop won't wake up after suspend I have a laptop HP Spectre x360 with an Nvidia GeForce MX150. Yesterday I did a fresh Ubuntu 18.04 install and almost everything worked just fine. The only issue that I have is that when I suspend the laptop, when I want to use it again I only get a black screen with this message...
{ "pile_set_name": "StackExchange" }
Q: Workflow Rule to check for null lookup I'm trying to write a very simple workflow where if the Case Contact is NULL do some action. In my Rule Criteria, I've tried: isNull( ContactId ) However, this doesn't seem to trigger the workflow. |WF_FORMULA|Formula:ENCODED:[treatNullAsNull]isNull( {!ID:Contact} )|Values...
{ "pile_set_name": "StackExchange" }
Q: Adding Crosswalk to a Polymer based Cordova app causes faulty UI I have been making an app for awhile now with Cordova using Polymer to make a nice UI. I want to allow android versions below lollipop to use the app but that requires the use of Crosswalks web-view. I have installed the plugin and the app now runs o...
{ "pile_set_name": "StackExchange" }
Q: how do I make 1st app listen from 2nd app? example i want to make an app have listbox, and an custom dll which i can use on second app. the first app is running always and listening for the second app, as soon as the dll function return value on second app , it will return value to the 1st app and insert the va...
{ "pile_set_name": "StackExchange" }
Q: Identify slow solr queries There are some queries that run very slow on my setup. Is there an easy way to identify and collect them (maybe through logs, or the admin console), so that I can do some performance analysis later on? A: yes, very easy in the logs, look at a sample line INFO: [core0] webapp=/solr path...
{ "pile_set_name": "StackExchange" }
Q: Hard math contest trigonometry type problem How to solve this problem: Also, most people would use trigonometry, but is there a way to use derivative to solve this too? A: Above, $O$ is the centre of the sphere, $x$ is its radius. Writing the area of trapezoid $ABCD$ as a sum of three triangles, we can easily s...
{ "pile_set_name": "StackExchange" }
Q: Get matrix from textfile in Mathematica What's the easiest way to turn this text file into matrix? It has one row per line, where O means 0 and X means 1 A: $url = "http://hyperpublic.com/challenge2input.txt"; StringCases[Import[$url, "Lines"], {"O" -> 0, "X" -> 1}] A: I first saved that text in a file tmp.txt...
{ "pile_set_name": "StackExchange" }
Q: Learning C: video course recommendation I'm required to learn C to help a professor of mine with some lab work. I've got only about 2 weeks to get ready. Anyone can recommend a good course/book, but preferably a video course that's thick and decent (like the MIT open courses style), but anything else that you've h...
{ "pile_set_name": "StackExchange" }
Q: Copy windows shared file from cmd Is there a downloading tool that supports Windows Shared files and works from command line? Standard copy is getting hanged with no action on my side. Tried wget but seems it doesn't 'eat' the link. A: Robocopy is the way to go. Download here: http://www.microsoft.com/Downloads/...
{ "pile_set_name": "StackExchange" }
Q: How to define a Nuxt link in a Vuetify button when portion of the path belongs to $route.params? In Nuxt and Vuetify application, I have a series of buttons: <v-btn ...
{ "pile_set_name": "StackExchange" }
Q: Create Better Looking Buttons in VBA without using Image Is there anyway to create more rounded/professional looking buttons using vba. I found a couple places that suggested using images, which is not a terrible Idea, but I was wondering if anyone had a clue if there is a downloadable software, add-in, or anythin...
{ "pile_set_name": "StackExchange" }
Q: Summing a series with a changing power $$\sum_{r=0}^{k-1}4^r$$ Hi, I was wondering whether anyone could explain how to work this out. I know the end result is $\frac{4^k-1}{3}$, but I don't know why or how to get there. Thank you :D A: Multiply it by $(4-1)$. Expand without turning it into $4-1=3$. a lot of pow...
{ "pile_set_name": "StackExchange" }
Q: Opto-isolation amplifier giving no output First of all, thanks to the community for having such helpful answers here - don't post very often but here's one I could really do some help with. I want to measure a voltage range of 0-100V DC in an isolated manner and using an Arduino Uno. I've got a HCPL 7520 (datashee...
{ "pile_set_name": "StackExchange" }
Q: How can I make MdiChild forms be in tabs in C#? I have a MDIparent Forma and which has some mdichild forms in it. Can you help me some how put the mdichilds in Tabs like google chrome , firefox , IE , Opera ... A: There's a good article on MDI forms with TabControls here: http://www.codeproject.com/KB/cs/MDITabB...
{ "pile_set_name": "StackExchange" }
Q: Symfony 2 form validate I have a simple form without a entity that I use to send emails. Now I was testing in firefox and if I leave a field empty I will get a message. But now if I open the same form in Safari (that ignores required proprty) I won't get any message. The form->isValid() returs true even when I lea...
{ "pile_set_name": "StackExchange" }
Q: How can an image be posterized in the compositor? I tried to split an image RGB values and re-combined it with rounded values in order to reproduce the results described in this BA Thread. But instead of a posterized image all I get is an almost black image. Why is that? The issue was that I loaded an HDR image, ...
{ "pile_set_name": "StackExchange" }
Q: Play embeded youtube video on button press Is it possible to embed a youtube video in your application, but rather than showing the user a preview thumbnail that can be touched, show a standard UIButton that loads the video directly into the actual youtube player when touched. After the user clicks done control wo...
{ "pile_set_name": "StackExchange" }
Q: Finding number of points where a given function is continuous I was thinking about the above problem.Can someone point me in the right direction?Thanks everyone in advance for your time. A: Hint: This function is continuous exactly at the solutions of $\frac{3x}4=\sin x$ (why?)
{ "pile_set_name": "StackExchange" }
Q: Inequality operators and sorting in Python I have a collection (list) of objects. I want to be able to sort the objects without having to provide a callback (lambda function) to sorted() but instead, by implementing functions that could be used to ascertain strict (in)equality between objects of the same type - al...
{ "pile_set_name": "StackExchange" }
Q: CSS: the borders don't show in IE7 but do in Firefox I have this page. login: maria@mail.com password: m As you can see in IE7 there isn't any border below 'Alcorcon', 'Madrid', etc. In FF yes. Why? Regards Javi A: Older IE doesn't like the word grey. Change your border-bottom to: border-bottom: 1px solid #999;...
{ "pile_set_name": "StackExchange" }
Q: SCA SuiteScript query item to code I need to add an non-inventory item by internal id to the cart in SCA, how would I go about pulling that item and then adding it? The code samples I find are for pulling data always refer to views, I am thinking I need to pull it as an item, as I need to add it as an item using m...
{ "pile_set_name": "StackExchange" }
Q: Can I still manage my SQL Server through the browser window in the New Azure Portal In the older management portal I was able to do SQL Server database management tasks but in the new portal (green and blue) that functionality seems to be removed. In fact the older Azure portal does not seem to have that functiona...
{ "pile_set_name": "StackExchange" }
Q: How to display the Text in bottom of the screen? In android app i have display the score in TextView in bottom of the screen, It has displayed in emulator but not display in phone. i changed to display in top of the screen it has work in phone but i need to display in bottom of the screen in phone. Please any one...
{ "pile_set_name": "StackExchange" }
Q: Is there an app skeleton builder for Android? I was using DroidDraw, working through the tutorials. Looking at the resulting XML and the Java code to tie them together, I was thinking that I could build a program to automate that process, so I started noodling something together. But before I go off and totally re...
{ "pile_set_name": "StackExchange" }
Q: Can't deploy nodejs app to heroku and openshift I can't deploy my ExpressJS app to Heroku or OpenShift hosting. On my MacBook Pro all works perfectly, but it go to crash when I try to deploy it on hosting. error Error: shasum check failed for /app/tmp/npm-403-gj-8PMyB/1387967953013-0.7812028499320149/tmp.tgz 344 ...
{ "pile_set_name": "StackExchange" }
Q: Using azure login in react native I'm currently trying to do login from azure ad using : react-native-azure-auth Using this code : let tokens = await this.azureAuth.webAuth.authorize({ scope: 'offline_access profile User.ReadBasic.All Mail.Read' ,}) now it works fine only thing is I pass in scope "offline...
{ "pile_set_name": "StackExchange" }
Q: Annotated 9x9 Go Games I've recently started playing Go and I would like to study some annotated 9x9 games, but can't seem to find anything. Does anyone know where I could find such games? If it's free that would be even better. A: There is not much written about 9x9 Go games, but you can find a few videos about...
{ "pile_set_name": "StackExchange" }
Q: c++ symbols received from backtrace_symbols does not show function in g++ I'm trying to print a backtrace in code progrematically, compiling all my source with -g, as well as linking with it, and I also added fvisibility=internal. but when I call the symbol list, all my code looks like: module() [0x424b69] why doe...
{ "pile_set_name": "StackExchange" }
Q: LINK : fatal error LNK1221: a subsystem can't be inferred and must be defined I have no other errors or warning in my solution, which would be great but this error has totally baffled me. I have three projects, one references none, and the other two both reference it. One is a windowsservice, ah, that is also the ...
{ "pile_set_name": "StackExchange" }
Q: In which context does "anticipated" mean "came or took place before"? In the New Oxford American Dictionary I read that one of the meaning of anticipate is come or take place before (an event or process expected or scheduled for a later). In which context is anticipate (or anticipated) understood to have that mean...
{ "pile_set_name": "StackExchange" }
Q: Getting Facebook picture info or ID I am creating a facebook app in which I change the User Display picture.Now if the user again come to my app i want to see that either he is an old user or a new one. What my algo is to rename the picture like that PictureName-Old**,Later if I find word like Old** in user displa...
{ "pile_set_name": "StackExchange" }
Q: R Facebook API integration I would like to get Facebook ad spend data into R for analysis. This is similar to data about adspend that is available from Google Analytics (metric ga:adCost). I read about the package Rfacebook but I dont think it supports this data retrieval. Is there any other package or way to ge...
{ "pile_set_name": "StackExchange" }
Q: MySQL: Change compression on an existing InnoDB table Is there any way to turn on compression for an existing table? I don't care if there's downtime for this. The docs only mention setting compression when the table is created. A: ALTER TABLE xxx ROW_FORMAT=COMPRESSED
{ "pile_set_name": "StackExchange" }
Q: laravel migration error after define defaultStringLength i get this error after define 'defaultStringLength' [Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method Illuminate\Database\Schema\MySqlBuilder::defaultSt ringLength() A: You're using an older version of Laravel. You c...
{ "pile_set_name": "StackExchange" }
Q: Debug technique for debugging an unusual memory leak I have a windows application (legacy) that leaks a lot of memory. It does not leak private bytes, I only see with process explorer that it keeps loading from time to time many instances of the same (topically) windows dll-s. Is there a tool I can use to "trap" t...
{ "pile_set_name": "StackExchange" }
Q: Is Google Sign-In not supported on Firefox? I'm trying to run the default example code (using my Client ID) linked at: https://developers.google.com/identity/sign-in/web/ The code runs correctly on Google Chrome browser (returning all user infos) while it throws an exception using Firefox: "uncaught exception: [o...
{ "pile_set_name": "StackExchange" }
Q: ANDROID ACTIVITY-MAIN.XML NOT APPEARING Hello i am a beginner to android.I have been working on eclipse but recently i just downloaded android studio.every thing is coming but in the activity_main.xml layout doesn't appear at all but the paleete appears,rest everything is ok. can anyone please help to figure out...
{ "pile_set_name": "StackExchange" }
Q: how to modify table values in database hi i am new to andriod.I am creating a table and inserting the values into table by using sql lite.Now i need to change vales based on the id.how can i done this pls post some code.Thank u in advance. A: So, you've tried UPDATE?
{ "pile_set_name": "StackExchange" }
Q: How can I downgrade My Surface Pro 3 from Windows 10 enterprise to Pro (using the built-in key) I have a Surface Pro which had Windows 10 enterprise installed but has become deactivated due to no longer being around/associated the organizational infrastructure (KMS?). I want to just downgrade it to the built-in Wi...
{ "pile_set_name": "StackExchange" }
Q: Regular expression to check number greater than 100 I want to construct a Regular Expression in Java that allows a number that is greater than 100. Can anyone help with that? A: ^(?!(?:\d{1,2}|100)$)[0-9]\d+$ Try this.See demo. https://regex101.com/r/sJ9gM7/549
{ "pile_set_name": "StackExchange" }
Q: IE centering and possible image problem Here is my test link to a my portfolio I'm trying to finish up - http://dev.nerdysyntax.com. First problem is my images seem to distort or blob transition into focus when first open. Most advanced sites I've seen where images usually appear starting from the top of the image...
{ "pile_set_name": "StackExchange" }
Q: How do I make the installer project require the user to restart their machine after installation completes? As title says, How do I tell the user via installer that the machine needs to be restarted and have the installer restart it ? Please note that I'd like to avoid having a custom action with MessageBox.Sho...
{ "pile_set_name": "StackExchange" }
Q: Xcode 11.2 swift 13.2 An SSL error has occurred and a secure connection to the server cannot be made i am trying to send remote notification using one signal and i made all certificates right when i run application and check one signal i got this "We haven't detected any subscribed users yet for this platform" and...
{ "pile_set_name": "StackExchange" }
Q: How to use Postman I'm using this CURL line for my test: curl -H "X-Auth-Token: U2FsdGVkX1/AT1TyraJ0as+h6nu0hW4fvl" -X PUT -d "{\"\$set\":{\"product\":\"Product New Name\" ,\"quantity\":90}}" http://localhost:3000/api/RDiHJAbxpjFqeA9aC I would like to use Postman. How to achieve the same from Postman? A: Please...
{ "pile_set_name": "StackExchange" }
Q: How to copy a file to the same directory (win32) Lets say I have a file called f1.txt in a directory D1. If I cut paste this file in explorer I get a nice file called f1-(Copy).txt. I think in earlier version I would get f1(2).txt. Anyway the point is can I do this programmatically given just the file path in Win3...
{ "pile_set_name": "StackExchange" }
Q: err_cert_invalid at google chrome and opera When I try to browse this site it always say connection is not private or certificate is unprotected: A: Using Google Chrome: Put https://aclcdau.com:2083 in the address bar You will see Click on Advanced in the lower left corner Click on Proceed to cloud01.jollyworks...
{ "pile_set_name": "StackExchange" }
Q: gitkraken not showing screen after installation I have installed GitKraken 3.3.4 on my LinuxMint 18.1-64 bit machine. I When I click on GitKraken it shows loading, but display is not showing up in the screen. Anyone can help me to solve this issue?. No issues in installation using command line or package installe...
{ "pile_set_name": "StackExchange" }
Q: TPK location on windows file system I'm doing a proof of concept on a Windows 10 tablet with the Anywhere 7.6.2.1 Work Execution app and am trying to setup offline maps using a TPK file. The instructions on the product knowledge center state: For Windows devices, this folder location is windowsLocalMapUrl="\fol...
{ "pile_set_name": "StackExchange" }
Q: ARC forbids synthesizing a proper with unspecified ownership etc. but only for me I'm working on an iPhone with a group of people over github. I was added to the project late and just started today. I am unable to build the project which I find extremely annoying. The reason is that Arc forbids synthesizing a prop...
{ "pile_set_name": "StackExchange" }
Q: opening camera in Expo I am trying to run this code (https://snack.expo.io/Hk1C_YqjW) on my android device using Expo XDE, but when it comes to this line: const arSession = await this._glView.startARSessionAsync(); shows this error and stops: [Unhandled Promise rejection: TypeError: undefined is not an object (ev...
{ "pile_set_name": "StackExchange" }
Q: Adding white space to a shutter screen shot I have a taken a screenshot with Shutter, and I wish to annotate the screenshot, so I click on edit. How do I add white space around the screenshot to put my annotations? A: After you have clicked on edit, in the edit window you see small square handles around the pict...
{ "pile_set_name": "StackExchange" }
Q: Convergence tests for a series I have this infinite sum $$\sum_{n=1}^\infty n^2\sin \left(\frac{1}{n^2}\right)$$ anyone knows if this series is converging and if so how do I prove it? A: A big hint: for a series $\sum_n a_n$ to converge, a necessary (not sufficient, but necessary) condition is that $\lim_{n\to\i...
{ "pile_set_name": "StackExchange" }
Q: QML background from QPixmap How can I set a background using C++ object declared in QML file that returns QPixmap by one of its methods. A: you need to implement QDeclarativeImageProvider, here is sample code.
{ "pile_set_name": "StackExchange" }
Q: Apex : Count the number of letters in an arbitrary string The String length() method return the total length of string but i need the count of characters Example if the string is 'm*tt-', the # of characters will be 3 even though the length of string is 5 A: String alphaChars = searchString.replaceAll('[^A-Za-z...
{ "pile_set_name": "StackExchange" }
Q: Making token accessible to other views after being set in class I have an angular 2 project where I want to make an api call and grab a token. Then I want to set the token in a property within that class. I want to then be able to grab that token from other parts of my app. This may be a simple question, but once ...
{ "pile_set_name": "StackExchange" }
Q: My in app purchases stopped working after changing app name? I changed my app name in xcode and also in itunes connect. I then went and tried to test my in app purchases but they don't work. Can someone please help me fix this? I don't what to do to get this to be resolved. A: You just need to manually set the B...
{ "pile_set_name": "StackExchange" }
Q: Deactivating pass from Apple wallet I'm trying to implement functionality which will send push notification for pass deactivation/cancellation. But I can't find any word about it in apple/android documentation. Can any one suggest a solution how to deactivate pass? A: You cannot directly deactivate or delete a p...
{ "pile_set_name": "StackExchange" }
Q: show multiple choice questions with answers to users I have a table in mysql database called question with fields questionid, name, choice1, choice2, choice3, answer. I entered 4 questions in the database but need to show only one random question to the users. please suggest me. thanks A: Use RAND() function. Qu...
{ "pile_set_name": "StackExchange" }
Q: Getting data once and use it in all activities I have a question about getting data from server. I get general data in mainActivity of my app and I want to use it across all activities. I was thinking about using database to get my data once, save it in database and get it where I want from database. But now I'm t...
{ "pile_set_name": "StackExchange" }
Q: Request: Historical Street Atmos/Walla (Pre-50s) I'm wondering if anyone has or knows where I could find Street Ambience or Walla from the first half of last century. I'm not concerned about a specific nationality or language. I'm working on a uni project where the character travels to a unique, foreign land that ...
{ "pile_set_name": "StackExchange" }
Q: ionic google maps api autocomplete gets Cannot read property 'Autocomplete' of undefined How can I write this script correctly on ionic?: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=xxx&libraries=places"></script> Does not accept the '&' A: HTML has few special characters, bu...
{ "pile_set_name": "StackExchange" }
Q: PowerBuilder 12.5 tutorials I am new to PowerBuilder Classic 12.5. I have created ado.net database profile. How can I now connect to it and create a login window to read username and password, validate and let the user access to the program. Please help with a sample code and where do I put the codes? Thanks. A: ...
{ "pile_set_name": "StackExchange" }
Q: Hide Boom Bar on Push is the cause of the bug Navigation Bar I have a strange behaviour when I push detailed View Controller. I have such a hierarchy View Controllers, all controllers are configured by default. Only last UIViewController set hidesBottomBarWhenPushed = true Here is a test project in google drive....
{ "pile_set_name": "StackExchange" }
Q: android facebook sliding menus In my application I want to create two sliding menus: from left to right and from right to left; like for facebook one is for menu and the other is for chat. How can i get both the sliding menus using jfeinstein10/SlidingMenu API by github? A: tried my own implementation FacebookSl...
{ "pile_set_name": "StackExchange" }
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3