date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/20
1,094
3,243
<issue_start>username_0: I have a custom array object. It has two main variables: m\_array = Pointer to dynamic array. m\_size - The size of the array. The size for this array is 10. When I rotate to the left, this works fine: ``` std::rotate(m_array + 0, m_array + 1, m_array + m_size); ``` This is equivalent to...
2018/03/20
344
1,386
<issue_start>username_0: Folks: I have recently begun working with xPages. I have a view of documents that needs to present data from other related documents in six separated columns. What I am trying is to use a Computed column that does a lookup to a view with a concatenated string. My intention was to parse this in...
2018/03/20
677
2,479
<issue_start>username_0: I have a paragraph, the content is automatically generated, I cannot edit the HTML directly. The paragraph will always end in an email address then a question mark. I want to bold the email address. Here is the HTML: ``` Do you want to stop receiving emails from us to the email address <EMAIL>...
2018/03/20
606
2,080
<issue_start>username_0: I developed a Spring Boot REST API and the URL is: `http://localhost:8080/greeting` However, when I'm trying to access it, it says > > Whitelabel Error Page This application has no explicit mapping for > /error, so you are seeing this as a fallback. Mon Mar 19 22:06:54 EDT > 2018 There was...
2018/03/20
1,000
3,545
<issue_start>username_0: I'm attempting to set a global variable equal to a JSON element being returned from a Promise with Axios, within my React Native application. I've followed the advice from [this question](https://stackoverflow.com/questions/44231366/how-to-set-variable-outside-axios-get#), but still am unable t...
2018/03/20
623
2,344
<issue_start>username_0: Consider I want to download only 10 files from the bucket, how do we pass 10 as an argument.<issue_comment>username_1: Your use case appears to be: * Every 30 minutes * Download 10 random files from Amazon S3 Presumably, these 10 files should not be files previously downloaded. There is no i...
2018/03/20
975
3,400
<issue_start>username_0: I'm struggling with figuring out how to transform a table from from one layout to another: ``` Table1 DEP_NO POSITION_CATEGORY NAME 177 CLERICAL <NAME> 177 MANAGER <NAME> 177 EXECUTIVE DAVID GREEN 200 CLERICAL <NAME>SS 200 MANA...
2018/03/20
838
3,215
<issue_start>username_0: I am unable to debug an api developed in ASP.NET core. API is hosted in IIS and if I execute the request through fiddler, I do get the response back. However, if I wish to debug the api for some reason, it's not working because symbols have not been loaded. I tried following options. 1) Ru...
2018/03/20
345
937
<issue_start>username_0: I want to direct error\_log and access\_log in php.ini to stdout. My OS is windows 10. Is it possible?<issue_comment>username_1: To output logs in docker, write them to `/dev` IE: ``` error_log /dev/stderr ``` Cheers! Upvotes: 2 <issue_comment>username_2: Note that, when it comes to the [off...
2018/03/20
466
1,456
<issue_start>username_0: Here is the code : ``` #include using namespace std; int a, b; int f(int c) { int n = 1; for (int i = 0; i < c, i++;) { int a = n + i; } return a; } void main() { int i = 3; int b = f(i); cout << a << b << i; } ``` The output is 0,0,3 I understand the a = 0 because it is a glob...
2018/03/20
351
1,454
<issue_start>username_0: I'm pretty new to Typescript, and I'm trying to understand the parts that go into it. Is the DefinitelyTyped Project the same at the @types project?, and is @types the latest way to add type definitions to a project.<issue_comment>username_1: The DefinitelyTyped project predates the @types modu...
2018/03/20
429
1,636
<issue_start>username_0: I have looked at a few posts on here but haven't had success with making my div change background color when the mouse hovers. It's a little messy, but bear with me. Here is the html/php code: ``` [php= echo "Section Two - Unknown"; ?](https:/doltesting.000webhostapp.com/pageTwo.php) ``` A...
2018/03/20
1,049
3,421
<issue_start>username_0: ``` private: struct info{ int size = 0; int key = 0; int capacity = 1; std::vector \*value = new std::vector(capacity); }; int keyCapacity\_; int size\_; std::vector \*keys\_; ``` within a function... ``` //some code keys_ = new std::vector(keyCapacity\_); //some code ...
2018/03/20
1,143
4,583
<issue_start>username_0: What is the best way to **async call** to load a **UIImage to a textView** as a NSTextAttachment in a tableView? So far this is working very badly. I am using a URL string to load a single image inside multiple tableView cells. ``` func tableView(_ tableView: UITableView, cellForRowAt indexPa...
2018/03/20
474
1,667
<issue_start>username_0: I have two dataframes, called Old and New. Old has 96 rows, and New has 48 rows. I want to take one column of Old, say `['Values']` and split it into two columns in New, say `['First']` and `['Second']`. Thus, for a simple example with 6 rows to start; from: ``` Values 1 10 2 20 3 ...
2018/03/20
871
3,218
<issue_start>username_0: **The TL;DR version** I'd like to know: * Where does the specification for the use of ECDHE get defined (in a cert parameter or a server configuration of SSL contexts, or elsewhere)? * In a non-home-rolled certificate setup, who's responsibility is it to define the ECDHE public and private in...
2018/03/20
673
2,726
<issue_start>username_0: I have a spark streaming job with a batch interval of 2 mins(configurable). This job reads from a Kafka topic and creates a Dataset and applies a schema on top of it and inserts these records into the Hive table. The Spark Job creates one file per batch interval in the Hive partition like b...
2018/03/20
821
3,137
<issue_start>username_0: I am trying to determine if a MTLTexture (in bgra8Unorm format) is blank by calculating the sum of all the R G B and A components of each of its pixels. This function intends to do this by adding adjacent floats in memory after a texture has been copied to a pointer. However I have determined ...
2018/03/20
608
2,380
<issue_start>username_0: In Python3.6, I use threading.local() to store some status for thread. Here is a simple example to explain my question: ``` import threading class Test(threading.Thread): def __init__(self): threading.Thread.__init__(self) self.local = threading.local()...
2018/03/20
418
1,561
<issue_start>username_0: I want to use recursion to calculate the sum of the list values, but there is an error when using the sum2 function: TypeError: unsupported operand type(s) for +: 'int' and 'NoneType' ``` def sum(list): if list == []: return 0 else: return list[0] + sum(list[1:]) prin...
2018/03/20
458
1,753
<issue_start>username_0: I am going to implement the validation in angular 4. I've already have a solution but need simple and clean code. Here is my code. * mobile-auth.component.ts ``` this.appForm = fb.group({ 'otp': ['', Validators.compose([Validators.required, ValidationService.digit4Validator])], }); ``...
2018/03/20
549
2,072
<issue_start>username_0: I've been stuck on this for a while. Does anyone have an idea on why I keep on getting a Signal Abort (SIGABRT) in Xcode with the following code? I'm using Fuse Tools to create my app and what this block does is re-size an image before uploading. The error is on the third line down where `image...
2018/03/20
1,322
5,649
<issue_start>username_0: We're moving all of our infrastructure to Google Kubernetes Engine (GKE) - we currently have 50+ AWS machines with lots of APIs, Services, Webapps, Database servers and more. As we have already dockerized everything, it's time to start moving everything to GKE. I have a question that may soun...
2018/03/20
539
1,909
<issue_start>username_0: I am trying to upload an image to be stored in a database on mysql however I keep receiving an error: > > Notice: Undefined index: profilepic in >[php-path]/tuto>rsignupsubmit.php on line 17 > > > There is a simple button upload of type file on a form: ``` Profile Picture ``` I then ...
2018/03/20
1,033
3,471
<issue_start>username_0: I managed to apply swagger ui on Spring boot application and was able to open the page using <http://localhost:8181/swagger-ui.html> After some time i kept working on my application and now its gone. i did not remove any jars. i added an Application Startup class which is used to load some thi...
2018/03/20
377
1,584
<issue_start>username_0: In the cmdb\_rel\_ci table, I want to retrieve the value and total count of all the unique parent.sys\_class\_name values for Type(cmdb\_rel\_type) "Depends on::Used by". I was trying to use with GlideAggregate, but classname is showing empty. Can anyone offer some advice?<issue_comment>user...
2018/03/20
1,013
2,708
<issue_start>username_0: Yet another problem. This time I think because the tag is used twice in the same message, nested. I have no issue retrieving other items with unique labels (like `requestDateTime`, `statusDateTime` and `completedStateEnteredDate`), but I can't successfully grab the reference number, or the ...
2018/03/20
735
2,006
<issue_start>username_0: I need to construct an instance of SAMLObject from a SAML message string. After having a look at the OpenSAML APIs, I can't figure how it can be done. Any advice?<issue_comment>username_1: Use this XPath expression to get the result desired: ``` /return/networkUpdateList/som/som ``` **Resu...
2018/03/20
8,016
27,783
<issue_start>username_0: I'm writing some software that analyzes registered domain names and looks for trends. I'm experimenting with some machine learning to help predict what domain names will be purchased in the future based on what types of domains are being registered. I've been looking around searching for a way...
2018/03/20
291
944
<issue_start>username_0: Please could someone help. I have used this formula in my Tableau Desktop so that in the tooltip (when I hover on the bar chart) it can display figures with 0 Decimal Places. ``` int(IIF((ZN(round(SUM([Rental Area])),0) - LOOKUP(ZN(round(SUM([Rental Area])),0), -1)) / ABS(LOOKUP(ZN(round(SUM(...
2018/03/20
612
1,613
<issue_start>username_0: Let me present a simplified version of the data I have: ``` declare @cctbl table ([cc] [int]); insert into @cctbl ([cc]) values (1),(2),(3); declare @datetbl table ([dte] [date]); insert into @datetbl ([dte]) values ('20180320'),('20180321'),('20180322'); declare @outtbl table ([cc] [int],[d...
2018/03/20
353
1,398
<issue_start>username_0: I follow the guideline . * Install composer-wallet-redis image and start the container. * export NODE\_CONFIG={"composer":{"wallet":{"type":"@ampretia/composer-wallet-redis","desc":"Uses a local redis instance","options":{}}}} * composer card import <EMAIL> I found the card still store in my ...
2018/03/20
1,137
4,051
<issue_start>username_0: I have a react app and am using dotenv-webpack to manage my API keys. I have: - created a .env with the API keys and gitignored it. - required and added dotenv as a plugin in webpack.config.js. After that, I've been able to reference one of the keys in a .js file by using process.env.api\_ke...
2018/03/20
1,190
4,291
<issue_start>username_0: On MacOS, I installed homebrew, then installed pip. Trying to use a Python scraper that uses "BeautifulSoup" package. Ran: `pip install -r requirements.txt` requirements.txt includes: ``` BeautifulSoup ipython ``` BeautifulSoup gives an error, after googling I realized that there is a n...
2018/03/20
417
1,634
<issue_start>username_0: The idea is how to build an android game that contains inside it many small games like Snake, draw letters, Sudoku...(Elevate as an example) Should I use Android native, ionic, unity…? Note that Elevate has incredible animations. [Elevate in Play Store](https://play.google.com/store/apps/deta...
2018/03/20
441
1,783
<issue_start>username_0: Hadoop `copyToLocal` is creating `.crc` files in the destination directory along with the actual data files which is unnecessary for me and fiddle with my further data processing. Is there a way to avoid that from being created instead of deleting it later? ``` val config = new Configuration...
2018/03/20
906
3,110
<issue_start>username_0: I'm trying to create a linked list from user input but it's not printing anything when i try to print it. Not even the head. Also note, it is intentionally backwards. Here is my function for getting user input, it returns the list. I know it is wrong but i've spent hours on it and can't get it...
2018/03/20
946
2,966
<issue_start>username_0: I have an Excel file and am trying to create a bar chart that groups categories and shows the average rating of the category. Because there are a lot of categories, I'd also like to only show either the top 10 or bottom 10 in the resulting horizontal bar chart. ``` category rating A 1...
2018/03/20
504
1,771
<issue_start>username_0: My app is built on rails and the web server is puma. I need to load data from database and it takes more than 60 seconds to load all of them. Every time I send a get request to the server, I have to wait more than 60 seconds. The timeout of request get is 60 seconds, so I always get 504 gate...
2018/03/20
1,472
5,089
<issue_start>username_0: I'm trying to create dynamic checkbox with the name fetching from json, [this issue](https://github.com/react-native-training/react-native-elements/issues/603) looks same as I need, but without the code explaining, I can't archieve my goal, I have a json example like this : ``` this.state = {...
2018/03/20
1,642
7,007
<issue_start>username_0: Is it possible to remote update or patch only certain piece of code to an embedded device (microcontroller)? I am writing a bare metal C program on a microcontroller. Lets say I have main program which comprises of function `A()`, `B()`, `C()` and `D()` each in their own .c file. I would like ...
2018/03/20
799
2,753
<issue_start>username_0: Is there a more efficient way to write the below if statements & preserve the exact same effect? Let's say this dataRequest function runs from within in an interval that triggers it every 5 seconds. There is fresh data in dataRequest each time it is requested. As it exists right now, this code...
2018/03/20
308
1,161
<issue_start>username_0: I would like Vim to send the name of the currently open file to macOS Terminal. It is possible to tell the macOS terminal the filename of a currently open document by sending the escape sequence `\e]6;FILENAME\a`. This can be seen be executing the command `printf "\e]6;FileName.txt\a"` I woul...
2018/03/20
639
2,492
<issue_start>username_0: This does not work When I don't have a blank constructor in my class the code will not run causing an error saying no default constructor exists for class. ``` #include class myClass { public: myClass(int val) :x(val) {} private: int x; }; int main() { myClass random; return 0; } ...
2018/03/20
632
2,623
<issue_start>username_0: hey so im trying to display a graph based on selected from and to from user. the column that it will call is from `created_at` column but when i write my code like ```html $email = count(DiraResponses::where('company_id', $companyID)->where('created_at', '>=', $request->from)->where('created_a...
2018/03/20
602
2,274
<issue_start>username_0: If I understand correctly the binary form of Java 10 is 100% identical to Java 9 so it shouldn't make any problems. Is my assumption correct?<issue_comment>username_1: `javac` has supported a [`--release`](https://docs.oracle.com/javase/9/tools/javac.htm#JSWOR627) argument for a while. As long...
2018/03/20
607
2,127
<issue_start>username_0: I have a html file as follows. ``` * Teachers ``` In this html file i.e in teacher.component.ts i am redirecting to all teachers component as shown abouve. In my app.routing.ts my routes are as follows. ``` const routes: Routes = [ { path: '', component: LoginComponentComponen...
2018/03/20
522
1,864
<issue_start>username_0: I am attempting to write an enzyme test for a react component. I want to test that, when I give this component a prop of "items," the component contains a "ToDoItem" as shown mapped below. I can't figure out how to test the presence of the ToDoItem component. Here is the component: ``` impo...
2018/03/20
417
1,421
<issue_start>username_0: Okay so I'm trying to select innertext from a tag which is 2 below the a tag containing specified string Example of html: ``` [Example String](#) | 132 | 89 | 123 | ``` I want second TD below " Example String within the ahref tag: ``` 89 | ``` I know if i do: ``` //a[contains(., 'E...
2018/03/20
512
1,662
<issue_start>username_0: This is my code: ```js function person(name, age) { this.name = name; this.age = age; this.changeName = changeName; function changeName(name) { this.name = name; } } my = new person("Ying", 21); for (i in my) { document.write(my[i] + " "); } ``` Result: > > Ying 21 fu...
2018/03/20
879
2,730
<issue_start>username_0: Say for example I have a paragraph of text, and when I click on a certain word in a span, I'd like a picture to appear while the word is STILL visible (position the picture right below the word). I know how to do this easily if the the img tag follows the span directly, with relative positionin...
2018/03/20
1,403
5,188
<issue_start>username_0: I have two connected components, they both need the same parent so that they can talk to each other. However I would like to be able to render them anywhere, 100% separate. I have a [jsfiddle](https://jsfiddle.net/69z2wepo/142067/) example to show the idea, it is a terrible solution to my probl...
2018/03/20
700
1,888
<issue_start>username_0: It is my first using rabbitmq,I download erlang 9.3 and rabbitmq 3.7.4,and also configure my path with erl and rabbitmq,It seems well as I enter commend line and use `rabbitmq-plugins enable rabbitmq_management`,but when i use `rabbitmqctl start_app`,it occur to an argument error,like this: > ...
2018/03/20
1,679
5,010
<issue_start>username_0: I am trying to include a file with functions in another Julia file. I can do it with ``` include("ImpurityChainLibrary.jl") ``` However, when I do ``` @everywhere include("ImpurityChainLibrary.jl") ``` I get an error (shortened): ``` ERROR: On worker 3: SystemError: opening file /Users/...
2018/03/20
2,426
7,832
<issue_start>username_0: I have trouble to simplify the code in AJAX. I use AJAX like below, and it's work perfectly, but the code looks dirty. ``` $.ajax({ url: "api/indexMajorNewsGroup.json", dataType:'json', type: 'GET', cache: false, ifModified: true, success: function getData(result){ ...
2018/03/20
363
1,142
<issue_start>username_0: I am using JedisCluster, and I need to set a key with 1-hour expiry, now I am doing something like ``` getJedisCluster().set(key,value); getJedisCluster().expire(key, 60 * 60); ``` But I hope I can using a single command to reduce the round trip to send commands With Redis cli , I c...
2018/03/20
484
1,581
<issue_start>username_0: I recently upgrade my aframe from 0.5.0 directly to 0.8.1 due to Chrome v65 compatibility issue. One of the changes, as documented is that Aframe no longer controls camera pose, which will be controlled directly by three.js. There is a recent PR here about the change: <https://github.com/afram...
2018/03/20
643
2,833
<issue_start>username_0: I just downloaded an `Ionic` project from internet. On the file: `src/pages/home/home.ts` I have the following fragment of code: ``` ... addTodo() { let prompt = this.alertCtrl.create({ title: 'Add Todo', message: 'Describe your todo below:', inputs: [ ...
2018/03/20
775
2,695
<issue_start>username_0: I'm using `DispatchGroup` to perform a task, but `group.notify` is being called before the task is completed. My code: ``` let group = DispatchGroup() let queueImage = DispatchQueue(label: "com.image") let queueVideo = DispatchQueue(label: "com.video") queueImage.async(group: group) { sle...
2018/03/20
435
1,370
<issue_start>username_0: I m testing Azure function locally using cli. I have noticed 2 issues: 1. Sometimes CLI do not shows correct time when function will be executing. For example I have cron to execute function every two mins but it shows function will be executed after a difference of seconds ? weird. 2. Often ...
2018/03/20
357
1,152
<issue_start>username_0: I am following [vue.js tutorial - method event handlers](https://v2.vuejs.org/v2/guide/events.html#Method-Event-Handlers) ``` handle this . . . methods: { handler: function (event) { console.log(JSON.stringify(event)); ...
2018/03/20
1,147
3,719
<issue_start>username_0: I'm just curious on which of these methods is better (or if there's an even better one that I'm missing). I'm trying to determine if the first letter and last letter of a word are the same, and there are two obvious solutions to me. ``` if word[:1] == word[len(word)-1:] ``` or ``` if word[0...
2018/03/20
1,487
5,036
<issue_start>username_0: I have some JSON like this: ``` { "a": { "text": "text", "index": 5 }, "b": { "text": "text", "index": 3 }, "c": { "text": "text", "index": 1 }, } ``` Now I need to interate this object and call a function on every property of the first level (a, b and c), but I have to do it on order usin...
2018/03/20
472
1,754
<issue_start>username_0: We are using react-native-google-signIn for android in our project. We have created a project in google developer console and downloaded the google-services.json file. The google-services.json file is placed in android/apps folder. When we configure the googleSignIn in code , am getting error:...
2018/03/20
1,009
2,704
<issue_start>username_0: I have array like this : ``` Array ( [2018-03-12] => Array ( [United States] => 4 [Australia] => 15 [United Kingdom] => 0 [New Zealand] => 0 ) [2018-03-13] => Array ( [United States] => 0 [Australia] => 8 [United Kingdom] => ...
2018/03/20
1,013
2,773
<issue_start>username_0: I want to create a nested list by a repetition of a simple list, say ``` x = ['a','b','c'] y = [x] * 3 ``` Which results in ``` [['a', 'b', 'c'], ['a', 'b', 'c'], ['a', 'b', 'c']] ``` When I change an element of one of the nested lists, the corresponding elements in all other lists also...
2018/03/20
858
2,407
<issue_start>username_0: When i run `heroku pg:psql` i get `--> Connecting to postgresql-cylindrical-38664` and stalls out. Everything is looking good to go, it just gets stuck and doesn't do anything.<issue_comment>username_1: Try: ``` $arr = [ '2018-03-12' => [ 'United States' => 4, 'Australia' ...
2018/03/20
203
588
<issue_start>username_0: I want to search something only datewise without time stamp in Postgres DB.<issue_comment>username_1: Select The Date in query and use % after ex. ``` Select * from tble Where date LIKE '2017-01-10%' ``` Upvotes: -1 <issue_comment>username_2: select \* from table where trunc(date) = to\_Date...
2018/03/20
852
3,679
<issue_start>username_0: I am making an app that using CLLocationManager, this app will be used to record the attendee of the employee. to validate the attendee of the employees, we will get GPS Coordinate. as far as I know, in there is an app that usually used to get fake GPS. I want to prevent this mock GPS to be ac...
2018/03/20
468
1,760
<issue_start>username_0: I am using Laravel 5.5 and I am unable to delete the notification using the below query. It gives the following error : > > SQLSTATE[42000]: Syntax error or access violation: 1064 You have an > error in your SQL syntax; check the manual that corresponds to your > MariaDB server version for ...
2018/03/20
535
1,931
<issue_start>username_0: When I type an M or an F, it skips straight to the "Invalid Option" part of the loop instead of printing the specific text. Any input is appreciated. ``` #include int main() { int MorF; //gender choice printf("\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_...
2018/03/20
794
1,460
<issue_start>username_0: ``` $dates = array('2017-03-24 01:48:09', '2017-03-24 11:48:09', '2017-04-07 01:12:19', '2017-04-14 01:49:09', '2017-04-21 01:45:09', '2017-04-28 01:38:09'); ``` if given array above.. i'm making a report to monitor user growth monthly.. i want to count the no. of entries per month sample ...
2018/03/20
536
2,131
<issue_start>username_0: The following code has an error: > > Use of the parameter "out" without assigning 'backup' > > > ``` public void StartProgram() { string backup = " "; NewContact(backup: out backup); } void NewContact(out string backup) { string contact = "Bob"; backup = backup + contact;...
2018/03/20
815
2,694
<issue_start>username_0: Let say I have this ``` * item0 * item1 * item2 * item3 * item4 * item5 * item6 * item0 * item1 * item2 * item3 * item4 * item5 * item6 ``` I'm trying to display their current index ex.(134,0256), but it displays (0123456). I tried some codes but it only display the selected index. How can...
2018/03/20
1,866
7,076
<issue_start>username_0: I am trying to post 2 parameters (email: and password) to get a response from the server with detailed user information, I build API to handle this and get a good response using Postman, but when I tried to implement this with Swift4 new urlsession JSON decode and encode, it keeps failing and I...
2018/03/20
1,236
4,713
<issue_start>username_0: I did clustering on spatial datasets using DBSCAN algorithm and generating a lot of noise 193000 of 250000 data. is that a reasonable amount?<issue_comment>username_1: I have figured it out finally, thanks,. I just want to mention the cause of this error and share my experience. The main cause ...
2018/03/20
416
1,134
<issue_start>username_0: I have this query to convert into the Active record ``` SELECT (SELECT image FROM bc_item_image WHERE item_id = i.id LIMIT 1) as item_image, i.description, i.condition,c.cat_name as category_name,i.id as ID FROM bc_item i,bc_category c WHERE i.cat_id = c.id and i.user_id !='$user_id' and i.st...
2018/03/20
1,028
3,636
<issue_start>username_0: ``` char szA[256]={0}; scanf("%[^a]%s",&szA); //failed when trailing string scanf("%[^a]|%s",&szA); //worked whatever the input ``` What does '|' mean in a format string. I cannot find official specification. Is there anyone who can give me some clue? When I input something with sever...
2018/03/20
1,646
5,589
<issue_start>username_0: I'm trying to catch my custom Error, but for some reason my catch statements where I name the error that I know is being thrown, it skips those, goes to the default catch, and then gives me a EXC\_BAD\_INSTRUCTION (code=EXC\_I386\_INVOP, subcode=0x0) when I try to do `print("Unexpected error \(...
2018/03/20
1,343
5,108
<issue_start>username_0: Using [flutter](http://flutter.io), I have installed the [firebase-auth](https://pub.dartlang.org/packages/firebase_auth) and [firestore](https://pub.dartlang.org/packages/cloud_firestore) packages and am able to both authenticate with firebase auth and make a call into firestore as long as I d...
2018/03/20
1,902
5,520
<issue_start>username_0: I create a rule ``` name: Metricbeat CPU Spike Rule type: metric_aggregation # How often ElastAlert will query Elasticsearch # The unit can be anything from weeks to seconds run_every: minutes: 1 es_host: localhost es_port: 9200 index: metricbeat-* buffer_time: hours: 1 metric_agg...
2018/03/20
1,936
6,497
<issue_start>username_0: I have been messing around to find a solution as on of my view which is created using add view from respective action in List Template is giving an exception of **System.NullReferenceException: Object reference not set to an instance of an object.** ``` Line 45: Line 46: Line 47: @forea...
2018/03/20
885
2,868
<issue_start>username_0: I am completely new to the assembly and I have some question about registers still after searching through. currently I'm trying to divide a value over and over again by doing: 1.divide ax over bl (seems that remainder goes to ah, quotient goes to al) 2.move al(quotient) to ax 3.jump to 5 i...
2018/03/20
766
2,520
<issue_start>username_0: I have tried capturing the back button action on the browser using pushstate and popstate but problem is pushstate alters the history, thus affecting the normal functioning of back button.<issue_comment>username_1: Your question basically boils down to: > > How do I move `al` to `ax`. > > >...
2018/03/20
603
1,861
<issue_start>username_0: I'm upgrading Bugzilla from 4.2.1 to 5.0.4 on Centos 6.9 The 'checksetup.pl' says I'm missing optional module Apache2::SizeLimit v 0.96, but when I do: ``` /usr/bin/perl install-module.pl Apache2::SizeLimit ``` It tells me > > Installing Apache2::SizeLimit version 0.96... > > > Apache2...
2018/03/20
506
1,709
<issue_start>username_0: I am using celery and redis as two services in my docker setup. Configuration is as below: ``` redis: image: redis:latest hostname: redis ports: - "0.0.0.0:6379:6379" command: --requirepass <PASSWORD> celeryworker: <<: *django depends_on: - redis ...
2018/03/20
502
2,223
<issue_start>username_0: In Angularjs I am trying to search in json data which i am using in html template. My input json data is as below, ``` var data = JSON.parse( '{ "Project": { "_attributes": { "gui": "ProjectGui", "p...
2018/03/20
2,164
6,018
<issue_start>username_0: Currently I am trying to create some links that look like buttons. It's working fairly well, except I want to be able to align them horizontally. This what I have so far: ```css .border { display: table; width: 220px; height: 120px; border: 2px solid #1E5034; transition: all 250...
2018/03/20
515
1,585
<issue_start>username_0: I have 2 columns named `Debit` and `Credit`. I want to get the value from one column and put in the third column, `Balance`. I want to apply a condition that if `Debit` contains any value, it should be put in the `Balance` column, and if `Credit` has something, then it should insert that value ...
2018/03/20
357
1,124
<issue_start>username_0: I want Oracle database to connect with google sheets and export data into spreadsheet. Is there any way from oracle to authentication with google and export data to Google spreadsheet Thanks in advance<issue_comment>username_1: If I understood correctly, you are looking for something like this...
2018/03/20
565
1,518
<issue_start>username_0: My Table | user\_number | user\_name | events | register\_date |         001                   ....            E01      01-01-2017         002                   ....            E01      01-01-2018         001                   ....            E02      01-01-2017         002            ...
2018/03/20
2,080
8,135
<issue_start>username_0: I am a newbie in Node.js so sorry. In my code I am using API from some service. Basically it is many callbacks. These callbacks provide values from service that i need to use in another callbacks. If it was synchronous manner then I would write as follows: ``` var value1 = 10; var value2 = 0...
2018/03/20
1,829
7,151
<issue_start>username_0: Having a class: ``` abstract class Bird ``` and a subclass, where `Fish` extends `Food`: ``` class Falcon: Bird() ``` How do I create a method that returns a `Bird`: ``` fun getBird(type: Int): Bird { if (type == SOME\_CONSTANT) { return Falcon() } else { // Another bird } } ``` G...
2018/03/20
1,804
7,111
<issue_start>username_0: how to reorder the div elements on each time the page refresh? for example- ``` [first](1.html) [second](1.html) [third](1.html) ``` i want to see reodering on page refresh like ..now the current order is 1-2-3 when i refresh it will become 2-3-1.. so each time the page refresh it will chang...
2018/03/20
287
945
<issue_start>username_0: 4 colums ``` | day of year | year | user A | user B | 1 1 john ron 2 1 ron john 1 2 john kyle ``` i need to count how many times a user appears in either UserA colum or UserB colum group by UserA colum is not succi...
2018/03/20
336
1,202
<issue_start>username_0: I imported a code from github and tried to run it on my device, and encountered this error: > > Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent....
2018/03/20
389
1,365
<issue_start>username_0: I want to redirect to an external url after some action. Please refer my code ``` this.http.get(this.apiurl+'api/insert.php?did='+this.did).subscribe(data=>{ var jsonData = data.json(); let url = jsonData.urlpass; // redirect to this url like...
2018/03/20
559
2,078
<issue_start>username_0: I have a function that accepts an arbitrary file handle and either loads all the data or allows the data to be loaded lazily *if* the object supports random access. ``` class DataLoader: def __init__(self, file): self.file = file self.headers = {} def load_data(self): ...
2018/03/20
320
1,157
<issue_start>username_0: [enter image description here](https://i.stack.imgur.com/aXYRv.png)I tried with below code, but the labels of different screens are missing and not visible in User Interface and Can you tell me how to solve this issue ``` xml version="1.0" encoding="utf-8"? ``` See below Image I am getting o...
2018/03/20
1,124
3,731
<issue_start>username_0: I'm creating a border using SASS for the rows in the '`tbody`' element, but I'm unable to remove it in a case. For example, In the 1st '`tbody`' element, `tbody` has 2 children with the class `compDetails-row`. I'm creating a border there. However, in the 2nd `tbody` element, as you can see...