date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/07
782
2,724
<issue_start>username_0: > > memory error > > > My dataset have 70k images which i want to train through `Conv2D` but it is throwing memory error when i tried to load the dataset. I just have 4GB RAM, how i can resolve this issue through `HDF5` matrix by creating a dataset in `HDF5`? and then loading it to train,...
2018/03/07
990
3,527
<issue_start>username_0: The following code in TypeScript with React is outputting the following error. > > Property 'value' does not exist on type 'EventTarget'. > > > ``` import React, { Component } from 'react'; class InputForm extends React.Component { state = { userInput: '' }; handleUserInput = (e: Re...
2018/03/07
1,826
6,078
<issue_start>username_0: Recently I'm facing issues in [update\_or\_create](https://docs.djangoproject.com/en/stable/ref/models/querysets/#update-or-create) method. Let me give a full explanation first. **Model:** ``` class TransactionPageVisits(models.Model): transactionid = models.ForeignKey( Transactio...
2018/03/07
423
1,417
<issue_start>username_0: i want to implement this section in contact form 7.please help me ``` Option 1 Option 2 Option 3 ```<issue_comment>username_1: You can do this easely, putting pipe (|) on the input like this: ``` [select name_input "Visible Value|actual-form-value"] ``` where `Visible Value = (Front...
2018/03/07
1,724
5,464
<issue_start>username_0: I'm setting up a (self-hosted) [ghost](https://github.com/TryGhost/Ghost) blog, running behind nginx. I've recently added the ModSecurity v3 (aka libModSecurity) WAF with the OWASP CRS v3 ruleset, but I'm having trouble ironing out some false positives. My problem is very similar to [this ques...
2018/03/07
1,110
3,475
<issue_start>username_0: Because of the more "for" loops causing performance issue. It's taking 15-20secs to load the page. The first three for loops are getting from three different JSON files. Code: ``` $scope.loading = function(item, scode) { item.calling = []; for (var i = 0; i < $scope.planMapping.lengt...
2018/03/07
1,262
4,483
<issue_start>username_0: I have a simple poco that need to be mapped to an object supplied by a third party that uses a complex object hierarchy. I would like to use AutoMapper if possible but I am unsure how to set it up correctly. I have supplied a simplified example below to show what I am trying to do. **My poco...
2018/03/07
447
1,463
<issue_start>username_0: In node i'm using npm module "request" : <https://www.npmjs.com/package/request> I want to know how i can retrieve from response the TLS version used, TLS1.0, TLS1.1, TLS1.2. ``` var request = require("request"); request.get({url: "https://www.google.com/"}, function(err, response, body) { ...
2018/03/07
479
1,647
<issue_start>username_0: I have the following function in my project: ``` void UDPBasicApp::incrementReceiveCounter(L3Address dest) { char numberOfDestNode[10]; char name[50]; strcpy(name,L3AddressResolver().findHostWithAddress(dest)->getFullPath().c_str()); char temp[20]; char *last = strrchr(name...
2018/03/07
561
1,808
<issue_start>username_0: I'm reading in HEX values from a file into an array. The part of the buffer I'm using is contains 4 bytes in Hex -> CE EE 00 00 ``` unsigned int fileLocationOffset = 64; unsigned char fileSize[4]; //This is actually in a struct. //Putting here for purposes of this ...
2018/03/07
1,016
2,992
<issue_start>username_0: **how can I get specify email and its value only, from JSON array result which should be like=>only( email: <EMAIL>)** here is my code: ``` MongoClient.connect(url, function(err, db) { if (err) throw err; var dbo = db.db("Scream_It"); var query = { bid_location : 'abbottabad' }; dbo....
2018/03/07
789
3,563
<issue_start>username_0: I'm trying to make a hover effect for a table with multiple rowspan but I don't manage to make it fully work. The css as described in another stackoverflow is not working (see solution here <https://codepen.io/cimmanon/pen/KqoCs> ). The example here (rowspan on multiple columns) : <https://c...
2018/03/07
622
2,327
<issue_start>username_0: i have this code but i want to load frame from xaml.cs because changeing combobox item i want to load different pages. i know how to load page on grid but if i make this i cant change pages whenever combobox item changed ``` //there is some text labels ``` if i make this page1 will be load...
2018/03/07
1,149
3,946
<issue_start>username_0: I can't wrap my head around this. I have this checkbox: ``` ``` I need to store if the checkbox is checked or unchecked on page reload (whether the checkbox is actived/deactivated by spacebar or on mouseclick). I want to use localStorage for this, in plain JavaScript, no jQuery. I have thes...
2018/03/07
473
1,571
<issue_start>username_0: I'm trying to filter some log files that are in the format of a table/dataset but `.endswith()` and `.startswith()` are not meeting my requirments. I'm using an anonymous function but need to adapt my Python code to check if a string contains .jpg ``` logfilejpg = sc.textFile("/loudacre/logs/*...
2018/03/07
386
1,337
<issue_start>username_0: Why in the first case it compiles OK, but in the second it gets compile error? What I've done is just get map out of variable. Just can't understand it. > > Line 22: 'movie' is not defined no-undef > > > ``` class Movies extends Component { render() { let movieItems = this.props.mov...
2018/03/07
1,236
4,321
<issue_start>username_0: I'm trying to rewrite a web crawler in go (originally written in python with gevent). But I've hit a wall, no matter what I do I get fast high memory consumption. For example, the following simple code: ``` package main import ( "bufio" "fmt" "os" "net/http" "io" ...
2018/03/07
1,141
3,731
<issue_start>username_0: I am trying to create a shopping cart for my website and want to be able to add products to a basket. So I created an ajax post to a cart.php file in which I start a session if it doesn't exist and then add to it, or only add to the session if it does. This works when I don't specify the key...
2018/03/07
1,471
4,171
<issue_start>username_0: I am working on julia with the `Metagraphs.jl` library. In order to conduct an optimization problem, I would like to get the set/list of edges in the graph that point to a special set of vertices having 2 particular properties in common. My first guess was to first get the set/list of vertices...
2018/03/07
1,055
3,486
<issue_start>username_0: During my school assignments, I just got curious if it really frees as I expect. ``` #include "stdio.h" #include "stdlib.h" void main(){ int* menu1 = (int*)malloc(sizeof(int)); int* menu2 = (int*)malloc(sizeof(int)); int* menu3 = (int*)malloc(sizeof(int)); int* menu4 = (int*)m...
2018/03/07
638
2,355
<issue_start>username_0: I'm having issues with a SignalR project I'm currently working on. I'm trying to build a server using .Net Core, and a client using traditional .Net (framework 4.6.1). However the server and client don't seem to be compatible. The last issue I've run into is a StatusCode: 405, ReasonPhrase: 'M...
2018/03/07
353
960
<issue_start>username_0: I have a column in my table having date value as Decimal like `20180715` for the date `15-07-2018`. I want to convert it to `MMDDYYYY` format. Example: Given decimal value `20180715` is converted to `07152018`. How to do it ?<issue_comment>username_1: try somthing like this: ``` select VARC...
2018/03/07
358
1,125
<issue_start>username_0: I have an android app which is 35 MB in size. I am using around 50 images in that app because of that scrolling is not smooth and sometimes app crashes with errors like out of memory, whereas there are other apps which are using 100 images but are smaller in size, like 2 MB or so and these app ...
2018/03/07
732
2,101
<issue_start>username_0: I'm trying to hide part of the div underneath another. <https://jsfiddle.net/71obhkzh/7/> shows what I have now. ``` some stuff here some stuff here #container { display: flex; align-items: center; flex-direction: column; justify-content: center; width: 300px; } #top { height...
2018/03/07
215
825
<issue_start>username_0: I want to publish an app to Apple's app store. For this purpose I have to upload some screenshots. I created three screenshots with the resolutions 1242 x 2208 (iphone) and 2048 x 2732 (ipad). So I have now 6 pictures in png format. But if I upload one these files I get the error message ...
2018/03/07
554
1,934
<issue_start>username_0: I am using CSVMapper to output the objects within a dictionary: ``` using (TextWriter writer = new StreamWriter($"somefile.csv")) { var csvDP = new CsvWriter(writer); csvDP.WriteHeader(); csvDP.NextRecord(); foreach (NodeDPCount dpItem in dp.Values) {...
2018/03/07
1,362
6,077
<issue_start>username_0: ``` private void button2_Click(object sender, EventArgs e) { if (textBox1.Text != "") { try { con.ConnectionString = ConfigurationManager.ConnectionStrings["DeathWish"].ToString(); con.Open(); string...
2018/03/07
800
2,517
<issue_start>username_0: I have a flexbox and I would like my form-control (width: 100%) button to extend to the same length as the h2, not the h1. Unfortunately, because the div that both the h2 and the button are placed in does not have a width declared, the form-control class is extending the width of the button to ...
2018/03/07
291
1,039
<issue_start>username_0: So basically, i have a ionic mobile application that has a rating module. but, I'm having a hard time as to how to implement half stars when i get an average that is not a whole number. so what i did i round it off. and display the ionic icon star. these are my codes, ``` {{item.rating}} `...
2018/03/07
230
839
<issue_start>username_0: We collect performance metrics like average **response time, latency, Hits** etc,. when we do load test. How can we evaluate the performance of a request using these metrics?<issue_comment>username_1: If you have some time use this library <https://github.com/fraserxu/ionic-rating> or else yo...
2018/03/07
302
1,234
<issue_start>username_0: I wanted to use an Azure HTTP function combined with a MailChimp Webhook. Azure expects a security token to be sent with requests to the function as a header. I am unable to see how to specify headers when creating the MailChimp Webhook. Does anyone know if it's possible? The other option i...
2018/03/07
1,054
3,408
<issue_start>username_0: I'm trying to learn scheme (more specifically R5RS), and I want to define a procedure that takes as input a list with 3 elements, for example: '(5 + 2), where the middle argument always is an operator, and the 1st and 3rd are always operands. Examples: ``` (proc-mid '(1 + 2)) --> 3 (proc-mid ...
2018/03/07
479
1,696
<issue_start>username_0: I write a *Dialog* script for the roboter Pepper with the Choreography IDE. The default language is German. But some words are English and I need Pepper to pronounce them correctly. How can I switch the language for a specific word? In the example below it is the word `Apple`. ``` topic: ~Fict...
2018/03/07
709
2,605
<issue_start>username_0: I'm building an app where the user clicks on a button and loads an SWF file in the same window, then if he finishes, closes it with a closing button: [![First frame](https://i.stack.imgur.com/nhtXl.png)](https://i.stack.imgur.com/nhtXl.png) [![2nd frame](https://i.stack.imgur.com/whdqO.png)](...
2018/03/07
622
1,737
<issue_start>username_0: An item `table: items` has many taxonomies `table: taxonomies` using a join table `item_taxonomies (item_id, taxonomy_id)`. A search for items is made using taxonomies groups. Example: ``` taxo_group_1 = [1, 2, 3] taxo_group_2 = [4, 5] ``` The sql should find all `items` having `taxonomies...
2018/03/07
414
1,441
<issue_start>username_0: I want to make use of a Symfony 4 Console option for MongoDB. The console option I want to use is: `php bin/console doctrine:mongodb:generate:documents` I get the next error message: `Error thrown while running command "doctrine:mongodb:generate:documents". Message: "Not enough arguments ...
2018/03/07
729
2,752
<issue_start>username_0: I'm trying to implement `Algolia` as explained: [here](https://cloud.google.com/firestore/docs/solutions/search). There is a message that says: `App ID and API Key are stored in functions config variables` ``` const ALGOLIA_ID = functions.config().algolia.app_id; const ALGOLIA_ADMIN_KEY = fun...
2018/03/07
930
3,542
<issue_start>username_0: I'm attempting to sign all of our AWS calls to ElasticSearch however the response is always; `User: anonymous is not authorized to perform: es:ESHttpGet on resource:` I've tried multiple key pairs and IAM users. The calls within our PHP are made using the official [elasticsearch-php client](...
2018/03/07
955
3,816
<issue_start>username_0: I have an android app that gets my devices location and adds a marker. It also tracks the location and the marker moves. I want to add a marker on the map each time the location changes, so I can then draw a Polyline between them at a later date. I am not using firebase or a DBHelper. Just look...
2018/03/07
564
1,828
<issue_start>username_0: ``` $route['viewproduct/(:any)']='Product/viewproduct/$1'; ``` will change my default directory path. i set path into `https://baseurl/project/` but after i call route path change to `https://baseurl/project/viewprodect` in all js &css href<issue_comment>username_1: I had the same issue on...
2018/03/07
1,479
4,521
<issue_start>username_0: I am a embedded system developer and I am not good at web developing .This question should be very easy for this I am sorry. A MCU send html codes to network with TCP/IP protocols. Index page is working well. But my client requested settings page. This settings page has to get default data in ...
2018/03/07
1,160
3,429
<issue_start>username_0: Table "X" is a truncate and load table every hour with Column "A" .Table "X" can have either 5 or >5 or <5 records in every run. Need help with T-SQL query for the following : Want to add a column "CounterNumber" to table "X" which inserts a serial number from 1 to 5 for the first 5 inserted ...
2018/03/07
755
2,829
<issue_start>username_0: I have the following string ``` string str = "1," ``` How do I convert it to decimal `1.00`? I use it in this code: ``` EditText quantityEditText = FindViewById(Resource.Id.quantityEditText); quantityEditText.SetFilters(new IInputFilter[] { new DecimalFilter(3) }); quantityEditText.TextCha...
2018/03/07
542
2,473
<issue_start>username_0: when i press back button, application immediately exits and dont wait for confirmation from user "Are you sure ?" Here is my onbackpressed code ``` @Override public void onBackPressed() { super.onBackPressed(); new AlertDialog.Builder(this) .setIcon(android.R.drawable.i...
2018/03/07
1,066
3,556
<issue_start>username_0: I have read from different sources that size of integer variable is unbounded in python and it grows with the size of the integer itself. I have few question related to a code that I am working on in this context. > > 1. Is there a lower bound? Or does it literally starts from 1 byte and grow...
2018/03/07
1,118
4,123
<issue_start>username_0: I am new to DRF token authentication and would like to implement Social Authentication such as facebook,twitter in my app. I have been reading [how-to-implement-oauth2-using-django-rest-framework](https://chrisbartos.com/articles/how-to-implement-oauth2-using-django-rest-framework/) but confuse...
2018/03/07
410
1,285
<issue_start>username_0: I created a form with the grid system I have a link (styled as a button) in a row, and I want it aligned with the inputs I tried every combination of align-button and align-items-button but no success Here the [jsfiddle](https://jsfiddle.net/77xmq6z0/8/) ``` Email Password [Test](#) ...
2018/03/07
223
885
<issue_start>username_0: ``` [playersTEST]="playerEL" (playerWasSelected)="onPlayerSelected(playerEL)"> ``` What is the correct way of doing this?<issue_comment>username_1: They do have some conflicts in Angular2+. Angular2 doesn't support more than one structural directive on the same element. So you can split th...
2018/03/07
489
1,801
<issue_start>username_0: I want to have for my UWP App on the Tile Menu some Deeplinks to specific things in my App. Basicly i want to make the same like the XBOX App [Xbox tile menu](https://i.stack.imgur.com/KhGQX.png) How do i create those links?<issue_comment>username_1: That's called the jump list, learn more he...
2018/03/07
1,518
4,397
<issue_start>username_0: Hi there and thanks for help anyone. I am making a google map with 6 markers and a custom infowindow. In the infowindow code, I am trying to assign it to a specific marker but can't seem to manage it. The infowindow is only visible when I put marker: newevent, but for some reason it shows the...
2018/03/07
1,037
3,123
<issue_start>username_0: Iam trying to Execute Dynamic Query, But Iam getting Empty Output.Where I'm Wrong? ``` SET @SQL=N' SELECT GETDATE(),'+@AMUID+','+ @BNO + ',LOT,BARCODEID,'+@ACTWT+',TARE_QUANTITY,''NA'',STAGE,0,0,0, '+ @UNAME+ ','+@PR + ',GETDATE() FROM DISPENSE_HOLD_START WHERE BATCH_NO='''+@BNO+''' AND BA...
2018/03/07
1,286
4,158
<issue_start>username_0: I know this question has been asked before but I'm trying to implement a reCAPTCHA into a simple contact form on a website I'm building and still can't get it to work. The form works as expected normally, however when I implement the reCAPTCHA as per Google's instructions the form gets submitte...
2018/03/07
634
2,516
<issue_start>username_0: I'm trying to implement INCreateNoteIntent for Siri in my app. Siri resolves all the needed content, she goes through confirm, and through handle intent method, and it all works, but the final response from Siri is: *Sorry, there was a problem with the app*, What was printed in the console ...
2018/03/07
718
2,503
<issue_start>username_0: I'm using `getSupportedActionBar().setTitle("This Phone");` I have managed to change the title color to white by using `Toolbar.setTitleTextColor(0xFFFFFFFF);` ***How do I change the back arrow key color to white too?***<issue_comment>username_1: You can try this in your activity :- (After *...
2018/03/07
617
2,018
<issue_start>username_0: I can't find any documentation for the webpack 3. Currently I'm using webpack 4 and I wanted to use the `extract-text-webpack-plugin` which is not supported in webpack 4, so I wanted to downgrade to webpack 3 since the `extract-text-webpack-plugin` is supported up to that version. Is there an...
2018/03/07
8,485
23,602
<issue_start>username_0: Trying to catch up with the Spark 2.3 documentation on how to deploy jobs on a Kubernetes 1.9.3 cluster : <http://spark.apache.org/docs/latest/running-on-kubernetes.html> The Kubernetes 1.9.3 cluster is operating properly on offline bare-metal servers and was installed with `kubeadm`. The foll...
2018/03/07
918
3,363
<issue_start>username_0: I have this table where VARCHAR2(128 CHAR) field could be of the format `2018-01-01 00:00:00` or `01/01/2018 00:00:00` or `01-JAN-2018 00:00:00` How can I pull records that has the VARCHAR2(128 CHAR) field in `2016-01-01 00:00:00` or `01-JAN-2018 00:00:00` format alone?<issue_comment>username...
2018/03/07
391
1,245
<issue_start>username_0: Below is my code : ``` $sql = "SELECT count(EventCode) as Total_Event FROM sample where Age between 5 and 10"; $stmt = sqlsrv_query( $conn, $sql ) $sql1 = "SELECT count(EventCode) as Total_Event FROM sample where Age between 50 and 80"; $stmt1 = sqlsrv_query( $conn, $sql1 ); ``` Fro...
2018/03/07
618
2,471
<issue_start>username_0: I'm struggling to figure out how to organize things here. I'm building a race game. There are players and race courses. Player have attributes like name, age, etc. Race courses also have a set of attributes, including difficulty. One thing I want to do is, when a player runs a course their ene...
2018/03/07
606
2,109
<issue_start>username_0: I'm using angular 5 and making a post request with XML data(as my backend only accepts data in XML format). I want to change the Content-Type of header to application/xml but it always sends request with text/plan. Please look into it and let me know what I'm doing wrong. **Here is my Code** ...
2018/03/07
713
2,335
<issue_start>username_0: i created a coming soon webpage using html and bootstrap.I used jquery to show background video and images based on screen size.when screen detected less than 729px ,it appends my background images to a particular div.if more than that pixels it appends a background video. Everything works fine...
2018/03/07
811
2,616
<issue_start>username_0: Is there a way to alter the following to make it work? ``` for (var i = 0; i < data[1].length; i++) { $("#results").append($("").text(data[1][i])); $("#results").append($("").text(data[2][i] )); } ``` When I add the `div` tags as above I ...
2018/03/07
835
2,734
<issue_start>username_0: I need regex matching every pair of `...` and `...` to distinguish parts of chat conversation, which I receive as string in following format: ``` 16:30:24 ~ <EMAIL>: hello 16:30:14 ~ <EMAIL>: hello to you 16:30:03 ~ <EMAIL>: how are you 03/06/2018 16:29:55 ~ <EMAIL>: im fine ``` I...
2018/03/07
1,195
3,916
<issue_start>username_0: I have an array ``` var arr= [ ["PROPRI","PORVEC"], ["AJATRN","PROPRI"], ["BASMON","CALVI"], ["GHICIA","FOLELI"], ["FOLELI","BASMON"], ["PORVEC","GHICIA"] ] ; ``` And I'm trying to sort the array by making the second element equal to the first element of the next, l...
2018/03/07
1,166
4,613
<issue_start>username_0: I'm writing my own project and want to use some of Symfony components. I'm implementing Sf Router to my project and I don't understand how to call controller in router. For ex I have a class: ``` php namespace App; use Symfony\Component\Config\FileLocator; use Symfony\Component\Routing\Loa...
2018/03/07
1,129
4,372
<issue_start>username_0: Basically I have a large MySQL database table with a lot of city names, 90% of them are valid entries, but some of them are written in a ... not valid way. For example the valid way is juste "CITYNAME" but some of them are like "(CITY NAME)(COUNTRY)" or just "(CITY NAME)" so I just wanna `SE...
2018/03/07
569
2,355
<issue_start>username_0: I am creating a layout with inside. I am getting to this scene from another. So at the beginning another layout is rendered. After i go to the second scene (with TextInput tag) i obtain warnings such as: > > componentWillMount is deprecated and will be removed in the next > major version. U...
2018/03/07
1,572
5,447
<issue_start>username_0: I am trying to dump a collection to .json file but after looking in pymongo tutorial I can not find any thing that relates to it. Tutorial link: <https://api.mongodb.com/python/current/tutorial.html><issue_comment>username_1: Just get all documents and save them to file e.g.: ```py from bson....
2018/03/07
975
4,022
<issue_start>username_0: I have a firebase database similar to the following - ``` "root": { "survey": { "1": { "survey_question":"Who is a better player?", "options": { "1":"Ronaldo", "2":"Messi" } }, ...
2018/03/07
489
1,789
<issue_start>username_0: I have an Excel macro that uses SAP for printing data in pdf format. Steps: * it access the SAP transaction which provides a table with the necessary information * it press Print button (from the Menu Bar of SAP) * then Print window appears (from here it is selected Microsoft Print To PDF opti...
2018/03/07
339
1,148
<issue_start>username_0: I want to make a Rubik's cube with VPython and I've faced a problem in the first stage! I want to color every face of a box with a different color but I can't find that! In the tutorial you only can color all of the faces of the box with one certain color! What should I do? Note: I'm using VP...
2018/03/07
352
1,252
<issue_start>username_0: I am facing issue with CTRL + F functionality of browser while using virtual scroll bar. Let me explain it with an example-Suppose I am having a list of say ten thousand data and I want to use, search in the page( i.e. ctrl +f) functionality of browser to search data that might be present at th...
2018/03/07
842
3,223
<issue_start>username_0: I have excel sheet with dropdown list and when I choose anything from the list [![enter image description here](https://i.stack.imgur.com/tEjzL.png)](https://i.stack.imgur.com/tEjzL.png) macro will vlookup for requested value. But when I want to remove values from those cells, that I select th...
2018/03/07
931
2,907
<issue_start>username_0: I am trying to use Firebase Cloud Functions to send a file to webtrends ftp server, but I have encountered a problem I can not get past. Since I use Firebase Cloud Functions my function is running from a nodejs server. I am using this npm package: <https://www.npmjs.com/package/ssh2-sftp-client...
2018/03/07
9,266
34,121
<issue_start>username_0: How can I scroll to a special widget in a `ListView`? For instance I want to scroll automatically to some `Container` in the `ListView` if I press a specific button. ``` ListView(children: [ Container(...), Container(...), #scroll for example to this container Container(...) ]); ```<issue...
2018/03/07
9,448
34,800
<issue_start>username_0: Using SQL, it is taking over 4 hours every evening to pull over all the data from the twelve Production database tables or views needed for our Sandbox database. There has to be a significantly more efficient and effective manner to get this data into our Sandbox. Currently, I'm creating a UID...
2018/03/07
541
1,880
<issue_start>username_0: I am planning to write a method which use to update a `MyObject` object with not null fields of another `MyObject` object. ``` private void updateMyObject(MyObject sourceObject, MyObject destinationObject) { ModelMapper mapper = new ModelMapper(); mapper.getConfiguration().setPropertyC...
2018/03/07
2,124
5,897
<issue_start>username_0: I want to find the number within a range in an array and must be in a recursive way. The function variables couldn't be modified. Let's say in the range of 2 and 3 The input is : `int a[] = {4, 1, 3, 1, 3, 2};` and the output will be `= {3,3,2}` , 3 found Not sure how to code the recursive ...
2018/03/07
582
2,107
<issue_start>username_0: I'm trying add [Dropzone](http://www.dropzonejs.com) component in a page and I'm having such a big pain with this component: no matter what I do, nothing happens when I click or drop file in the dropzone's element. ``` Drop files here to upload . . . ``` As you can see, I'm configuring...
2018/03/07
916
3,218
<issue_start>username_0: I'm using the Datalab for a Python notebook that loads data from Cloud Storage into BigQuery [basically following this example](https://github.com/googledatalab/notebooks/blob/master/tutorials/BigQuery/Importing%20and%20Exporting%20Data.ipynb). I then saw that my original data in the Cloud St...
2018/03/07
444
1,635
<issue_start>username_0: I am new in angular 4. my question is how to handle security in angular4. I am using rest web service and JWT token for user information. My login flow is: > > User Login -> Return JWT token -> store in local storage/session > storage. > > > Send this JWT Token to every request. Now if...
2018/03/07
995
3,415
<issue_start>username_0: I have a shopping basket where i want a user to be able to click on a button that takes them to a separate page whilst capturing their shopping basket contents (item names, quantities, prices, etc). At the moment i'm using localStorage to send just the item names to my new page however the only...
2018/03/07
2,546
8,799
<issue_start>username_0: After updating support library version `27.1.0` **Android Studio** unable to render CardView. It shows error message as ``` failed to find style 'cardView Style' in current theme ``` But no error in compiling and no difference while seeing on the phone. I have reverted the support library ...
2018/03/07
1,432
4,934
<issue_start>username_0: I'm trying to create a new column in a dataframe of food ingredients with unique values per row based on information from other cells in the same row. The table essentially looks like this: ``` ingredient_name | ingredient_method | consolidated_name Cheese | [camembert, pkg] | Chee...
2018/03/07
809
2,611
<issue_start>username_0: I've got a pandas DataFrame with a float (on decimal) index which I use to look up values (similar to a dictionary). As floats are not exactly the value they are supposed to be multiplied everything by 10 and converted it to integers `.astype(int)` before setting it as index. However this seems...
2018/03/07
701
2,411
<issue_start>username_0: I know there exists a lot of material on the procedural generation of plants and the like, especially using L-systems etc. But after a quick research, I haven't been able to find any good / in-depth material on the structure of leaves. Specifically, though I've found a few articles on the shap...
2018/03/07
1,720
6,759
<issue_start>username_0: I've looked everywhere, and I am not quite getting if it's possible or how to loop through an ajax request, cycling through the values in an array. So it would need to make an ajax request one of the data values (serial) as array[0], finishing the request, then does the next request with arra...
2018/03/07
423
1,446
<issue_start>username_0: I checked mat-menu API (<https://material.angular.io/components/menu/api#MatMenu>) but I couldn't find how to add a class on mat-menu cdk overlay. I want to add a class on cdk overlay which contains mat-menu template. Can anyone help on the same? I want to add class on parent cdk overlay bec...
2018/03/07
518
1,702
<issue_start>username_0: Using this dataframe as input ``` employee <- c('JohnDoe','PeterGynn','laughter','laughter','happiness') filename <- c('myfile_1','myfile_1','myfile_1','myfile_2','myfile_2') input <- data.frame(employee, filename) employee filename JohnDoe myfile_1 PeterGynn myfile_1 laughter myfile_1 laught...
2018/03/07
369
1,327
<issue_start>username_0: As per doc, Angular app should have mimimum one Module (root) and can have one or more components under one single module. **What is the maximum number of components can be added under one single module? Is there any limitation?** Note: I understand, having more component in single module is ...
2018/03/07
605
2,330
<issue_start>username_0: When I debug a unit-test with Visual Studio 2017, all the console output is logged and I can examine it by clicking the "Output"-link in the result box of the unit-test (I'm using the built-in Test-Explorer). However, since I do log a lot to console at runtime which is even color coded so imp...
2018/03/07
2,349
9,333
<issue_start>username_0: I'm trying to set Dynamically the output folder of an FTP location. Assignment, for each customer I need to create a separate folder to store an Excel file and / or XML file. What I've tried * Created a Custom Pipeline Component to set all the required Properties into a FTP send port. * Tried...
2018/03/07
1,660
4,905
<issue_start>username_0: EmailAddressAttribute in .NET 4.6.1 allow dot on the end. That means that following email: <EMAIL>. is valid. For Microsoft this email is valid. But, for example, for PayPal, email is not valid. So does anybody know, is dot on the end of email valid or not?<issue_comment>username_1: Well, si...
2018/03/07
669
1,910
<issue_start>username_0: I hope you can help me with the following query: I have the following 2 tables: [![tableA](https://i.stack.imgur.com/A5Dgv.png)](https://i.stack.imgur.com/A5Dgv.png) [![table](https://i.stack.imgur.com/sFe8W.png)](https://i.stack.imgur.com/sFe8W.png) tableA.currencyA will always be = to t...
2018/03/07
654
1,894
<issue_start>username_0: I'm learning the basics about Python and Tkinter, I'm following [this tutorial](https://www.python-course.eu/tkinter_labels.php). The thing is, the last exercise of that tutorial is ``` import tkinter as tk counter = 0 def counter_label(label): def count(): global counter ...
2018/03/07
909
3,858
<issue_start>username_0: I have a mobile application which has Finger Print Authentication and it uses xamarin framework. Until now everything worked well with all devices except Samsung Note 8. While trying to debug this device it gives me an exception Java.Lang.RuntimeException: Can't create handler inside thread tha...
2018/03/07
1,950
5,587
<issue_start>username_0: I have a table with an `ID`, a `CHAR` and a `DATETIME` field. Now I want to get all rows, which are having a `DATEDIFF` of 5 minutes or less. --- Sample data for reference: ``` ID2 CHA Timer 1 B 2018-03-06 11:31:39 2 S 2018-03-06 11:33:39 3 B ...
2018/03/07
315
1,134
<issue_start>username_0: I have Python 2.6.6 version and I don't have access to install new modules like pandas,xlrd,xlwt. I want to read Excel using Python . Is it possible to read Excel using Python with default modules present in Python.<issue_comment>username_1: 1) if you are using an IDE ex. PyCharm then you can ...
2018/03/07
565
1,834
<issue_start>username_0: I read my root passwords from an encrypted ansible-vault file. But when I use it on ansible\_become\_pass the operation fails because the password contains a special character. In my example "**#**" This is my yml: ``` - hosts: sirius remote_user: ansusr become: yes vars_files: - ...
2018/03/07
284
1,099
<issue_start>username_0: I have thousands of table in the database that needs to convert in hibernate java entities.What are the possible ways to do this task?<issue_comment>username_1: I would write a simple Java program to read the database meta data of the tables and column names in the tables. It then could write o...