date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/16
397
1,487
<issue_start>username_0: I have a problem with my Visual Studio 2017 Community. I installed Visual with Python, but Intellisense doesn't detect Python modules. [Screen1](https://i.stack.imgur.com/RGLG3.png) [Screen2](https://i.stack.imgur.com/4ffwA.png) [Screen3](https://i.stack.imgur.com/G8lVD.png) [Screen4](https...
2018/03/16
1,000
2,746
<issue_start>username_0: I inspected the output parquet file of a spark job that always beaks, because of `Out of Memory Errors`. I use `Spark 1.6.0` on `Cloudera 5.13.1` I noticed that the parquet row group size is uneven. The first and the last row group are huge. The rest is really small... Shortened output from p...
2018/03/16
602
2,089
<issue_start>username_0: **About**: there are two threads running - one check for timeout (inactivity for some time), another one is where user works with UI. **Problem**: timeout event occured slightly before user action, even though at the same millisecond, based on logs I can see it ``` 2018-03-15 16:58:54:921 I...
2018/03/16
481
1,656
<issue_start>username_0: I'm using the following VBA code and assigned it to a button: ``` Sub pastespecial () ActiveSheet.Range("A4:X400").Copy Activesheet.Next.Range("A4:X400").PasteSpecial Paste:=xlPasteFormats ActiveSheet.Next.Range("A4:X400").PasteSpecial paste:=xlPasteFormulas ActiveSheet.Previous.Activate Ap...
2018/03/16
445
1,506
<issue_start>username_0: How to specify proxy settings for konanc? I tried to start it with ``` konanc hello.kt -Dhttp.proxyHost=10.0.0.100 -Dhttp.proxyPort=8800 ``` and also tried to specify system variable at Windows ``` set JAVA_FLAGS=-Dhttp.proxyHost=10.0.0.100 -Dhttp.proxyPort=8800 ``` but it fails on Down...
2018/03/16
704
2,126
<issue_start>username_0: I need help getting certain numbers with a regex. As I dont know much about regex I have only managed to see if the first two characters match with 95 - 99. ^([0-9][5-9]{4}) I have the numbers 00000 through 99999. I want to exclude all the numbers that start with 95 and up. So 00000 - 94999 ...
2018/03/16
675
2,540
<issue_start>username_0: I am supposed to make a program to add all the elements inside the 2D rectangular array but the answer for this is supposed to be 31, instead it prints 33. What am I doing wrong? Heres the code: ``` public static int sum(int[][] array) { int[][] numArray = { ...
2018/03/16
968
3,546
<issue_start>username_0: Part of the deliverables for the client include the source code of the project we are working on. I'm using maven with `mvn generate-sources`. The problem is that it includes all the dependencies and aggregates the sources per dependency. I'm trying to generate a flat structure with the `.java`...
2018/03/16
815
3,048
<issue_start>username_0: I am having a div as below, ``` ``` Its content is to be filled fled with Partial view using an AJAX call. Below is the AJAX implementation: ``` $.ajax({ type: "POST", url: '@Url.Action("GetCustReqChartData", "DA_CPC")', ...
2018/03/16
868
3,297
<issue_start>username_0: I am currently working on an assignment where I have to be able to read a certain predetermined amount of lines of input, each of which correlate to a certain line of output. Simply put, if I have 200 lines of input, I should also have 200 lines of output. I read the input through a scanner on ...
2018/03/16
754
2,545
<issue_start>username_0: I'm working with Bootstrap 4 dropdown and there are about 18 dropdown items. Because the height is too much, popper.js automatically moves the dropdown away from its original position to the top of the screen. How do I prevent this? I always want the dropdown to appear right below the button th...
2018/03/16
459
1,664
<issue_start>username_0: I'm using `ngx-perfect-scrollbar` with my Angular 5 project. I want to scroll the `div` to top when the route changes. **dashboard.html** ``` ``` **dashboard.ts** ``` @Component({ selector: 'app-dashboard', templateUrl: './dashboard.component.html', }) export class DashboardCompone...
2018/03/16
1,329
4,298
<issue_start>username_0: I have some HTML (which I have no control over) coming from a DB and it contains lots of text and images. I need to insert a particular element before or after the first tag that has an `![]()` tag inside it. Here is an example of the HTML: ``` Nokia 8 4GB RAM 64GB Dual Sim Phone The Nokia...
2018/03/16
4,235
13,588
<issue_start>username_0: i've been struggling with this issue for days now and i can't seem to find a way to solve it, here is the full error : ``` CommandInvokationFailure: Gradle build failed. C:/Program Files/Java/jdk1.8.0_131\bin\java.exe -classpath "C:\Program Files\Unity2017.2\Editor\Data\PlaybackEngines\Andro...
2018/03/16
572
2,156
<issue_start>username_0: ``` {!loading && (ad.status !== 'active' && ad.status !== 'paid') && display something base on not active and not paid } {!loading && ad.status === 'paid' && display content base on paid} {!loading && ad.status === 'active' && display content base on active} ``` I have above 3 condition a...
2018/03/16
1,044
3,527
<issue_start>username_0: I'm revising for an operating systems exam and currently trying to understand this processes question: ``` int main() { int v=0; if(fork()) { v++; if(!fork()) { fork(); v--; } } } ``` So the question asks to > > ...
2018/03/16
1,338
3,971
<issue_start>username_0: I have a similar question as asked here ([Strip suffix from all variable names in SPSS](https://stackoverflow.com/questions/34798827/strip-suffix-from-all-variable-names-in-spss)) and the answers there already helped a lot but there is still one question remaining. I have a dataset in which e...
2018/03/16
1,102
4,099
<issue_start>username_0: This is my migration file ``` php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSessionsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create(...
2018/03/16
757
2,538
<issue_start>username_0: I have this function below, where I want to define T as a class. Is this possible. The IsActive and RecordStatusCode are in every model class. Is it possible to query this way. Thanks ``` public IQueryable GetActive() { return DbContext.Set().Where(x => x.IsActive && x.RecordStatusCode =...
2018/03/16
1,525
4,551
<issue_start>username_0: I am currently having trouble with some styling and i'm looking for some help. Currently i have a couple of divs which are separated by a grey line, however the content of the div doesn't sit vertically in the middle (i have looked to implement other things online but still can't get it to work...
2018/03/16
717
2,785
<issue_start>username_0: I am trying to obtain some effeciency improvements by changing this line in my fsharp syntax file (from [this](https://github.com/fsharp/vim-fsharp) plugin) from: ``` syn match fsharpModule "\%(\ ``` to ``` syn match fsharpModule "\%(\ ``` since the docs on the "\@<=" constr...
2018/03/16
757
2,635
<issue_start>username_0: I am using <https://github.com/daneden/animate.css> this css class to animate the boxes in grid.If a user clicks on "Fahrenheit to Celsius conversion" then the box with fahtocel id moves.Same for second box , It works well what I have written but Itmakes no sense to write javascript function fo...
2018/03/16
508
2,022
<issue_start>username_0: Comparing these statements ``` SELECT * FROM Table WHERE (field IS NULL OR field = 'empty_value') ``` vs. ``` SELECT * FROM Table WHERE COALESCE(field, 'empty_value') = 'empty_value' ``` in terms of performance, which one is better? Is there any difference? I already know the first o...
2018/03/16
491
1,814
<issue_start>username_0: I am building a game, and would like to know: How to know if an Android device is plugged-in (i.e. battery is charging) using C# pure code in Unity?<issue_comment>username_1: In Android, you can use [SystemInfo.batteryStatus](https://docs.unity3d.com/ScriptReference/SystemInfo-batteryStatus.htm...
2018/03/16
235
793
<issue_start>username_0: I have a list ``` *ngFor="let h of list" ``` Depending on the type of the item "h.type" I want to use a different component to display details. How do I load the component?<issue_comment>username_1: You can use ng-template for that. E.g. ``` ``` Upvotes: 0 <issue_comment>username_2: You c...
2018/03/16
636
2,468
<issue_start>username_0: In this code I implement to add sale, in one sale I have and produts, these products I has in an array Products, and display in this table. My problem is, when I add some products, my value, price, quantity and total display ok, but I can't change my total automatic when I can change quantity o...
2018/03/16
265
954
<issue_start>username_0: I have installed Azure VM Agents plugin. I want to use a customized VM image as source. (VM with Visual studio and some other tools installed). There is an option in "Image Configuration" to use "Custom Image URI". How can I prepare a vhd from a well provisioned/Configured VM in Azure to b...
2018/03/16
481
1,670
<issue_start>username_0: I'm new to this. I have created a navigation form with 3 tabs. when I click on one tab it opens a pop-up form where I chose a record from a drop-down. when I click on a command button to "open file" I want the form to open in the tabs 'sub-form window'. at the moment all it does is opens in a s...
2018/03/16
493
1,475
<issue_start>username_0: I want to make a switch statement for in my code whose cases go over a wide span of integers (1-15000) split into 3 sections: 1-5000,5001-10000,10001-15000. I tried it once like this: ``` switch(number) { case 1 ... 1000: (statement here); ``` This gave me a syntax error on the "..."- ...
2018/03/16
2,040
7,805
<issue_start>username_0: i've been trying to solve this problem for a while, tried other solutions used for the same error code but it isn't working. It's a team project and the same code works for one person but gradle bootrun gives this error to 3 other people when trying it on our own computers. Stacktrace: ``` FA...
2018/03/16
799
2,101
<issue_start>username_0: I have a string as `key1(value1) key2(vallue2) key3(value3) key4(value4) key5(value5) k` and would like to extract them into a dictionary as below. I am able to extract values inside and outside of parentheses separately but not able to correlate and create the dictionary in python. Please assi...
2018/03/16
1,456
3,761
<issue_start>username_0: I'm currently collecting timestamp's using an android application which for some users stored the timezone as for example "GMT+03:00" browsing online I found this is not a proper timezone and because of that when trying to build a datetime object in python using ``` from datetime import datet...
2018/03/16
796
3,094
<issue_start>username_0: There are some huge legacy systems whose dependencies on PHPs' `mcrypt` are extremely important and vital (including the data storage in database). I need to find a way to maintain this library while upgrading to PHP 7.2 (which already worked fine). My local test environment is Windows. The li...
2018/03/16
708
1,469
<issue_start>username_0: I have two arrays: ``` a = [50, 17, 54, 26] b = [19, 7, 8, 18, 36, 8, 18, 36, 18, 14] ``` I want to add to the elements of `b` the corresponding elements of `a`. When the elements of `a` runs out, I want to cycle through `a` to supply the elements. The result should be: ``` c = [69, 24, 62,...
2018/03/16
624
1,423
<issue_start>username_0: I am currently using this code: **< input type="text" id="employeeid" name="employeeid" value="${c.employee\_id}">** What i wanted to do is pass the value of employeeid to my java code on the same jsp page **< % int empid = (value of employeeid) % >** Is there an easy way to do this? Than...
2018/03/16
883
3,183
<issue_start>username_0: I have a Dictionary whose key values (string type) are as below: * mark * mark a * mark b * orange * apple * apple a I also have a List(Of String) which contains: * mark * apple I want to delete any entry in the Dictionary where any value in the List is a substring of the Dictionary item's...
2018/03/16
2,033
7,048
<issue_start>username_0: i am trying insert picture caption using Apache POI, but i dont have any ideas for it. I'm using ``` doc.createParagraph().createRun().addPicture(input, Document.PICTURE_TYPE_PNG, "picture.png", Units.pixelToEMU(603), Units.pixelToEMU(226)); ``` to insert picture and now i woul...
2018/03/16
1,155
4,843
<issue_start>username_0: I am a beginner in android studio. For weeks I have been stuck trying to read data from my database to my activity (Available Rides). Right now I am only transfering the data from one activiy to the other and puting it into text view. In a previous activity I alreadt managed to save the data o...
2018/03/16
814
3,439
<issue_start>username_0: Is there a way to apply a customSort to only one column with TurboTables and allow the other columns to use the default sorting? The documentation applies the customSort to the entire table. <https://www.primefaces.org/primeng/#/table/sort><issue_comment>username_1: You can create a root and s...
2018/03/16
641
2,182
<issue_start>username_0: In an interview I face this problem, how can I call static member here: ``` public class PermenatEmployee { public static string/void sayGoodBye() { return "GoodBye"; } } static void Main(string[] args) { var gsgsg = PermenatEmployee.sayGoodBye; } ``` ...
2018/03/16
640
2,313
<issue_start>username_0: Bellow my code. div height not increasing when resize the window. can any one help me. -------------------------------------------------------------------------------------- ``` $(document).ready(function(){ resizeContent(); $(window).resize(function() { $(".js-tile").each(fun...
2018/03/16
892
3,285
<issue_start>username_0: I am using the Native Geocoder in my Ionic app. Documented here > > [Ionic documentation](https://ionicframework.com/docs/native/native-geocoder/) > > > [Github Repo](https://github.com/sebastianbaar/cordova-plugin-nativegeocoder) > > > This is the method in my provider - ```js //This ...
2018/03/16
2,111
6,766
<issue_start>username_0: I am replacing standard input checkboxes with images and am running into two main issues with the code below: 1. No matter which image I click on (checkbox input), the value stays the same, instead of changing. (See the console for the printed value). 2. When an input is active, I am wanting t...
2018/03/16
1,327
3,990
<issue_start>username_0: I have a matrix A and I want to find per column the last two non-NaN values. For example, generate the following matrix: ``` A = [NaN, 3, NaN; 5 5 5; NaN 1 9; 4 1 4; NaN 6 NaN; 6 2 9] ``` I want to get the following result: ``` B = 4 6 4 6 2 9 `...
2018/03/16
766
3,059
<issue_start>username_0: I have a webpage that has an animated flash gallery on its homepage. By default, google chrome/firefox/safari ... does not let this page enable the flash plugin, so the gallery doesn't show. Not only this happens, but also there is no prompt from the webpage requesting the user to enable flas...
2018/03/16
690
2,753
<issue_start>username_0: I'm creating a online mess application where there are two logins one for mess owner and another for user so when mess owner put location in his data there should be marker on map in user side. here is structure of database in image[Database structure](https://i.stack.imgur.com/rNDCO.png) ple...
2018/03/16
2,836
8,061
<issue_start>username_0: I am using altbeacon: <https://altbeacon.github.io/android-beacon-library/> I bind my beaconManager. and then I call this: ``` public void startListeningForBeacons(RangeNotifier rangeNotifier) { try { Region region = new Region("all-beacons-region", null, null, null); //...
2018/03/16
785
2,562
<issue_start>username_0: I have a problem with regex lookbehind! here is my sample text: ``` href="dermatitis>" "blah blah blah >" href="lichen-planus>" ``` I want to match all `>"` if and only if there is an `href=` somewhere before it and yet there is another rule! The `href=` must be immediately before the p...
2018/03/16
1,111
3,866
<issue_start>username_0: <https://finance.google.com/finance/converter> now redirects to <https://www.google.com/search> Have they changed the url ?<issue_comment>username_1: I found a workaround this url is working: <https://finance.google.co.uk/bctzjpnsun/converter> you can view old pages by inserting this 'bctzjpn...
2018/03/16
1,042
3,484
<issue_start>username_0: I'm using Javascript to summarise data from a sharepoint list. I've got the query working and returning OK, and i can see from the console that it is returning everything I need, however I cannot work out how to parse it. `jQuery.fromJSON` returns an error, as does the significant number of ot...
2018/03/16
630
1,975
<issue_start>username_0: I'm running the code below in hive trying to join two tables on a field "word". It's taking forever and I'm wondering what I could do to speed it up. In one table the "word" field has a mix of upper and lower case letters, in the other table it is all upper case. ``` Code: set hive.exec.compr...
2018/03/16
390
1,262
<issue_start>username_0: In a design there is a bus with 4 bits, thus `alfa[3:0]`, and I want to make a covergroup that shows if all bit have been both 0 and 1. One way to do this coule be to write it out like: ``` covergroup alfa_cv @(posedge clk); coverpoint alfa[0]; coverpoint alfa[1]; coverpoint alfa[2]; ...
2018/03/16
568
2,148
<issue_start>username_0: i need to save an image on my server i have tried the following: ``` func saveImageOnServer(_ image: UIImage) { let fileid:String = files id here let parameters : NSMutableDictionary? = [ "fileId": fileid] let filename:String = filename here let url = url here let...
2018/03/16
795
2,823
<issue_start>username_0: I can set 2 different databases in **config\database.php** with `'conection' => ['database01' => [ ...` `'conection' => ['database02' => [ ...` And in the **model** with `protected $connection = '1database';` `protected $connection = '2database';` However, I want to use one **controller**...
2018/03/16
607
2,405
<issue_start>username_0: I have an issue with posting data to Symfony to an endpoint that expects data formatted as a Symfony form. The endpoint validates the posted data with a Symfony form. Normally, when I have a rendered form with twig. A relationship field will have a structure like this: ``` ... A product ...
2018/03/16
763
3,025
<issue_start>username_0: Can we update the UWP TextBlock's text from **AppService**? Here I'm having the app service in different UWP Runtime Component project and that is added as reference to the UI project. So I don't have direct connection with UI. But I need to update UI if the App is running as active. **Note...
2018/03/16
458
1,792
<issue_start>username_0: I have a content-type referring to an other content-type (a pair of articles), which refer to a content-type (an article). I would like to redirect to the article url when the article block is clicked on my twig, so I came up with the code below ``` {% for i, value in node.field_articles_pair...
2018/03/16
1,057
4,291
<issue_start>username_0: I'm trying to encrypt some information in two different files, the first with a String encrypted in AES and the second with a Key encrypted with RSA, but I'm having some trouble making it work. Here's my method: ``` public synchronized static void encrypToFile(KeyPair clauPublicaPrivada, Secr...
2018/03/16
1,172
4,278
<issue_start>username_0: I am having a react-redux action creation problem. My props are an empty object when I log props at the life cycle method componentDidMount() ``` import React, { Component } from 'react'; import { connect } from 'react-redux'; import { fetchSurveys } from '../../actions/index'; export class S...
2018/03/16
1,022
3,004
<issue_start>username_0: I want to check if an input string follows a pattern and if it does extract information from it. My pattern is like this `Episode 000 (Season 00)`. The 00s are numbers that can range from 0-9. Now I want to check if this input `Episode 094 (Season 02)` matches this pattern and because it does ...
2018/03/16
523
1,692
<issue_start>username_0: My `Post` entity looks like this: ``` php // ... class Post { /** * The ID generated manually. * * @ORM\Id * @ORM\Column(type="integer", length=3) */ private $id; //... /** * One Post has One Post. * * @ORM\OneToOne(targetEntity="DovStone\Bundle\BlogAdminBundle\Entity\Post", fetc...
2018/03/16
791
2,440
<issue_start>username_0: I'm trying to get `Reticulate` working in `RMarkdown`, per the setup instructions. However, I am unable to share state between separate Python cells or Python and R cells, as the docs indicate I should be able to. Here is my setup and output: Cell 1 (Setup): ``` {r} library(reticulate) path_...
2018/03/16
817
2,791
<issue_start>username_0: Following the tutorial about Kafka Streams located at: <https://github.com/confluentinc/kafka-streams-examples/blob/4.0.0-post/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java> There is a line: ``` import io.confluent.examples.streams.avro.WikiFeed ``` As I suppose...
2018/03/16
469
1,848
<issue_start>username_0: I'm new to machine learning. I've got a huge database of sensor data from weather stations. Those sensors can be broken or have odd values. Broken sensors influences the calculations that are being done with that data. The goal is to use machine-learning to detect if new sensor values are od...
2018/03/16
1,549
4,651
<issue_start>username_0: I'm using `react`. `Material-ui` is for `Cards`. For `Grid` I'm using CSS Grid Layout. So far it looks like this: [![enter image description here](https://i.stack.imgur.com/0FDyY.png)](https://i.stack.imgur.com/0FDyY.png) But my goal is something like this: [![enter image description here](h...
2018/03/16
1,138
3,973
<issue_start>username_0: Why does this happen? In the following example, when i ISNULL to compare a blank int and a blank varchar they equal each other. When the same logic is wrapped with a convert they do not equal each other. ``` DECLARE @myint int DECLARE @mychar VARCHAR(200) SET @myint = null SET @mychar = NULL...
2018/03/16
1,613
6,171
<issue_start>username_0: I use stackoverflow on a regular basis to find answers to my problems, but I cannot seem to solve this one. So here is my first question: I have a Google form that (amongst other things) asks for the duration of a job. I want the google spreadsheet to contain the form-answers, and add some col...
2018/03/16
1,164
4,238
<issue_start>username_0: This seems to be a duplicate question of an already asked one but not really. What I'm looking for is one or more regular expressions without the help of any programming language to change the following text `String.Concat( new string[] { "some", "random", "text", string1, string2, "end" })` in...
2018/03/16
528
1,815
<issue_start>username_0: I created an arraylist with 4 items ``` val myList = arrayListOf("Item1", "Item2", "Item3", "Item4") ``` Then I printed a random item from myList ``` val randomNum = Random() val randomItem = randomNum.nextInt(myList.count()) println(myList[randomItem]) ``` Shouldn't this fail? Once rando...
2018/03/16
1,431
4,681
<issue_start>username_0: I am doing some entity matching based on string edit distance and my results are a dictionary with keys (query string) and values [list of similar strings] based on some scoring criteria. for example: ``` results = { 'ben' : ['benj', 'benjamin', 'benyamin'], 'benj': ['ben', 'beny', 'benja...
2018/03/16
1,245
4,217
<issue_start>username_0: ``` client_id visittype 1 Comprehensive Eval 1 Psychotherapy 1 Case Management 2 CM Eval 3 Comprehensive Eval 3 Case Management 3 Psychotherapy 4 Comprehensive Eval 5 Comprehensive Eval 5 Psych...
2018/03/16
735
1,861
<issue_start>username_0: I have a data frame with 29 rows and 26 column with a lot of NA's. Data looks somewhat like shown below( working on R studio) ``` df <- V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 a1 b1 d f d d na na na f a1 b2 d d d f na f na na a1 b3 ...
2018/03/16
569
2,286
<issue_start>username_0: I just discovered screenshots possibilities using `client.content` property. So to test this functionnality, I put this code and bind it to the `XF86Reload` key : ``` awful.key({ }, "XF86Reload", function() ...
2018/03/16
346
1,048
<issue_start>username_0: I use cx\_Oracle driver with SQLAlchemy to create engine. Succesfully create enine like: ``` conn_string = 'oracle+cx_oracle://user:pass@host:1521/?service_name=some_service' eng = create_engine(conn_string, encoding='utf8') ``` When I try to connect with: ``` eng.connect() ``` I catch t...
2018/03/16
801
2,887
<issue_start>username_0: This worked at some point but I can't figure out what went wrong or how to correct course. I'm getting the following on my index page: NoMethodError in Admin::Locations#index undefined method `name' for nil:NilClass It's coming from the following: ``` <% @locations.each do |location| %> ...
2018/03/16
1,071
3,159
<issue_start>username_0: I am using mongodb 3.6.3 on a centos 7 aws ec2 instance. 2 Questions (only one needs to be answered): 1. Why is the --logpath preventing the mongod command if done manually through the cli with `sudo mongod --storageEngine etc` 2. Why is `sudo service mongod status` showing the failure that i...
2018/03/16
345
1,117
<issue_start>username_0: I'm trying to style points in a vector source in OpenLayers 4. I've defined a style: ``` var pStyle = new ol.style.Style({ stroke: new ol.style.Stroke({ width: 6, color: [255, 0, 0, 1] }) }); ``` and added the style in the layer definition ``` var pLayer = new...
2018/03/16
5,332
18,647
<issue_start>username_0: I'm open to use a lib. I just want something simple to diff two collections on a different criteria than the normal equals function. Right now I use something like : ``` collection1.stream() .filter(element -> !collection2.stream() .anyMatc...
2018/03/16
1,262
4,858
<issue_start>username_0: I m making a small web/application to exercise what I m learning from Spring boot and ajax. I have a web page where I have a form that have two date inputs 'start date' and 'end date' I wanted to send the user input to a RestController and to get a response that I should show in a empty div h...
2018/03/16
627
2,606
<issue_start>username_0: I have a straightforward XPage that lets a user answer a question with a simple Yes/No/NA response using radio buttons. I have restyled the radio buttons to look like a bootstrap button group to make it visually more interesting for the user. If the user chooses "Fail" then they are informed th...
2018/03/16
527
2,007
<issue_start>username_0: I am trying to use `react-dates` with `redux-form`. Did a `render` thing for it. I have handled `text` `input` and `select` fields pretty much the same way. Those are working fine. Getting a funky error on either `DateRangePicker` or even `SingleDatePicker`, which I cannot make sense of. Any id...
2018/03/16
628
2,389
<issue_start>username_0: My Json is ``` { Id: 1, Name:'Alex', ConnectedObjectName:'Obj', ConnectedObjectId: 99 } ``` I want this JSON to be converted to the following object ``` Class Response { int Id, string Name, ConnectedObject Obj } Class ConnectedObject { string COName, int COId } ``` Is there a way to ac...
2018/03/16
235
788
<issue_start>username_0: RecyclerView 27.1.0 and android.arch.paging 1.0.0-alpha4-1 both contains android/support/v7/recyclerview/extensions/ListAdapter.class Does any body know how to exclude ListAdapter.class from paging component?<issue_comment>username_1: I think you can do it like this ``` implementation("your d...
2018/03/16
1,586
3,296
<issue_start>username_0: I am having an error printing the ouput of a summary function to a file. I have a column "bin" with three factor levels and want to return 5 number summary for each level. The five number summary prints to the screen but won't write to file? Error reports I have > > Empty data.table (0 rows) ...
2018/03/16
286
1,111
<issue_start>username_0: I'm trying to use the Datastore Admin API v1 that was recently announced GA and wanted to wonder where can I find protobufs for the related API? I have found some protobufs within the [googleapis](https://github.com/googleapis/googleapis/tree/master/google/datastore) repository, but there are ...
2018/03/16
423
1,332
<issue_start>username_0: **UPDATED** I create some SCNTubes with following materials: ``` let radius: CGFloat = 0.3 let height: CGFloat = 0.5 let color: UIColor = UIColor(red:0.17, green:0.62, blue:0.76, alpha:1.0) let geometryTube = SCNTube(innerRadius: (radius - 0.1), outerRadius: radius, height: height) let matOu...
2018/03/16
323
1,206
<issue_start>username_0: I'm making a game. On the main menu I have a button for "Start Game" "High Scores" "Options" "Store". I have various scenes for the different levels. Each of those scenes has a "pause button" which takes you to the "Options" scene. The Options scene has a "BACK" button. How do I get that "BAC...
2018/03/16
636
2,347
<issue_start>username_0: I am a newbie using AWS sdk for video transfer.But i am getting the error "Failed to read S3TransferUtility please check your setup or awsconfiguration.json file". Here is my code. In my manifest file i have ``` ``` In my oncreate i am doing this. ``` @Override protected void onCreate(Bund...
2018/03/16
677
2,479
<issue_start>username_0: I can't understand why I have a compilation error for this code: ``` private static Consumer f3() { return t -> {}; } private static Consumer super T f4() { return t -> {}; } @Test public void test() { Consumer action3 = f3(); Consumer action4 = f4(); // ERROR } ``` the error from ja...
2018/03/16
918
2,414
<issue_start>username_0: Lets say I have a list with three arrays as following: `[(1,2,0),(2,9,6),(2,3,6)]` Is it possible I get the average by diving each "slot" of the arrays in the list. For example: `(1+2+2)/3, (2+0+9)/3, (0+6+6)/3` and make it become new arraylist with only 3 integers.<issue_comment>username_1...
2018/03/16
7,625
23,834
<issue_start>username_0: I am trying to build Milo to run the standalone examples. From the project root I run `mvn clean install` but maven complaints about all `org.opcfoundation.*` dependencies both in `bsd-parser-core` and `bsd-parser-gson`. Error message: ``` [INFO] 45 errors [INFO] ----------------------------...
2018/03/16
2,527
6,867
<issue_start>username_0: I'm trying to replicate the output that jupyter uses for a pandas dataframe in their notebooks to html/css/js so that it's returnable by Flask `jsonify` as html that I later use in an AJAX call. I found [this](https://stackoverflow.com/questions/38511373/change-the-color-of-text-within-a-pand...
2018/03/16
1,959
5,881
<issue_start>username_0: I am using Ampps on Mac and trying to send an email using php from a contact form however I do not receive the mail and when the form is submitted it redirects me to the file page resulting in a blank display my form : ``` Your name Your email Your subject ``` my File : ``` $email = ...
2018/03/16
3,234
8,685
<issue_start>username_0: I'm trying to to parse some text from a website using jsoup, but unfortunately the has no classname. I' just learning jsoup and I don't know which function of jsoup will help me parse text from such a . Example: `.... ... .....` Right now I'm only able to fetch text from with classname Co...
2018/03/16
307
992
<issue_start>username_0: Consider this variable ``` X = "1_2_3_4", ``` How to I get X into a binary string format? So like this ``` <<"1_2_3_4">> ``` I'm getting all manner of errors trying to figure it out. Thanks in advance, Snelly.<issue_comment>username_1: Use the built in conversion function. list\_to\_b...
2018/03/16
838
3,476
<issue_start>username_0: On the subject of Anonymous classes, the Oracle documentation states that... > > They are like local classes except that they do not have a name. Use them if you need to use a local class only once > > > Now, given that local classes are (to my knowledge) classes defined within a method ...
2018/03/16
667
2,352
<issue_start>username_0: I need to test that a series of asynchronous functions are called in a particular order. Is there an easy way to do this? An example of what I want to achieve below: ``` describe("Test ASYNC order", () => { it("Calls in a particular order", () => { const p1 = new Promise(resolve =...
2018/03/16
1,695
5,685
<issue_start>username_0: I have 20 csv files. Each are unrelated. How do I combine them together into one xlsx file with 20 sheets, each named after the csv files. ``` $root = "C:\Users\abc\Desktop\testcsv" $CSVfiles = Get-ChildItem -Path $root -Filter *.csv $xlsx = "C:\Users\abc\Desktop\testxl.xlsx" #output locatio...
2018/03/16
546
1,922
<issue_start>username_0: I'm using lodash map in this way ``` const newCollection = _.map( responseJson.OldCollection, AddDetailsToSingleItems ); ``` having ``` function AddDetailsToSingleItems (item ) { ... } ``` I ask you, please, what's the right syntax to pass a parameter to this function. I'd li...
2018/03/16
626
2,182
<issue_start>username_0: For example, I have JSON in response: ``` [{"id":1,"name":"text"},{"id":2,"name":"text"}]} ``` I want to verify if a response contains a custom object. For example: ``` Person(id=1, name=text) ``` I found solution: ``` Person[] persons = response.as(Person[].class); assertThat(person, I...