date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/02
582
1,840
<issue_start>username_0: I'm rewriting my app in Swift (yes, hooray) and I'm running into the following: I inherited a class, of which the definition is (.h) ``` #import #import @interface MWColor : NSObject + (UIColor \*)gray; + (UIColor \*)green; + (UIColor \*)themeColor; @end ``` In here, I define colors, t...
2018/03/02
455
1,428
<issue_start>username_0: How can i solve failed to resolve **com.rengwuxian.materialedittext.library.2.1.4** in android studio 3.0.1<issue_comment>username_1: You can add computed colours to `UIColor` in an extension like this... ``` extension UIColor { static var myRed: UIColor { // define your color her...
2018/03/02
1,353
3,241
<issue_start>username_0: Someone tweeted the other day that `dplyr` now supports inequality joins ("rolling joins") but the version on CRAN does not mention that. Any pointers appreciated.<issue_comment>username_1: As far as I know there is no such single function for this in dplyr but assuming that what you are referr...
2018/03/02
1,080
4,386
<issue_start>username_0: I'm new to this site and currently doing a computer programming class up in ontario, canada. I have a computer programming class and currently making an interactive tic-tac-toe game. I use if statements in a function in order to verify in theres a winner. I have an If and an else if. However on...
2018/03/02
628
2,494
<issue_start>username_0: I know Apple has this API I can hit: `http://itunes.apple.com/lookup?bundleId={id}` However, for the PlayStore, I'm looking for something similar, rather than parsing the app page `https://play.google.com/store/apps/details?id={id}` and then looking for the that contains `itemprop="softwar...
2018/03/02
438
1,759
<issue_start>username_0: a simple IF function written for testing, the condition is clearly true, but it just skips to ELSE every time. Could somebody tell me if I'm doing something wrong? ``` namespace SANK { /// /// Interaction logic for SignIN.xaml /// public partial class SignIn : Window { string username; ...
2018/03/02
469
1,771
<issue_start>username_0: I have a project built in Zend Framework 1. With PHP up to 7.1, it works fine. When I upgraded PHP on one of the testing servers, it shows an internal error: > > Fatal error: Declaration of **Zend\_Rest\_Route::assemble($data = Array, $reset = false, $encode = true)** must be compatible with ...
2018/03/02
882
3,204
<issue_start>username_0: In Kendo UI for Angular 2: 1- How can I hide the extra filter options (the filter at the bottom in the picture). 2- For the first (remaining) filter: how to set a default operation and then hide the operations dropdown? [![enter image description here](https://i.stack.imgur.com/Qvt2p.png)]...
2018/03/02
881
2,885
<issue_start>username_0: How do i get first and second slash of a URL in javascript? URL : `http://localhost:8089/submodule/module/home.html` Now i want the value `/submodule/module` Below is the code i have been trying ``` window.location.pathname.substring(0, window.location.pathname.indexOf("/",2)) ``` This go...
2018/03/02
603
2,104
<issue_start>username_0: I'm a newbie in swift and I tried to make a Timer. It should normally count the seconds and print them in the debugger. I tried this: ``` var timer = Timer() @IBAction func killTimer(_ sender: AnyObject) { timer.invalidate() } @objc func processTimer() { print("This is a ...
2018/03/02
618
2,314
<issue_start>username_0: I have a single table database which is stored as an MSAccess database. It served us greatly as a desktop app for a long time, but I want to convert it to an ios app. The table contains several hundred recordings, a key, and 20 properties. It serves us as a reference "book", and therefore some ...
2018/03/02
568
2,045
<issue_start>username_0: im a newbie with NodeRed. I am trying to create a `http request` for the Actility `LORAWAN` platform with the authorization : `bearer token without success`. The request is working and i get ``` { "code" : 401, "message" : "Permission denied: Authorization header must be set with Bearer...
2018/03/02
820
2,771
<issue_start>username_0: Edited Version -------------- I have a question about GPG, but I write all of the process, maybe it will help someone. I want to: **Suppress the passphrase prompt in GPG command.** I don't want to: **use -c option (--symmetric).** I have 2 systems Linux and Windows. I want to send the data f...
2018/03/02
374
1,214
<issue_start>username_0: I'm using matlab to create a matrix of random integers 1 to 5 that has each integer an equal amount of times, such that there are an equal number of 4s in the matrix as there are 5s. Weighting the values equally does not work as it still produces unequal occurrences of each number. Can anyone h...
2018/03/02
659
2,240
<issue_start>username_0: First of all, I have whitelisted my localhost port 3000 for Cross-Origin requests. I am building a MEAN stack application. And I am trying to consume an API using $http service. ``` myApp.controller('minuteController', function($scope,$http) { $scope.submitButton = function() { $http({ ...
2018/03/02
1,101
2,992
<issue_start>username_0: I am trying to return only values that match a 2 condition filter. The problem I am having is that some names have more than 1 code and some names only have 1. ``` name <- c("Jeff", "Jeff", "Jill", "Jill", "Angie") total <- c(123, 234, 345, 456, 567) code <- c("abc", "xyz", "abc", "xyz", "abc...
2018/03/02
1,191
5,337
<issue_start>username_0: I've read multiple threads about this, but still cannot find anything that works. I'm writing program for basically browsing database of images. I have a ListView with DataTemplate: ``` ``` In converter I receive object and make URL from it's content. My problem is that I need to display 10...
2018/03/02
491
1,922
<issue_start>username_0: I'm working on the graphic design on the website .so which is the best option for graphic design SVG files or images (PNG JPEG or any others img) I mean quick loading response in the HTML page. Note: not compare as result quality both SVG and image files like here on Moon img [![enter imag...
2018/03/02
530
2,117
<issue_start>username_0: I have the following table [![enter image description here](https://i.stack.imgur.com/54mL9.png)](https://i.stack.imgur.com/54mL9.png) On each day a single sport activity is organized and attending students receive bonus points. Students can attend activities each day to receive points. Base...
2018/03/02
463
1,623
<issue_start>username_0: I am using HttpClient from '@angular/common/http' and wanted to perform put operation. My Angular code is like : ``` public updateDetails(data: Data) { const url = '/project/rest/v1/configuration/device/update' console.log(JSON.stringify(data)); let headers = new HttpHeaders(); ...
2018/03/02
627
2,067
<issue_start>username_0: I'd like to add a title to the whole map (different from the legend title: *addLegend(..., title = "", ...)*: by "title", I mean an overlaid map component that stays in place while the map is moved (unlike an overlaid image)[![what the map title could look like](https://i.stack.imgur.com/2ZOyQ....
2018/03/02
908
3,296
<issue_start>username_0: I have a Bootstrap card which, when clicked on, presents the user with a series of choices, then should return to it's original state. JSFiddle: <https://jsfiddle.net/wgksny22/6/> The card is a basic one: ``` ###### Card Header ``` The following is loaded as a cloneable template `options...
2018/03/02
1,189
4,112
<issue_start>username_0: I'm trying to setup a vue-router on my nginx server. The issue I'm having is that my route doesn't work if I enter url directly to the browser `myapp.com/mypath`. I've tried server configuration as described in the [vue router docs](https://router.vuejs.org/en/essentials/history-mode.html#ngin...
2018/03/02
315
1,210
<issue_start>username_0: I have the following function in PostgreSQL: ``` create function test_createuser(username varchar, userpassword varchar) returns void as $$ begin CREATE USER username WITH PASSWORD userpassword; end; $$ language plpgsql; ``` However this gives the following error: ``` syntax error at or n...
2018/03/02
694
2,189
<issue_start>username_0: I was trying to test something on phptester.net and came across something I was not aware of. I am not sure why some of the following statements are true using PHP 7.0. ``` php $arr = array('a', 'b', 'c'); var_dump(in_array('a', $arr)); // bool(true) var_dump(in_array(false, $arr)); // bo...
2018/03/02
3,542
12,858
<issue_start>username_0: Is it possible to register AOP advices programmatically, **after** the application has booted and the context has been initialized? When I tried, the advices didn't work, supposedly because they need to wrap the bean BEFORE it gets available in the context. Something like this (it doesn't wor...
2018/03/02
507
1,732
<issue_start>username_0: I am reading this color value from 3 different links and setting it as background color to some divs. What I am wondering is, if there is a better way to do it, where I won't have to repeat my self. For now its only color values but for the next step I have to read a json file which contains a ...
2018/03/02
639
1,767
<issue_start>username_0: I have this table here ``` CONCAT(Nome,'',Cognome) Interno value <NAME> 1 0 <NAME> 1 84 <NAME> 1A 570 <NAME> 1A 972 RICCIARDELLI 2 1276 RICCIARDELLI 2 1320 ``` All I want to do is to select the maxim...
2018/03/02
597
1,908
<issue_start>username_0: I'm a bit of a noob, so sorry in advance if I'm not doing this right. I'm using python 3.6x What I have so far that gets the command window open is ``` import os os.open("start cmd") ``` but this comes up in the directory that I'm working from and not in administration mode. I've also t...
2018/03/02
459
1,371
<issue_start>username_0: ``` def check_offline(text): list_pro = open('full-list-bad.txt','r') content = list_pro.readline() for ligne in content : if ligne in text : remplacement = "*" * len(ligne) text = text.replace(ligne ,remplacement) print ligne return...
2018/03/02
631
1,908
<issue_start>username_0: What is the best way to re-organize array into output? I need to merge the values with the same key into an array of objects. the input array: ``` var array = [ { aaa: { name: "foo1", value: "val1" } }, { aaa: { name: "foo2", va...
2018/03/02
1,710
6,245
<issue_start>username_0: In my regular .NET Framework application, I was using EF 6.x and was also using some Inheritance, specifically: > > **PurchaseOrder.cs** and **SaleOrder.cs** both inherit from **Order.cs** > > > And in the `OnModelCreating()` on my context class inheriting from `IdentityDbContext`, I was ...
2018/03/02
1,017
3,139
<issue_start>username_0: I am currently trying to make content appear when a label is selected. The issue which I am having is that the content which will appear will vary in size based on the data which is being pulled in so I cannot set a specific height which will work in all cases. I thought the best way to work ar...
2018/03/02
992
3,527
<issue_start>username_0: I am using Symfony 3.4 and FOSRestBundle for my APIs. All the services are working fine except this one where I am posting an entity with a form and an `EntityType` field. Controller: ``` public function createAssistanceCallAction(Request $request) { $assistanceCall = new AssistanceCal...
2018/03/02
639
2,674
<issue_start>username_0: Notepad++ has a uniquely useful feature -- you can open a new tab and paste some text in and it will remember that text forever without saving it to any formal location. I have used it this way for a long time as I do a lot of experimental stuff when working with Hyperledger blockchain code and...
2018/03/02
468
1,573
<issue_start>username_0: ``` #!/bin/bash set -e a=0 echo $a ((a++)) echo $a ``` returns only 0, yet remove the `set -e` and it returns 0 and then 1, why does ((a++)) return a non-zero status?<issue_comment>username_1: Consider the following three facts, taken in combination: * `(( a++ ))` is a postincrement -- its r...
2018/03/02
573
1,598
<issue_start>username_0: I have a command and it returns 108 set of week/enumeration: **Command:** ``` impala-shell -B -f query.sql ``` **Results:** ``` 20180203 1 20180127 2 20180120 3 ... ``` I parsed the results and read the week and enumeration as two variables. However, I have to use a ...
2018/03/02
363
1,125
<issue_start>username_0: I'm having two lists of same size `ids` and `results` and I want to create new list with domain objects. ``` List ids = ... List results = redisTemplate.opsForValue().multiGet.get(ids); List list = // list of domain objects new DomainObject(id, result); ``` Solution that I've used: ``` Li...
2018/03/02
3,593
8,281
<issue_start>username_0: While trying to open Excel file from inputstream (Groovy 2.4.14 apache poi 3.17 jdk 1.8.0\_92): ``` def myWorkBook = new XSSFWorkbook(zis) ``` I got error: ``` Caught: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.x...
2018/03/02
554
1,927
<issue_start>username_0: I haven't used soap until now. I'm using node-soap library (<https://github.com/vpulim/node-soap>). I want to communicate with soap server. To maintain the session the server sends me set-cookie response header: `'ASP.NET_SessionID=55....hrc; path/; HttpOnly'` with the Login method response. I...
2018/03/02
461
1,533
<issue_start>username_0: I cant understand why the result is always false ``` package test; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Test { public static void main(String args[]) { String pattern = "place (//d+);(//d+);(//d+);(//d+)"; // Create a Pattern obj...
2018/03/02
1,525
5,406
<issue_start>username_0: I am trying to create a component that accepts an object as prop and can modify different properties of that object and return the value to the parent, using either sync or emit events. The example won't work, but it's simply to demonstrate what I'm trying to achieve. Here's a snippet of what ...
2018/03/02
1,429
4,795
<issue_start>username_0: I am performing the following Oracle select on sqldeveloper: ``` select (2299) / (((2299) * 20 )/ (100 * 360)) from dual; ``` and it is giving me ``` 1800.000000000000000000000000000000000003 ``` as a result instead of **1800**, why is that? and how can i fix it?<issue_comment>username_...
2018/03/02
1,095
4,098
<issue_start>username_0: I have reviewed all the previous questions with a similar title as this one, however I can't find a solution. All the errors are suggesting that I am not initializing the ArrayList.. Am I not initializing the ArrayList as such with, `= new ArrayList` ? ``` import java.io.File; import java.io....
2018/03/02
2,017
3,597
<issue_start>username_0: I have a list with numerical data. Numbers are separated with a dot "." and a space " " unless they are negative, in which case the space " " is replaced by the negative sign "-". I've been having trouble getting out all of the information, which should fit in a 2982x16 matrix, because the num...
2018/03/02
896
3,520
<issue_start>username_0: In excel table when I set filter on one column it filters irrelevant filter options for another columns and so forth. But I need to know what algorithm Excel uses to do this and if there's any implementations for JS. I tried to update list of unique values for each column when new filter is b...
2018/03/02
4,092
12,041
<issue_start>username_0: I'm trying to get the stuff command to work with the following code and I can not seem to get it right - sorry I'm a noob to all this. The following code returns 21 rows as the countries.countryname has multiple records saved against the SpecSummary.specnumber - I'd like the data to output th...
2018/03/02
747
3,008
<issue_start>username_0: [This](https://stackoverflow.com/a/708508/1168364) describes different indexes: > > KEY or INDEX refers to a normal non-unique index. Non-distinct values > for the index are allowed, so the index may contain rows with > identical values in all columns of the index. These indexes don't > enfor...
2018/03/02
476
1,383
<issue_start>username_0: I have `angular` in my dependencies at 1.5.11: ``` { "dependencies": { "angular": "1.5.11", "angular-foundation": "0.7.0" } } ``` `angular-foundation` happens to depend on `angular@>=1.3.0`. Why does Yarn install `angular@1.6.9` as a nested dependency of angular-foun...
2018/03/02
514
1,952
<issue_start>username_0: I know that the query: <https://graph.microsoft.com/v1.0/me/messages> Corresponds to: GraphClient.Me.Messages.Request().GetAsync() I am trying to replicate the following requests in Microsoft Graph Client SDK : 1. Get All Categories <https://graph.microsoft.com/beta/me/outlook/masterCategor...
2018/03/02
406
1,509
<issue_start>username_0: My friend does this using a node discord bot: ![remote command example](https://i.stack.imgur.com/99COe.png) I want to have a command in discord server using: ``` discord.py bot !eval await bot.change_presence(game=discord.Game(name='test')) ```<issue_comment>username_1: 1. The SDK is gener...
2018/03/02
348
984
<issue_start>username_0: About the rem unit introduced since CSS3, is it rendered only when a page refreshed? If resizing a web page for responsive testing, will a text, whose font size is defined as the rem unit, also be resized dynamically?<issue_comment>username_1: `rem` references to the root font size defined in `...
2018/03/02
842
2,654
<issue_start>username_0: I wonder if there is any method which can unpack the hashes inside an array. For example ``` array = [{:code=>"404"}, {:code=>"302"}, {:code=>"200"}] ``` After unpacking it should give ``` array = [code: "404", code: "302", code: "200"] ``` I have tried using flat\_map as follows ``` ar...
2018/03/02
951
3,270
<issue_start>username_0: Is it possible to make the msgbox of this code to appear only once? My problem is that if the user inserts data i.e. from row 501 until 510 the message box will appear 9 times, and I want to have it only once. The reason of this is because the code looks in each cell to verify if something is i...
2018/03/02
10,038
26,887
<issue_start>username_0: I'm trying to find a solution to open a view after a delay in a loading view. I have a View, in which there is a button and when I press it, the `onPressed()` method triggers a `Navigator.of(Context).pushNamed("/loading")`. which opens the loading view. In the loading view I have then a functio...
2018/03/02
1,213
4,652
<issue_start>username_0: The app works on previous versions of Android, but not on Oreo. It's a `WebView` with `Notification`s. I've been researching this error and haven't found anything similar. The stack trace: ``` E/AndroidRuntime: FATAL EXCEPTION: main Process: net.oneteamit.tk, PID: 3171 java.lang.RuntimeExcept...
2018/03/02
930
3,353
<issue_start>username_0: How to run a java application with jshell? It should be able to specify classpath and call java command and pass some arguments like bash does,e.g, ``` #!/bin/bash $ARGS=... $CLASSPATH=... java -cp $CLASSPATH $ARGS com.example.MyApp ``` **Update:** I think a wrapper of Runtime or Process ...
2018/03/02
967
3,709
<issue_start>username_0: As part of a Spring Boot project I need to load certain properties file which, by default, is located under de `src/main/resources` directory. Also, I need to be able to, instead, load an external properties file (located at the root directory of the project). If this external file exists, the ...
2018/03/02
378
1,465
<issue_start>username_0: I want to use SailPoint IIQ to provision and de-provision Slack users via Slack SCIM API. Slack SCIM API uses version 1.1. and uses Basic or OAuth for authentication. I have setup a Slack Enterprise account, generated the API key, and the SCIM API call works via Postman or cURL. However, I am ...
2018/03/02
551
1,968
<issue_start>username_0: In my python, I am writing a function that takes `**kwargs`. I am running into the issue where I am often passing `None` as a keyword value, and this feels like bad style. For example: ``` def foo(**kwargs): if 'bar' in kwargs: return kwargs['bar'] def baz(x=None): print(foo(...
2018/03/02
292
1,275
<issue_start>username_0: I have an app which connects to smartcards, but when the display turns off, the app disconnects from the smartcard. Is it possible to turn the screen off but keep NFC active so that the app can send data to the smartcard and receive them?<issue_comment>username_1: This is because the applicatio...
2018/03/02
559
2,098
<issue_start>username_0: I have a site built with Jekyll Now on GitHub and I want it to appear in a google search. If I just google my GitHub username followed by 'GitHub' and 'io', it does not find my site. How do I get google to find my site in a google search?<issue_comment>username_1: It can take a few days before ...
2018/03/02
1,159
4,517
<issue_start>username_0: I would like to export a class which initial state depends on a value returned from a `Promise` in another module i cannot modify. Here's the code: ``` let e = true; APromiseFromAnotherModule() .then(value => return value;); export default class E { constructor() { if (e) { /...
2018/03/02
1,337
5,556
<issue_start>username_0: I have a function that uses $.ajax. Within the success section, I have 3 function. The first one runs correctly. The second one contains another $.ajax call. The internal $.ajax call works correctly, but the third function in my initial $.ajax call doesn't run. Debugging the whole thing, it doe...
2018/03/02
1,941
7,272
<issue_start>username_0: I stumbled upon an issue while programming some network application for myself using the QT-Framework. I really like the signals / slot system but I have the feeling I'm running into a race condition here. My server is rapidly sending small "telegrams" which are stuck together because they are...
2018/03/02
1,267
4,472
<issue_start>username_0: I'm a beginner in c# and I have been assigned the following problem: Write a program that recieves an array of 8 positive integers, then recieves a number from the user and then calculates the probabillity of that number being in the array. this should continue until we input -1. for example th...
2018/03/02
737
2,496
<issue_start>username_0: I tried to create gradle groovy project in Intelij IDEA 2017.3 By in created projcet I found java source and test folder.Look like they were automatically generated. Do you know how that creation can be disabled? [![project structure](https://i.stack.imgur.com/Mh3JT.png)](https://i.stack.imgu...
2018/03/02
612
1,896
<issue_start>username_0: Packages ======== ``` library(tidyverse) ``` My data ======= ``` str <- tibble(value = c("var_imp_01_prevalence", "var_imp_MeanDecreaseGini_variance_pairwise_distance", "var_imp_06_extinction_rate")) str value 1 var\_imp\_...
2018/03/02
263
868
<issue_start>username_0: I'm trying to run [Docsify](https://docsify.js.org/#/) in an Azure Web App. I'm getting a 404 that looks like there's something I'm missing about configuring the site, perhaps? ``` Failed to load resource: the server responded with a status of 404 (Not Found) index.html/README.md ``` Has an...
2018/03/02
1,376
5,073
<issue_start>username_0: I have a class: ``` class C (g :: [a] -> Type) where type ExtractType g :: a -> Type ``` But I am not sure how to write the type family instance ``` instance C X where type ExtractType X = ??? ``` `Type` is `*` from `GHC.Types`. For example, lets say I have an named `NHList (ts::[(S...
2018/03/02
1,201
4,072
<issue_start>username_0: Hello everyone and thank you for your time! I have a simple problem.. I have a javascript file and i want to embed this in a html page. Down, you will see this javascript file. At the end of this, i have this row: ``` console.log("percentage:",(counter/(data.length/4))*100) ``` This percenta...
2018/03/02
741
2,688
<issue_start>username_0: Based on an integer ID, how can one constrain two tables referencing a common table from including the same element already in the other table? A basic table of, let's say personal information is created: ``` CREATE TABLE person ( id INTEGER PRIMARY KEY AUTOINCREMENT, info VARCHAR(10)...
2018/03/02
502
1,812
<issue_start>username_0: I am trying to run my Appium tests on AWS Device Farm. While selecting the device pool I see the below error for any iOS device with version 10.3.3 or later. **Error: The device is incompatible due to: AWS Device Farm currently supports Appium on iOS 10.3.3 and below.** I just want to make su...
2018/03/02
1,069
3,739
<issue_start>username_0: I'm trying to test an application but [jest.spyOn](https://facebook.github.io/jest/docs/en/jest-object.html#jestspyonobject-methodname) is make me crazy. I'm working on node v8.9.4 and jest v22.2.2 I have extracted this code: ``` // my-module.js class MySingletonModule { constructor() { ...
2018/03/02
1,569
5,579
<issue_start>username_0: I would like to create a Java EE application with fully separated `FrontEnd` and `BackEnd`. I found some tutorials where these two modules were packaged into one EAR file. I could create this, and I could deploy my application to the application server. For security reasons now I have to separ...
2018/03/02
1,660
5,975
<issue_start>username_0: I am new to Biopython (and coding in general) and am trying to code a way to translate a series of DNA sequences (more than 80) into protein sequences, in a separate FASTA file. I want to also find the sequence in the correct reading frame. Here's what I have so far: ``` from Bio import SeqIO...
2018/03/02
1,436
5,285
<issue_start>username_0: I'm developing a web application called myWebApp using Spring MVC, myWebApp is deployed on a remote server in the internet. I want to use MyWebApp to communicate with a server using TCP socket via local browser and the TCP server is located in the local network. I'm aware of the usage of Webso...
2018/03/02
893
2,879
<issue_start>username_0: I'm trying to teach myself Ruby via coding Conway's Game of Life. One of my preliminary steps to learn how arrays work is to create an array of arrays of Cell objects defined as follows: ``` class Cell def initialize(status, xpos, ypos) @status = status @position = [xpos,ypos] end...
2018/03/02
588
1,985
<issue_start>username_0: I am trying to parse this csv file but when i got to print it I get "Input length =1" as the output. Here is my code: Can anyone provide an explanation as to why this is happening? ``` try { List lines = Files.readAllLines(Paths.get("src\\exam1\_tweets.csv")); for(String line : lines)...
2018/03/02
593
2,441
<issue_start>username_0: My tree is made with React and I use the Ant Design Tree that loads data asynchronously. I have a search input at the top of the tree and, when the user search something, I want to load and open the first result of the search after that I queried the database and I find the paths of the node...
2018/03/02
310
1,361
<issue_start>username_0: If I have a build that triggered by a github webhook in AWS CodeBuild, is there a way for me to inspect the content of the webhook body that triggered the build from my buildspec.yml file? Or is this content just lost?<issue_comment>username_1: In order to trigger a codebuild build from Github,...
2018/03/02
1,255
4,567
<issue_start>username_0: Apache poi's documentation (version 3.17) says > > void close() > > > throws java.io.IOException > > > Close the underlying input resource (File or Stream), from which the Workbook was read. > > > My code creates a workbook from a template file, does something with it and writes it to...
2018/03/02
445
1,429
<issue_start>username_0: How can I display only the row where the text contains the word like \* AV \* e.g 'AV Snow' or 'AV (Some)' or 'Me AV' ``` # Select Structural status = 'AVAILABLE' or like *AV* value_list = ['AVAILABLE', '[AV]'] ``` '[AV]' doesnt seem correct ``` # Grab DataFrame rows where column has certai...
2018/03/02
182
653
<issue_start>username_0: I just started to learn Vue.js and already have a problem. Special characters are badly encoded in templates. ``` VOD * Konto * Zaloguj się ``` It's displayed like this: Zaloguj si�. In built js it looks like this: Zaloguj siďż˝. Same thing with text in variables. Is this normal behaviou...
2018/03/02
221
887
<issue_start>username_0: So I have a verification code that comes through from sms and user has exit app to go copy it into an `EditText`. I found out the Android Pay has a method to scan the incoming verification text from your bank and autofill the text with a verification code. I'd like to replicate this for my ow...
2018/03/02
791
2,467
<issue_start>username_0: I'm trying to destruct a [map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) object with one single `[key, value]` pair, as example: ``` var v = { foo: 'bar'}; function f({key, value}) { console.log('key is ' + key); console.log('value is ' + val...
2018/03/02
531
1,828
<issue_start>username_0: I have seen other examples of this on stackexchange but cannot seem to adapt them to my code. Problem: I have a folder of .rds files that I would like to read into R, then stack all the files together so I can take the mean and standard deviation. All the .rds files are 'Formal class RasterLay...
2018/03/02
689
2,300
<issue_start>username_0: I've worked with decompressing and reading files on the fly in memory with the `bz2` library. However, i've read through the documentation and can't seem to just simply decompress the file to create a brand new file on the file system with the decompressed data without memory storage. Sure, you...
2018/03/02
449
1,617
<issue_start>username_0: I wish to retrieve the id of a widget in order to access its `text` attribute, in a widget class *outside* of the root class. I understand in order to affect or retrieve items with an id from kv-lang, the following syntax may be used: ``` self.ids.some_id.some_attribute = new_value ``` This ...
2018/03/02
301
852
<issue_start>username_0: During the creation of a SSL certificate this error occurs: ``` problem creating object tsa_policy1=1.2.3.4.1 13964:error:08064066:object identifier routines:OBJ_create:oid exists:crypto\objects\obj_dat.c:690: error in req ``` This is what I've done ``` set RANDFILE=c:\certificate\.rnd set ...
2018/03/02
576
2,477
<issue_start>username_0: I start to develop an web application with .net core 2 and web service.. when a user registers on the site, he can choose whether he is a company or a simple user, so I store the data in a specific table but the login data are stored in AspNetUsers. How can i handle it with Identity in .net c...
2018/03/02
707
2,493
<issue_start>username_0: I got a strange glitch on iPhone 6 device (only on device. Simulators works fine. And i assume another real devices will have the same problem). Here is the video: <https://youtu.be/_s3C1RnPG_I> Also, on iPhone X simulator there is a blank empty space under message sending view, [![enter ima...
2018/03/02
603
2,474
<issue_start>username_0: I am using `Flink v.1.4.0`. I want to be able to name the operators in the `Flink UI`. I understand that to do so all I need is to just use the `.name()` method on a `DataSet` or `DataStream`. For example, like this: ``` DataSet flinkDataSet = ...; flinkDataSet .map(new SomeTransformation()...
2018/03/02
667
2,163
<issue_start>username_0: I am trying to open a file with notepad. ``` const strfilename = "C:\Users\Desktop\abc.txt" set OFS = myOFSO.OpenTextFile(strfilename) ``` It is displaying > > error code 424 > > ><issue_comment>username_1: Could just call a shell command to execute notepad.exe with the file path. ```...
2018/03/02
654
2,232
<issue_start>username_0: In my app, I need some data that I do not want to request every time from the server. This dat includes the userId and some array string. I think I can store the user id in the `SharedPreferences`, but what about the array? Is it OK to use static variables?<issue_comment>username_1: Could just...
2018/03/02
558
1,801
<issue_start>username_0: I have a jhipster monolithic application which I want to build using a docker container. I'm trying to use a jdk docker image and then install nodejs inside it by passing `-PnodeInstall`. However after sever attempts and trying out different options, I failed to build a docker image of my appli...
2018/03/02
510
1,729
<issue_start>username_0: I am attempting to use Amazon Connect to trigger a Lambda function. I used the command line argument described in the Amazon Documentation [here](https://docs.aws.amazon.com/connect/latest/adminguide/connect-lambda-functions.html) and I am unable to determine why the lambda function is not bein...
2018/03/02
1,033
3,769
<issue_start>username_0: I come from the python world where `__str__` and `__repr__` have been very useful to my development and execution workflow output. I would like to implement such things in C++. [This post](https://stackoverflow.com/questions/2981836/how-can-i-use-cout-myclass) has been useful, however I would l...
2018/03/02
787
2,323
<issue_start>username_0: I use SoX to generate this sound: ``` $ play -n synth 1 pluck E3 repeat 2 ``` I manage to play simultaneously another pattern a new terminal tab, let’s say `$ play -n synth 1.5 pluck C3 repeat 2` in. Is there a way to both patterns in the same bash script, simultaneously?<issue_comment>usern...
2018/03/02
485
1,706
<issue_start>username_0: I tried following command on hive : ``` set hive.execution.engine=spark; ``` but getting error when I run any query after setting execution engine on amazon EMR: ``` Exception in thread "main" java.lang.NoClassDefFoundError: scala/collection/Iterable at org.apache.hadoop.hive.ql...