date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/02
456
1,372
<issue_start>username_0: sorry im not sure how to make a working windows form demo here,i have the following windows form application that when you click on a button it adds numbers to a sequence as follows, ``` private void button2_Click(object sender, EventArgs e) { //how to call the abov...
2018/03/02
412
1,392
<issue_start>username_0: Is there any option or CSS trick to show typehead suggestions inline ( Like in SO Tags suggestions)? I tried some css ( display flex, changing width ), but not worked as i expected. This is the current result, [Fiddle](http://jsfiddle.net/L92m7Ldu/23/) [![enter image description here](https...
2018/03/02
4,905
13,464
<issue_start>username_0: I have a sample Table : ``` Month Id1 Id2 Id3 value1 value2 Dec-17 1 1 1 10 10 Jan-18 1 1 1 null null Feb-18 1 1 1 20 10 Mar-18 1 1 1 20 10 Apr-18 1 1 1 10 30 Jan-18 2 2 2 10 20 Mar-18 2 ...
2018/03/02
1,862
5,534
<issue_start>username_0: I want to add a column "index" and the value for column "index" are same when the rows have same value in column "variable".You can use Postgresql or SAS syntax. One thing is the values in column "variable" is changing each day,like tableA and tableB,so hard code is not acceptable.any advice i...
2018/03/02
524
1,776
<issue_start>username_0: We moved our application to a new server and now the session is expiring too soon (not sure about exact hours) for the logged in users. We tried many things to find out why the session is expiring in a production environment but until now we are unsuccessful. We want to put the expiration for 2...
2018/03/02
1,315
4,427
<issue_start>username_0: I have input tag html like this : ``` ``` I pass value in jquery like this : ``` function writeJSONfile() { var obj = {}; $("form#info :input").each(function(){ obj[this.id] = $(this).val(); }); var json = JSON.stringify(obj); alert("check"+json); } ``` Result...
2018/03/02
540
1,646
<issue_start>username_0: I have one ini configuration file, I need to create a shell script using this configuration. What is the easiest method to access all variable, Can be used effectively from the shell script. Can I use an array or something? Now planing to find the count of [] brackets then through awk get all...
2018/03/02
1,226
4,163
<issue_start>username_0: I would like to pad my labels so that they would be of equal length to be passed into the ctc\_loss function. Apparently, -1 is not allowed. If I were to apply padding, should the padding value be part of the labels for ctc? **Update** I have this code that converts dense labels into sparse o...
2018/03/02
807
3,191
<issue_start>username_0: I would like to set a UITextView inside `UITableViewCell`. In some methods of the TableView function I wrote the code below, however it causes the following error: > > Terminating app due to uncaught exception 'NSGenericException', > reason: 'Unable to activate constraint with anchors > an...
2018/03/02
334
1,133
<issue_start>username_0: I would like to use ActionChains function of Selenium. Below is like my codes. But It does not work when it opens right click menu. The ARROW\_DOWN and ENTER are implemented in main window not, right click menu. How can the ARROW\_DOWN and ENTER code be implemented in right click menu. Brower ...
2018/03/02
420
1,567
<issue_start>username_0: Newbie here, any help understanding is appreciated. First experience with tryparse. In this instance: ``` do { Console.Write("What is the temperature (in degrees Fahrenheit): "); outcome = double.TryParse(Console.ReadLine(), out tempf); if (outcome == false) { Console...
2018/03/02
2,492
8,269
<issue_start>username_0: **Expected Output:** - Get the Supplier Details by Entering the ZipCode as Input **Issue:** - Error showing at 3rd line of try catch block in **SupplierDetail.java** - While unmarshaling it throws the Exception. See error log > > javax.xml.bind.UnmarshalException - with linked ex...
2018/03/02
417
1,447
<issue_start>username_0: Code used: ``` def fn(x): for i in x: x=x.replace('Wood','Wooden') return x test['Coming:'] = test['Column:'].apply(fn) ``` Sample output: ``` Column: Coming: Needed: Wood Wooden Wooden Wooden Woode...
2018/03/02
295
1,130
<issue_start>username_0: Hello i want to validate that user can enter only digits and the digit may be a integer or decimal but not alphabets just decimal no how can i write the regular expression for this. help me thank you<issue_comment>username_1: From msdn : > > `Double.TryParse` Converts the string representatio...
2018/03/02
399
1,460
<issue_start>username_0: I tried with node-schedule package [<https://www.npmjs.com/package/node-schedule][1]> ``` var schedule = require('node-schedule'); var j = schedule.scheduleJob('42 * * * *', function(){ console.log('The answer to life, the universe, and everything!'); }); ``` But if I schedule for 10 minu...
2018/03/02
451
1,602
<issue_start>username_0: I am trying to get a "docker-entrypoint-initdb.d" script running. The scripts do get copied into the right folder: "/docker-entrypoint-initdb.d", but it does not execute. Am I missing something? I thought that files in the "/docker-entrypoint-initdb.d" get executed automatically. Please note t...
2018/03/02
1,127
4,100
<issue_start>username_0: I'm getting this error while I'm trying to create `ErpConfigContext`. Does anyone have any ideas why this is happening? Code snippet: ``` @Bean public ErpConfigContext erpConfigContext() { return new ErpConfigContext("S4HANA_CLOUD"); } ``` Stacktrace: ``` *Caused by: org.springframe...
2018/03/02
329
1,242
<issue_start>username_0: suppose i have a project named dummyCode.sln, now when i compile the project i would get a dll named dummyCode.dll. How can i read this DLL using c# and get the information of my web.config **for example if i have a web.config like this** ``` ``` then i want to read al the values found ins...
2018/03/02
323
1,225
<issue_start>username_0: I have a dataset with many dates in them. I want to categorize these dates into a new column that organizes them by decade (1980s, 1990s, etc). I have a good idea on how to use IF, AND, and ELSE statements to accomplish this, but I don't know how to have SAS extract the year and only the year...
2018/03/02
432
1,681
<issue_start>username_0: I am a software developer so I have quite a lot of reading to do on hardware. My questions is this : My goal is to create an RFID tag that has dynamic data. So I plan to use a microcontroller to be the processor and input data to an RFID module. I have did some research on RFID in general, is ...
2018/03/02
598
1,802
<issue_start>username_0: I would like to know how could I assign a table row an id which is systematically as a counter. It can be a string + a counter as follow: ``` | # it can be only a number => id="1" | # it can be only a number => id="2" | # it can be only a number => id="3" ..... | # it can be only a number...
2018/03/02
593
2,294
<issue_start>username_0: I have deployed my javascript desktop notification code on the web server but it is not working. It's working on my localhost properly. Can somebody help me out? JavaScript Snippet ``` function showNotifaication() { if (!("Notification" in window)) { alert("Desktop notifications i...
2018/03/02
350
1,350
<issue_start>username_0: ``` Dim oExcel As Excel.ApplicationClass = New Excel.ApplicationClass Dim objWS As New Microsoft.Office.Interop.Excel.Worksheet Dim oBook As Excel.WorkbookClass Dim oBooks As Excel.WorkbookClass 'Start Excel and open the workbook. oE...
2018/03/02
1,048
3,287
<issue_start>username_0: I am using `python 2.7.6` and trying to import pandas but Jupyter notebook gives me following > > error-- > > > ImportError Traceback (most recent call > last) in () > ----> 1 import pandas > > > /usr/local/lib/python2.7/dist-packages/pandas/**init**.py in > () > 21 > 22 # numpy c...
2018/03/02
1,391
4,351
<issue_start>username_0: Say that I have 100 tweets. In those tweets, I need to extract: 1) food names, and 2) beverage names. **Example of tweet:** > > "Yesterday I had a coca cola, and a hot dog for lunch, and some bana split for desert. I liked the coke, but the banana in the banana split dessert was ripe"...
2018/03/02
596
2,374
<issue_start>username_0: I need to set footer which has image and text on all pages. I have used react native TabNavigator. The issue is footer text was shown in Uppercase and also the background color doesn't change and unable to set image in the footer. ``` { tabBarPosition: 'bottom', tabBarOptions: { acti...
2018/03/02
1,609
7,424
<issue_start>username_0: How do I add the new claims in such a way that they persist through requests until the cookie expires? I am using OWIN middle ware, on-premises authentication to authenticate the users logging into the system. The sign-in part is successful, and I added Roles to the user claims provided by th...
2018/03/02
623
2,143
<issue_start>username_0: I am new at `Swift`. I am creating my own framework that will use `Firebase` for in-app messages. I tried to install `Firebase` through `Cocoa` pods, but it has issues: when I do that for my framework, then for sample project I have to install Firebase again. And then I get the numbers of warn...
2018/03/02
322
1,109
<issue_start>username_0: ``` check = {v: [j for j, p in enumerate(expression) if p == v] for v in var} ``` In this case, `expression` is a string and `var` is a list. I'm having trouble in understanding what is happening here, if anyone could help that would be very helpful!<issue_comment>username_1: see the expressi...
2018/03/02
640
2,579
<issue_start>username_0: In my MQL4 expert advisor I need to check this code before it is executing, weather it is correct or not. Is there a way to use a **`try/catch`** blocks for this? It is written in C language. ``` OrderSelect( i, SELECT_BY_POS ); if ( OrderType() == OP_SELL ){ OrderClose( OrderTicket(), ...
2018/03/02
677
2,632
<issue_start>username_0: Please consider the following HTML code: ``` 1. aaaa - aaaa - aaaa - aaaa 3. aaaa ``` Is this legit? Although the specs says no, [link](https://www.w3.org/TR/html52/grouping-content.html#the-ol-element), but the code seems to behave perfect under Chrome and Safari. What would be the...
2018/03/02
753
2,834
<issue_start>username_0: I am having difficulty running the below simple script from crontab: ``` #!/bin/bash notify-send "battery.sh working" ``` The permissions of the file are `rwxr-xr-x` and its running fine with either of the commands `bash battery.sh` and `sh battery.sh`. In my crontab, I have tried running i...
2018/03/02
1,250
4,043
<issue_start>username_0: I am following a youtube video on setting up Nginx I'm restarting, it gives when I got the part where I need to edit the server blocks file (`sites-enabled/default`) I followed exactly what they did in the video, but when saved and tried to restart: `sudo service nginx restart` I got this err...
2018/03/02
944
2,916
<issue_start>username_0: ``` FATAL: Remote call on Harris MacBook Pro failed java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTree$UnixReflection at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:647) at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java...
2018/03/02
707
2,265
<issue_start>username_0: I want to get current time specifically in English to save it in Database, to get Current time i use function ``` private String get_current_Time() { String CURRENT_TIME_FORMAT = "yyyy_MM_dd_HH_hh_mm_ss_a_MMMM_MMM_EEEE_EE"; return (String) DateFormat.format(CURRENT_TIME_FORMAT, Calendar.ge...
2018/03/02
785
3,185
<issue_start>username_0: I'm new to sagemaker. I'm trying to figure out how to perform A/B testing using AWS sagemaker. I understand setting the train\_instance\_count will distribute the training across two instances. But how do I specify the set the percentage of inference calls each model will handle and perform A/B...
2018/03/02
565
2,030
<issue_start>username_0: I noted that docplayer.net embeds many pdfs. Example: <http://docplayer.net/72489212-Excellence-in-prevention-descriptions-of-the-prevention-programs-and-strategies-with-the-greatest-evidence-of-success.html> However, how does the process of extracting these pdfs (i.e. downloading them) using ...
2018/03/02
2,150
7,220
<issue_start>username_0: I just upgraded to postgres 10.2 on mac os which matches 10.2 on heroku. I'm trying to download a copy of the database and restore it locally. Before the upgrade the restore would work fine. I run ``` pg_restore --verbose --clean --no-acl --no-owner -h localhost -d database_name backup.dump ...
2018/03/02
813
2,964
<issue_start>username_0: I am testing rest controller. Here is test code: ``` mockMvc.perform(get("/index/get-all")) .andExpect(status().isOk()) .andDo(print()) .andExpect(jsonPath("$",hasSize(2))); ``` I get response body: ``` Body = [{"id":"123"},{"id":"1234"}] ```...
2018/03/02
612
2,120
<issue_start>username_0: I am working in an app where I have a recycle view to show input words from a user. I want it to look like ``` word1 - word2 longer word1 - word3 ``` but I get ``` word1 - word2 longer word1 - word3. ``` I have tried to put three textviews and use them in the recycle view, but...
2018/03/02
388
1,248
<issue_start>username_0: I am displaying values in an HTML table such as ``` | | | | --- | --- | | {{i}} {{ employee.name }} | {{ employee.address }} | ``` What I need is that in the employee.name cell there should be 0 space for first employee, one space for 2nd employee, 2 spaces for 3rd employee and so on. S...
2018/03/02
592
1,498
<issue_start>username_0: I have this work which I have to do by creating a sub-matrix out of a given data set. I will explain it below. Suppose, I have the data set as: ``` 100 200 300 400 500 600 101 201 301 401 501 601 102 202 302 402 502 602 ``` So, I want to create sub-matrices as follows: For t...
2018/03/02
1,339
3,814
<issue_start>username_0: I have [this](https://www.hackerearth.com/challenge/college/hbc-2018-semi-finals/algorithm/d03a689c4cec4ec393a6e5df79e8b322/) problem from hackerearth > > Given an array of N integers, C cards and S sum. Each card can be used > either to increment or decrement an integer in the given array b...
2018/03/02
729
3,074
<issue_start>username_0: I have an asp.net project on framework 4.6.1. HttpContext.Current is fine in normal flow. But if I use Response.Redirect "Extension" method HttpContext.Current is null there. For normal Response.Redirect it's working fine. I have applied different solutions like checked it without async/await ...
2018/03/02
649
2,439
<issue_start>username_0: I want to make a function which accepts the desired return type as parameter and which should conform to my custom protocol. Below is my code from playground. ``` protocol InitFunctionsAvailable { func custom(with: Array) } class model1: InitFunctionsAvailable { var array: Array! func...
2018/03/02
395
1,103
<issue_start>username_0: I am trying to get set difference between two sets as follows: ``` val set1 = Set(1, 2, 3, 4, 5) // gives: scala.collection.immutable.Set[Int] val set2 = Set(0 until 10) // gives: scala.collection.immutable.Set[scala.collection.immutable.Range] ``` However, the following gives error: ``` ...
2018/03/02
1,078
4,110
<issue_start>username_0: I have been making search bars without navigation on the imageView. The search bar height is fixed but i want to change the search bar height. so i tried ``` let frame = CGRect(x: 0, y: 0, width: 100, height: 44) searchbar.frame = frame ``` and ``` searchbar.heightAnchor.constraint(equa...
2018/03/02
2,022
7,217
<issue_start>username_0: I wrote a function in javascript. It works perfectly to show and hide list items on click action. I have other 5 lists items that I want to use this function for them also. However, When I tried to generalize the function by passing parameters as IDs it did not work. the following part of the...
2018/03/02
999
3,332
<issue_start>username_0: Hive 2.1 I have following table definition : ``` CREATE EXTERNAL TABLE table_snappy ( a STRING, b INT) PARTITIONED BY (c STRING) ROW FORMAT SERDE 'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFo...
2018/03/02
1,200
4,668
<issue_start>username_0: I wanted to write a program to fetch tweets from Twitter and then do sentiment analysis. I wrote the following code and got the error even after importing all the necessary libraries. I'm relatively new to data science, so please help me. I could not understand the reason for this error: ``` ...
2018/03/02
592
2,027
<issue_start>username_0: I would like to write the decimal value data from the database in a desired format (Format 1000145,14563 => 100.014.5,146) You will see what I'm trying to do. I will be glad if you help me. I have the fields to fill and fill in the pictures ``` query.ForEach(item => { var a= stri...
2018/03/02
1,240
4,590
<issue_start>username_0: I have an table view with three cell which contains the label and one image (check box).Now when ever i select any cell.That particular cell image (check box) alone needs to get `tick.png`. And remaining two cell image should be `untick.png`. But now if i select first cell then the first cel i...
2018/03/02
965
3,620
<issue_start>username_0: i have a lookup component in `AngularJS 4` which updated a hidden `id` after selecting a value. I tried to add `(onModelChange)` and `(change)` event handlers to get change event when that hidden field get updated but either didn't work. Here is my html : ``` ``` I am not sure that change e...
2018/03/02
887
2,766
<issue_start>username_0: I have a post page where I want advertisement will appear in center by the help of php, but what I'm saying, is it possible that i can divide single post into to parts and the second part will continue after ads similar to screenshot. [![screenshot](https://i.stack.imgur.com/CKP31.png)](https:...
2018/03/02
728
2,393
<issue_start>username_0: I have worked with Wordpress for a couple of months and I have create a new theme for each project always, it is a manual process (creating templates files, function.php, style.css, import bootstrap.css, jquery, etc...). I don't know what is the best approach for it because it is a new design f...
2018/03/02
471
1,707
<issue_start>username_0: I am trying to teach myself javascript while fixing someone elses programme. I have a foreach statement which I want to have two confitional elements, how do I structure this as the code I am using is returning an error ``` @foreach (var item in Model.Journals.Where(m => m.ProcedureId != null ...
2018/03/02
290
957
<issue_start>username_0: So, when the app start, it shows correct [![enter image description here](https://i.stack.imgur.com/xfEEk.png)](https://i.stack.imgur.com/xfEEk.png) but when the search bar clicked, it goes like this [![enter image description here](https://i.stack.imgur.com/lDyiZ.png)](https://i.stack.imgur.c...
2018/03/02
1,506
5,884
<issue_start>username_0: I have node-red service installed on a PC , Once Node-RED is running, I am pointing to a local browser at http://localhost:1880. Now I want to access it from another PC which is in different network. I have gone through and [this link](https://nodered.org/docs/getting-started/first-flow) .[![th...
2018/03/02
332
1,416
<issue_start>username_0: I tried to do USB debugging on my mac samsung galaxy a8 and redmi n4 what should I do? I have the USB debugging enabled on both the phones but the Android Studio is not detecting them please help me!!<issue_comment>username_1: It could be your USB cable as there are two types of USB cables on...
2018/03/02
221
672
<issue_start>username_0: So lets say I have this table: There are a couple things I want to do. [![enter image description here](https://i.stack.imgur.com/29tf8.jpg)](https://i.stack.imgur.com/29tf8.jpg)<issue_comment>username_1: Use an update: ``` UPDATE yourTable SET PRICE = -1.0*PRICE WHERE SIDE = 'SELL'; ``` Upv...
2018/03/02
365
1,277
<issue_start>username_0: How do you call an ID that was created through js using a function, but wasn't part of the initial html ``` var topic1 = document.createElement("div") document.body.appendChild(topic1) ``` we tried using an eventlistener ``` var ff15 = document.getElementById("topic1") if(ff15){ ff15.ad...
2018/03/02
2,631
6,599
<issue_start>username_0: I have an array: ``` x = np.array([[1, 2, 3], [4, 5, 6]]) ``` and I want to create another array of `shape=(1, 1)` and `dtype=np.object` whose only element is x. I've tried this code: ``` a = np.array([[x]], dtype=np.object) ``` but it produces an array of shape `(1, 1, 2, 3)`. Of cours...
2018/03/02
537
1,673
<issue_start>username_0: So I want to do some validation on user input. If the user enters a number from 1-10, I want to append a `0` preceding it. E.g if a user enters `4` I want to store in a variable the value `04`. I know how to do this in C# but struggling to achieve it in TypeScript. I have attached the C# code t...
2018/03/02
875
3,888
<issue_start>username_0: I’m using Advanced Installer 14.6 and have following requirement for my application’s uninstaller:- 1) If user does an uninstall, it completely removes away the application’s folder from Program Files, including all files in the folder. 2) If the Update process is invoked, then save the confi...
2018/03/02
687
2,462
<issue_start>username_0: Trying to push route change from within the store. I tried importing `router` into the store itself and then doing something along the lines of: ``` LOG_OUT({commit}){ commit('LOG_OUT__MUTATION'); router.push({ name: 'Login' }) } ``` ... but that didn't work. I also don't want to...
2018/03/02
280
1,059
<issue_start>username_0: I am using yarn for my project. My project has a dependency which happened to be a subpackage of larger monorepo maintained by lerna. The subpackage was updated but not published yet and I need that unpublished code. Is there any way to install lerna's subpackage via git url? Thanks.<issue_com...
2018/03/02
1,427
6,457
<issue_start>username_0: We know that anonymous inner class may cause memory leak. But Why it does't work when asynchronous network call. For example: ``` OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .get() .url(url) .build(); ...
2018/03/02
1,283
5,721
<issue_start>username_0: Is there any special configuration required for connecting amazon rds mysql database with a spring boot application which is deployed on PCF(Pivotal Cloud Foundry). when i try to bind via auto-configuration i get error stating unable to acquire jdbc connection.<issue_comment>username_1: Yes you...
2018/03/02
1,751
6,618
<issue_start>username_0: What I've been trying is to process API calls sequentially, which are pushed into an array. ``` function resolveApi(callback) { return new Promise(function(resolve, reject) { resolve(callback) }); } function callApi(){ var promises = []; promises.push(resolveApi(Restangular.one("ap...
2018/03/02
2,857
9,193
<issue_start>username_0: I want the value in variable a to be displayed in the div id "final-total" Here is my index.php ``` | Code | Qty | Item | Rate | Total | | --- | --- | --- | --- | --- | | | | | | | | **Total:** | | ``` Here is my js/global.js ``` $('input#code1').on('input', function(){ var name = $(...
2018/03/02
484
1,640
<issue_start>username_0: If x is 0, 0 is printed. If y is 0, we get an error. Why is this? The only thing I can think of is that the order in which the Boolean expression is compiled matters. If x is 0 then we get (false)&&(error value) where false is on the left side, and if y is 0 then we get (error value)&&(false)....
2018/03/02
569
2,027
<issue_start>username_0: **Anyone Give me solution on how to put the $location variable to jscript to get the location on Google Map. And what should be the value of location (location name or postal code ) .** Here is the code : ``` php $location=$_GET["clocation"]; //fetched clocation from database in previous page...
2018/03/02
978
3,558
<issue_start>username_0: I am using [qrcode](https://github.com/lincolnloop/python-qrcode) to generate qrcode. When a ticket is bought, or when bought is true, I would like to generate a qrcode image and make some changes using PIL. Finally save the modified canvas into the Image field of the model. ``` class Ticket(m...
2018/03/02
1,073
4,119
<issue_start>username_0: I had built a mobile app which consists of 2 activity as shown in the figure below. It can let the user choose for go to main activity or the second activity Main activity let user to send text to the second activity. Second Activity let user to recieve text from main activity. Can somebody t...
2018/03/02
2,320
6,931
<issue_start>username_0: Below is an extract of my Excel data ``` A 20160101 A 20160104 A 20160105 A 20160106 A 20160107 AA 20160108 AA 20160111 AA 20160112 AA 20160113 AA 20160114 AA 20160115 AA 20160118 AB 20160119 AB 20160120 AB 20160121 AB 20160122 AB 20160125 AB 20160126 AB 20160127 AB 20...
2018/03/02
1,063
3,923
<issue_start>username_0: What I want to do is to be able to programmatically scale a page up or down and the tricky part is that I want the media queries to be scaled at the same rate as well. So if I scale up everything in a page by a factor of 2, a media query that used to fire at 400px should now fire at 800px. *...
2018/03/02
756
2,699
<issue_start>username_0: When I open activity, directly time picker is opening but I don't want this. So I have added this line in my layout `android:focusable="false"`. Now time picker is not opening while opening activity. My requirement is, In the activity when the user submits the details, I have done some valida...
2018/03/02
1,343
3,555
<issue_start>username_0: I have 31 inputs files with named from `date=2018-01-01` till `date=2018-01-31`. I am able to load all these files into an rdd this way: ``` val input = sc.textFile("hdfs://user/cloudera/date=*") ``` But what if I want to load the files for only 1 week? (files from date=2018-01-15 to date=2...
2018/03/02
577
2,510
<issue_start>username_0: In this given example, AbstractAnimal has lots of implementations outside the framework. The framework, however, is refactored so that now WalkingAnimals exist. It's intended that Dog, amongst all other animals, will now inherit WalkingAnimal instead. For the sake of example, there are no anima...
2018/03/02
372
1,596
<issue_start>username_0: I want to run my `NGINX` project on Windows using `laravel` framework. But trying to do that I only find tutorials about either how to connect `laravel` with `NGINX` on `Ubuntu` or installing `laravel` framework on Windows with `xampp server`. Is it possible to use `NGINX + Laravel` on Windows?...
2018/03/02
284
1,179
<issue_start>username_0: I would like to retrieve the value inside a Text. Here is my example: ``` {"Zip\_Code":"94941"} ``` How can I easily get the result `94941` from the above string value?<issue_comment>username_1: What you could do is add an abstract dummy method to `AbstractAnimal` called `youShouldNotExtendA...
2018/03/02
294
906
<issue_start>username_0: [![enter image description here](https://i.stack.imgur.com/ovWZO.png)](https://i.stack.imgur.com/ovWZO.png) I have upgraded the laravel from 5.5 to 5.6 and try to install laravel/socialite but there is error. Composer.json [![enter image description here](https://i.stack.imgur.com/gPFrP.png)...
2018/03/02
240
999
<issue_start>username_0: I know this sounds odd but I have a special situation where I need to create an xml (actually this won't be an xml document anymore because of the different closing tag) where the root opening tag is different from the root closing tag. Like: ``` ``` Again I know this is not right but as I h...
2018/03/02
560
1,803
<issue_start>username_0: Im trying to select filtered rows into a range variable `xRange`. I need to have some operations on that range. Before filtering there was 10000+ rows. After filtering it is 5000 rows. So after filtering I tried this to get the filtered range which is not working as I expected. ``` With Sheets...
2018/03/02
552
2,001
<issue_start>username_0: I just started java.util.regex topic. I could execute the following code and getting the satisfactory results. I have used infinite loop in the code and trying to break by giving a condition. However it is not breaking somehow. Any thoughts? ``` import java.util.Scanner; import java.util.regex...
2018/03/02
443
1,173
<issue_start>username_0: If you write like ``` n = str(input()) n = n.split() print(n) ``` That will work. But if you try to do it with integers, you will get ``` `Value Error`. ``` How to do it with int type?<issue_comment>username_1: You can do that like this, ``` n = 567 a = str(n).split(YOUR DELIMITER) ``...
2018/03/02
868
3,561
<issue_start>username_0: I'm using the Google People API to access my contacts. I activated it in the Google Developers Console and created a project, a service account (ending with `....iam.gserviceaccount.com`) and a key for authentication which is stored in JSON format. When I access the contacts, it seems to take...
2018/03/02
3,366
8,982
<issue_start>username_0: My ggplot has the following legend: [![enter image description here](https://i.stack.imgur.com/PmJp3.png)](https://i.stack.imgur.com/PmJp3.png) I want to group my individual legend variables, and add the group names and "brackets" like shown in legend below: [![enter image description he...
2018/03/02
391
1,352
<issue_start>username_0: Hy All, I'm creating a layout for a database, and made a big canvas which are the lines, spawning smaller canvas inside them (as cells) to contain labels for the data. It looks nice, but the problem is, that due to this "mass-creation" of canvas and label widgets, none of them stays uniqly addr...
2018/03/02
814
2,844
<issue_start>username_0: Trying to implement a correct Repository pattern with Entity Framework, I'm stumbling over some issues with let statements. What I want to do is: ``` var customer = (from cus in Customers.GetAll() let brokerExists = InsuredBrokers.GetAll().Any(ib => ib.INS_Id == cus.INS_Id) ...
2018/03/02
1,067
4,136
<issue_start>username_0: I have my rails app and trying to add authority by adding a method made with gem called cancancan. so there are two methods below. ``` def find_review @review = Review.find(params[:id]) end def authorize_user! unless can? :manage, @review redirect_to product_path(@review.product...
2018/03/02
448
1,576
<issue_start>username_0: I use Kafka Quotas to limit producers (0.10.2.1). But now I want to know when and which user reaches the limit. Is there a JMX metric or log entry which tells me information about violation?<issue_comment>username_1: On the page [Monitoring Kafka](https://docs.confluent.io/current/kafka/monito...
2018/03/02
1,386
4,837
<issue_start>username_0: **Situation:** I have installed [Jasper Reports Library](https://community.jaspersoft.com/project/jasperreports-library/releases) (V6.5.1) on my local Linux server which generates PDF reports (Data is dumped in a temp Oracle DB table for the reporting engine). It then serves this PDF back to ...
2018/03/02
1,531
5,091
<issue_start>username_0: **Hello. im having this code:** ``` public function parse_reports($filename) { $result = array(); $fp = fopen($filename, "r"); if (($headers = fgetcsv($fp, 0, "\t")) !== FALSE) if ($headers) while (($line = fgetcsv($fp, 0, "\t")) !== FALSE) if ($line) ...
2018/03/02
778
2,701
<issue_start>username_0: Consider I have a bunch pointers to to different objects of different classes ``` class1* obj1; class2* obj2; class3* obj3; ``` and they all have one method `getArray()` which returns a vector for post processing. if all of these pointers are stored in some sort of a list (a list of void p...
2018/03/02
690
2,092
<issue_start>username_0: I unable to find a solution to my problem, I think it has something to do with overloading functions but I can't seem to figure out how to resolve it. here is my function.cpp ``` #include "CountLetter.h" int Countletter(string sentence, char letter) { int size = sentence.length(); int...
2018/03/02
983
3,431
<issue_start>username_0: I'm trying to use `react-bootstrap` breadcrumb as below. ``` Home Products {productName} ``` As you can expect, `products` Link will render anchor tag inside another anchor tag, which is invalid markup. But `Home` creates a simple anchor tag instead of react's `Link` making the page to r...
2018/03/02
704
2,522
<issue_start>username_0: how to debug Symfony 4 project on production environment? I mean in a way that only I from particular IP can do it. In Symfony 2/3 I have app\_dev.php controller. How to do this with Symfony 4 and Apache? If I change in .env or via VirtualHost APP\_ENV to dev then all app users will see debug t...
2018/03/02
668
1,837
<issue_start>username_0: I know that using of it probably make no sense, but I'm interested in why it works this way. Why it starts from 4 ? Why it doesn't include 10 ? Why we are out of range ? ``` n=[2, 3, 4, 7, 9, 10] for a in n: print (n[a]) ``` --- ``` Output 4 7 9 Traceback (most recent call last): Fil...
2018/03/02
4,886
17,551
<issue_start>username_0: I have good experience in android app development using java. Recently I came to know about flutter. So, I have tried to create a simple android app with flutter based on official [tutorial](https://flutter.io/get-started/codelab/). But surprisingly the debug app size is 25MB and release apk co...