date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/02/26
621
2,383
<issue_start>username_0: ``` const path = require('path'); var webpack = require('webpack'), ExtractTextPlugin = require("extract-text-webpack-plugin"); var nodeExternals = require('webpack-node-externals'); const CssEntryPlugin = require("css-entry-webpack-plugin"); module.exports = { entry: { index:...
2018/02/26
467
1,605
<issue_start>username_0: I have 2 tables, with a bunch of supplier ports in them, some more fields than in the 2 screenshots but the important fields are the 3 here, supplier no, port code and port active. I would like to compare there 2 tables in 3 different ways: 1. What does table 1 have, that table 2 does not hav...
2018/02/26
720
2,840
<issue_start>username_0: I've lost my sunday trying to understand what is going wrong with my https calls. This is my code to make a call to a https rest service: ``` String url = AppUtils.env.getValue()+"announcementsservice/getYears"; StringRequest request = new StringRequest(Request.Method.GET, url, new Respons...
2018/02/26
424
1,530
<issue_start>username_0: Goal: I want to replace a string with content of file which has unix code. What I'm trying to do is: First: I'm storing the contents of file to a variable ``` variable=`cat sample.sh` variable2="$(sed -z 's:\n:\\\n:g;$s:\\\n$::'<<<"$variable")" ``` and then using that variable in sed com...
2018/02/26
3,349
12,756
<issue_start>username_0: I have a java code as HomeBaseAdapter.java As a additional feature I have to enable a onclick listener as well as other functionalities of java class like image slider etc: Here in Case:1 the article layout is being coded. Here i want image slider to be displayed with an onclick listener for t...
2018/02/26
1,503
4,527
<issue_start>username_0: I'm creating an application that records a phone call. I did use Android's `AudioSource.MIC`, `AudioSource.VOICE_COMMUNICATION`, `AudioSource.VOICE_CALL` and `AudioSource.VOICE_DOWNLINK` but all I hear is from the outgoing side. And When i use `AudioSource.Voice_DOWNLINK`, like below occurs ...
2018/02/26
1,224
3,086
<issue_start>username_0: ```js var numerList = [1, 3, 7, 2, 4, 16, 22, 23]; var evenNoLst = numerList.map(function(no) { return ((no % 2) === 0); }); console.log(evenNoLst) ``` Above code for me is creating a map of even numbers, now I also want to have odd number list. Do I need to traverse through number list ...
2018/02/26
483
1,357
<issue_start>username_0: We use a structure below. ``` struct S { int i; int *p; }; ``` Main process: ``` int main() { S s; int *p = &s.i p[0] = 4; p[1] = 3; printf("p[0]=%d\n", p[0]); printf("p[1]=%d\n", p[1]); s.p = p; s.p[0] = 1; s.p[1] = 2; printf("p[0]=%d\n", p...
2018/02/26
621
2,034
<issue_start>username_0: I would like to find difference between installed xyz-1.0.rpm & latest available xyz-1.1.rpm on repository. Also would like to find out any file change happened in new rpm. How can I do that? please help. Thanks<issue_comment>username_1: yum check-update This command allows you to determine w...
2018/02/26
592
2,167
<issue_start>username_0: I need to apply additional logic (like mapping, conditionals, aggregating) to entities I get from Datomic. I had hard time translating it to Datomic query (I'm not sure if it's even possible in my case), which is why I used datomic's raw index access instead, so the most work and logic is done ...
2018/02/26
382
1,408
<issue_start>username_0: I am having a problem with webpack/vue-cli when compiling styles from Sass with imports from node modules. I cannot find a way to resolve `@imports` from `node_module` in sass correctly. ```css @import '~bootstrap/dist/css/bootstrap.min.css'; // not working, cannot resolve path (sass-loader ...
2018/02/26
620
2,179
<issue_start>username_0: I have a java package with specialized operations. Specialized in the sense that they are rarely used and i don't want to have them be mixed with normal logging. I know that adding `logging.file=myapplication.log` will redirect the logging to this file but is there a way to specify only loggi...
2018/02/26
275
1,041
<issue_start>username_0: Is there any way to convert **Qt**'s **QML** code to **C++**? For me it is easier to read C++ since I have not got any experience in **QML** yet.<issue_comment>username_1: No, unfortunately it's not possible to use Qt Quick without writing any QML. (Even though people like me have been asking f...
2018/02/26
529
2,020
<issue_start>username_0: I have a basic question about JSF ManagedBeans for which I can't find a answer. Suppose I have a bean `MyBean` with two methods `method1` and `method2` and a JSF page with a command link ``` ``` Is it possible for someone to analyse the source code of the page and call `method2` instead of...
2018/02/26
687
2,553
<issue_start>username_0: how do i enable background-image css inline style? I've set these config, but still doesn't work; ``` $config->set('Core.Encoding', 'UTF-8'); $config->set('HTML.Doctype', 'HTML 4.01 Transitional'); $config->set('URI.AllowedSchemes', array('http' => true, 'https' => true)); $config->set('CSS.P...
2018/02/26
524
2,067
<issue_start>username_0: I am trying to understand OpenMP a bit, but I am confused how I am allowed to enter variables in num\_threads() when it is a part of a #pragma which is a place to give information to the compiler. I was expecting it would not allow variables as a parameter to the num\_threads but looks like I a...
2018/02/26
660
2,503
<issue_start>username_0: I can load image path to imageView using Glide in this code: ``` GlideApp.with(context) .load(imagePath) .diskCacheStrategy(DiskCacheStrategy.ALL) .transition(withCrossFade()) .into(imageView); ``` **I do not want to load previo...
2018/02/26
332
1,038
<issue_start>username_0: i have a string in the format ["gated","gas"] i want this to be in the format as : gated,gas. for this i have used str\_replace function and i also get the required output but i want some alternate to do this task. ``` $newArray['Ameneties'] = ["gated","gas"] this is a string not an array $a...
2018/02/26
1,385
4,394
<issue_start>username_0: ``` $ ssh-keygen --help ssh-keygen: unrecognized option: - usage: ssh-keygen [-q] [-b bits] [-t dsa | ecdsa | ed25519 | rsa] [-N new_passphrase] [-C comment] [-f output_keyfile] ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile] ssh-keygen -i [-m key_format] ...
2018/02/26
1,167
3,639
<issue_start>username_0: I'm having hard time converting a given local date (which is in IST) to GMT using Java 8 classes [LocalDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDateTime.html) and [ZonedDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/ZonedDateTime.html). Consider the fol...
2018/02/26
954
2,957
<issue_start>username_0: There are the two tables `Client` and `Stock`: ``` Table Client Column IDC (primary key, int, not null) Table Stock Column IDS (primary key, int, not null) Column IDC (int, not null) Column Type (bit, not null) Column Issued (bit, not null) Co...
2018/02/26
2,172
6,419
<issue_start>username_0: OK, I'm stuck on something seemingly simple. I am trying to convert a number to base 26 (ie. 3 = C, 27 = AA, ect.). I am guessing my problem has to do with not having a 0 in the model? Not sure. But if you run the code, you will see that numbers 52, 104 and especially numbers around 676 are rea...
2018/02/26
1,537
4,340
<issue_start>username_0: I would like to know the code ASCII for the caracter like: '•' ,'■'for database Oracle (Oracle Form)<issue_comment>username_1: The problem when converting to Excel’s “base 26” is that for Excel, a number `ZZ` is actually `26 * 26**1 + 26 * 26**0 = 702` while normal base 26 number systems would ...
2018/02/26
429
1,453
<issue_start>username_0: i have the simple code below and when i run it the element is Aligned to the center but when i open it in a window and use document.write it goes without the defined style/alignment ``` This is a p element This is also a p element. This is also a p element - Click the button to open a...
2018/02/26
1,182
4,296
<issue_start>username_0: I'm working with university project. I have working REST API with spring boot and a angularJs front end. this is my working part of the angularJs. HomeService.js ``` this.getDeviceList = function getDeviceList(){ return $http.get(REST_SERVICE_URI + '/get_device_list') } this.getPeriphe...
2018/02/26
1,256
4,079
<issue_start>username_0: I am building a simple rgba selector which allows users to toggle the individual values via the arrow-up and arrow-down keys. Below is a snippet of my code. ``` class App extends Component { constructor(){ super(); this.state = { red: 0, green: 200, blue: 0, opacity: 1, }; th...
2018/02/26
1,104
3,657
<issue_start>username_0: I am trying to install NLTK in my tensorflow environment of Anaconda. I have used the command "conda install nltk" for my windows 7 pc. It gives the following error: ``` CondaHTTPError: HTTP 000 CONNECTION FAILED for url Elapsed: - An HTTP error occurred when trying to retrieve this URL. ...
2018/02/26
624
1,874
<issue_start>username_0: Decimal and Grouping separator are not correct: ``` func setAmountString (amountValue: Int, isoCodeStr: String) { let formatter = NumberFormatter() formatter.currencyCode = isoCodeStr formatter.numberStyle = NumberFormatter.Style.currencyISOCode if let formatterStr: String = ...
2018/02/26
744
2,311
<issue_start>username_0: I'm trying to make a simple table where every columns (textboxes) has it own percentage, but i couldn't calculate the percentage ``` void Main() { double column1 = 0.0; double column2 = 0.0; double column3 = 0.0; Console.WriteLine( ((column1 * 20) / 100).ToString(),colum...
2018/02/26
811
2,831
<issue_start>username_0: I am trying to switch between check and uncheck box when user select the boxes or unselect the box . For that i am using : ``` ``` > > isItemSelected(item) return true or false > > > But, i cannot see the check box icon changing even on the ui true and false value is passed from the ty...
2018/02/26
551
2,099
<issue_start>username_0: I want my iOS Application reading data from a specific path like: `/Users/you/Desktop/test.zip` (around 4GB) but it throw an error saying that `File do not exitsts`. So what can I do to make my iOS Application can read data from that path? Basically I don't want to drag and drop `test.zip` ...
2018/02/26
693
2,980
<issue_start>username_0: Summary: In a hard fault, where can I put out the debug information? * EEPROM via SPI? * UART? * USB? Details: I have the problem that the error handler gets triggered once a while, not reproducible. I suspect it is a hard fault as with the Error\_Handler() I do print out something to the U...
2018/02/26
554
2,393
<issue_start>username_0: I am learning Angular 5 while going through the component interaction part I came across this part ``` // Redefine `seconds()` to get from the `CountdownTimerComponent.seconds` ... // but wait a tick first to avoid one-time devMode // unidirectional-data-flow-violation error setTimeout(() => t...
2018/02/26
537
1,829
<issue_start>username_0: I have to calculate the distance/similarity of two or more texts. Some texts are genuinely really small or do not form proper english words etc, "A1024515". This means that it should accept every single word in the list. As a test case, I have used the following list as a corpus of words. `...
2018/02/26
941
3,502
<issue_start>username_0: I'm fairly new to node and making a web-app in which I use passport to authenticate and then store the user using firebase authentication by a custom token. and now i want to perform a lookup and check if the user is registered with my app. So is there is a way to check for a specific user (l...
2018/02/26
6,510
17,051
<issue_start>username_0: I create table in Cassandra, and row cache is enabled, but enable it does not improve the query performance, query latency is not changed at all. Cassandra version: 3.11.1 config: row\_cache\_size\_in\_mb: 10240 row\_cache\_save\_period: 3600 ``` table schema: CREATE TABLE worldscope.test_10 ...
2018/02/26
1,970
4,774
<issue_start>username_0: I have the following data: ``` Company Year Variables Data ABC 2000 Revenue 10 ABC 2001 Revenue 15 ABC 2002 Revenue 12 ABC 2003 Revenue 25 ABC 2004 Revenue 30 CDE 2000 Revenue 5 CD...
2018/02/26
524
2,240
<issue_start>username_0: TCP 3-way handshake consists of SYN, SYN-ACK and ACK packets. My question is: can a server (i.e. the one that accepts the connection) send the data right after sending the SYN-ACK, or nothing can be sent prior to receiving the first ACK? In other words, if the server sends data on the socket ...
2018/02/26
979
2,926
<issue_start>username_0: I'm new to docker . I have a instance named Server 1. I have a java application deployed in Server 1 , which connects mongo db of Server 2, Elastic search of Server 3. Installed Docker in Server 1. I wish to deploy the java application via docker in the server 1. Written a Dockerfile to dep...
2018/02/26
1,027
2,829
<issue_start>username_0: pip3 install mysqlclient shows the following error, ``` Collecting mysqlclient Using cached mysqlclient-1.3.12.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/private/var/folders/58/m4f65nln59db...
2018/02/26
626
2,287
<issue_start>username_0: hey so i'm creating a button with modal display on hover so i managed to that part with the code below: ```js $(document).ready(function(){ $('[data-toggle="popover"]').popover({ placement : 'top', trigger : 'hover' }); }); ``` ```html [{{ucwords($entityValue)}}]({{action('AltHr\C...
2018/02/26
334
1,126
<issue_start>username_0: I'm trying to create DataTable and DataColumn objects in powershell. I added this in the beggining of my script ``` Add-Type -AssemblyName System.Data ``` But when I try to call this part of code ``` $DataTable = New-Object -TypeName DataTable $TableName ``` I got an error > > New-Obje...
2018/02/26
1,887
7,241
<issue_start>username_0: Before exporting my image to the web, I want to convert them to sRGB and then remove the sRGB profile from the image (to reduce it's size, as sRGB is the default profile to use if there is no embedded icc profile). I was thinking that there is only one sRGB icc profile, but I discovered there a...
2018/02/26
386
1,335
<issue_start>username_0: I am new to Vue.js. I have to show a pop up (seperate component) when a user comes from a specific path. I used a show variable which is by default set to true. As user lands on this page, user will see a pop up. But I want to get the path name in my component so that I will show the pop up ...
2018/02/26
435
1,504
<issue_start>username_0: Onclick listener is making my app crash. When I comment it out, it runs fine. In XML I just have an edit box and a button.I am also extracting the text entered by getText().toString(), is it correct. ``` public class PnrActivity extends AppCompatActivity { private String m_PNR,pnr; final Stri...
2018/02/26
756
2,538
<issue_start>username_0: Say the original collection is: ``` var data = [{ id: 1, children: [{ id: 2 }, { id: 3 }] }, { id: 4, children: [{ id: 5 }] }] ``` Want to filter it with this given values of `id` property: ``` var selectedIds = [1, 3, 4] ``` The results should be: ``` var resul...
2018/02/26
731
2,619
<issue_start>username_0: Im Creating a simple messaging App on iOS and keep getting the same error The Line of Code that the error keeps popping up in is this line ``` self.listOfChatInfo.append(Chat(userName: username!, text: text!, datePosted: "\(postDate!)")) ``` The error that keeps popping up is > > Thread 1...
2018/02/26
478
1,105
<issue_start>username_0: I am trying to figure out the number of rows that have `col1 != 0 || col2 != 0` sample: ``` > head(df2$col1) [1] 3 0 2 1 0 5 > head(df2$col2) [1] 0 0 0 0 0 0 ``` What I tried: ``` >dim(df2) [1] 38272 69 > jj = df2[df2$col1 != 0 || df2$col2 != 0] > dim(jj) [1] 38272 69 ``` Not sure ...
2018/02/26
416
1,531
<issue_start>username_0: I wrote a CAPL script that calls a python script using `sysExecCmd` like `sysExecCmd("python",myParameters,myTree)`, where `myTree` is the current (nested) working tree wrt the current directory the CAPL resides in and `myParameters` are generated at runtime and take care of certain variables. ...
2018/02/26
428
1,430
<issue_start>username_0: I tried to hide a div with my sidebar with this method: ``` /* For mobile phones: */ @media (max-width: 576px) { .sidebar { display: none!important; } } /* For tablets */ @media (max-width: 768px) { .sidebar { display: none!important; } } ``` The sidebar listens to these rules but i...
2018/02/26
322
1,146
<issue_start>username_0: I have some short script which looks like this: It's a way to execute bash inside a groovy command. ``` sh (script: 'printf "${INFO} | sed 's/^[^\/]*://g'"',returnStdout: true).trim() ``` The value of `INFO` is `test/word/fine`. With the script above I want to 'delete' everything till (and ...
2018/02/26
2,359
9,152
<issue_start>username_0: I want to generate JSON schema where `"additionalProperties" : false` will be applied for all classes which I have. Suppose I have following classes: ``` class A{ private String s; private B b; public String getS() { return s; } public B getB() { return b...
2018/02/26
632
2,477
<issue_start>username_0: I was handling push notification data and then after call API based in push notification custom data. This will work fine when app is in Active and background state. But when app is not running and then click on notification, I was able to get custom data from custom date But, API is not call...
2018/02/26
618
2,159
<issue_start>username_0: i made a business network using hyperledger composer playground i want add an asset in the registry but while adding it is saying that t: Instance com.acn.hps.aops.ims.EvidenceDoc#4439 missing required field owner ``` .cto file asset EvidenceDoc identified by evidenceId{ o String evidenceId ...
2018/02/26
520
1,800
<issue_start>username_0: I am using docker-compose to deploy multiple microservices in flask. Here is the compose code ``` version: '3' services: test-api: volumes: - ./test-api:/test-api build: test-api ports: - "5000:5000" redis: image: "redis:alpine" search: volumes: -...
2018/02/26
336
1,100
<issue_start>username_0: I'm installing HDP 2.6 on centos 6(no internet access on that machine) and its required redhat-lsb-core->crontabs->cronie->dailyjobs. I googled for dailyjobs (cronie-anacron), but yum localinstall says: needs cronie = 1.4.4-16.el6\_8.2. This is vicious circle. Please help me find out how to l...
2018/02/26
1,374
5,716
<issue_start>username_0: I have a situation where I need to write protect certain rows of a table based on some condition (actually a flag in a foreign table). Consider this schema: ``` CREATE TABLE Batch ( Id INT NOT NULL PRIMARY KEY, DateCreated DATETIME NOT NULL, Locked BIT NOT NULL ) CREATE UNIQUE INDEX U_B...
2018/02/26
1,069
3,968
<issue_start>username_0: (Obviously this doesn't have much to do with typescript, except that the example code is in ts). ``` import { createWriteStream, WriteStream } from "fs"; export class Util { public static openWrite(path: string): Promise { return new Promise((resolve, reject) => { const result = createW...
2018/02/26
1,165
4,721
<issue_start>username_0: My problem is that success function in the ajax works but error not working but if add to ***contentType: 'application/json'*** work always error function. ``` $.ajax({ type: "POST", data: { pollCodeInput: pollCodeInput, pollNameInput: pollNameInput, pr...
2018/02/26
527
2,079
<issue_start>username_0: If I have the following code : ``` @Component public class A{ @Transactional(propagation = Propagation.REQUIRED) public void a(){ //logic b(); //logic } @Transactional(propagation = Propagation.REQUIRED) public void b(){ //logic } } ``` How many transactions open Spring in t...
2018/02/26
790
3,254
<issue_start>username_0: I'm trying to make http request in my react native app(in android in real device) with the localhost url. after it failed in localhost url with the error > > Network request Failed > > > I changed it to my ipv4 but it still not works. but when I'm using in POSTMAN to check with my ipv4 it...
2018/02/26
1,133
2,804
<issue_start>username_0: I have below mentioned dataframe: ``` TYPE Type1 Con1 Type2 Con2 A 10 5 15 2 B NA NA 10 3 C 20 10 NA NA D 5 5 15 3 ``` I want to sume column 2&4 and mean of column 3&5, I have tried this `New_DF<-rbind(DF[-1],c(colSums(D...
2018/02/26
590
2,414
<issue_start>username_0: I'm trying to catch routing exceptions in my app. Basically there are 3 ways a user can navigate: 1. Typing the address - catching that is easy just `{ path: '**', redirectTo: 'errorPage'}` in the route config. 2. The code called `router.navigate(['pageName'])` - catching that is easy too: `.t...
2018/02/26
155
682
<issue_start>username_0: I am trying to connect to MySqlServer by code in swift directly without php file. Is there any way to do the same? we have enterprise application where we need to direct connect with mysql db<issue_comment>username_1: There is only one way to connect with database without using php. use fireba...
2018/02/26
234
989
<issue_start>username_0: In my ASP.NET MVC project, user can save a form on screen which makes HTTP POST request to server. How can I prevent client to send automated HTTP POST's to server. Is there any builtin way on IIS or web.config to block unusal request rates? For example a setting like, "based on Session ID, r...
2018/02/26
1,102
4,058
<issue_start>username_0: I want to make an app to send some information to the company via email if I have internet connection as a user and I use email intent ``` String priceMassage = creatOrderSummery(price, hasWippedCream, hasChocolate, name); Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setData(Uri....
2018/02/26
1,150
4,065
<issue_start>username_0: I am trying to access an array key dynamically with the codes below. ``` $order_detail = new OrderDetail((int) $params['id_order_detail']); $products = $order_detail->getList($id_order); $test = $products[$order_detail->id]['unit_price_tax_incl']; ``` $order\_detail->id is returning just fi...
2018/02/26
551
2,247
<issue_start>username_0: I have the following code and getting the values through the api and set to the state variable but the view is rendered before setting the value to the state. So i could not display the value in my view. How could i change the code to work fine? ``` this.state = { activeJobs: [], ...
2018/02/26
868
2,860
<issue_start>username_0: I'm deploying my Ruby on Rails website on a remote server. * I put my code in /var/www/[websitename] * `/opt/nginx/conf/nginx.conf` is as follows: worker\_processes 1; ``` events { worker_connections 1024; } http { passenger_root /home/tamer/.rvm/gems/ruby-2.5.0@meraki/gems/passeng...
2018/02/26
483
1,816
<issue_start>username_0: Using Xcode 9.1 I am trying to create to start level simple framework in swift and use the same in objective c or swift proj. But I am getting a compilation while using it in app. Tried several tutorials and followed same steps as in <https://www.youtube.com/watch?v=kSwbun3UV6U>.. But no result...
2018/02/26
671
2,334
<issue_start>username_0: I'm new to web development and stucked at sending data to server. I have registration form and i want to send this data to server. I can send data from form tag using action and method attribute but it will return response in next page. So i read somewhere i have to use ajax to send data. I tri...
2018/02/26
392
1,350
<issue_start>username_0: I am learning React Native and in the process am trying to achieve a layout design which will have 8 *views* in a row whose width should be automatically adjusted based on the width of the device. I am experimenting with some boilerplate code from <https://facebook.github.io/react-native/docs/...
2018/02/26
582
2,212
<issue_start>username_0: I'm trying to move over to using plain old Javascript (moving away from jQuery, due to speed issues). I need to trigger a click event on something, and then toggle a class on the main element. Here is what I have: ``` document.querySelector('.wrapper-dropdown').addEventListener("click", functi...
2018/02/26
288
1,017
<issue_start>username_0: I am importing D3 in my component. Then I need to assign a layout to the `D3.layout`-property. The problem is, that my D3-Object knows the `layout`-property when I output it in the console, but the function is unknown when I try to call it. what could that be? ``` import { adjacencyMatrixLayo...
2018/02/26
326
1,179
<issue_start>username_0: We are using IdentityServer4 with ASP.NET Core. We want to write Identity Server's logs to an external file (i.g. `log.txt`). Can we do this via the log4net library?<issue_comment>username_1: .Net Core has pretty good logging support straight out of the box. Have a read of this: <https://lear...
2018/02/26
620
2,181
<issue_start>username_0: Why, with this code, the first console.log() generates an error (surprise, because I thought this behavior was *only* with `var`, not `let`): ``` (function() { "use strict"; let i=12; function test() { console.log(i); let i=4544444; console.log(i);...
2018/02/26
2,283
7,930
<issue_start>username_0: I'm getting very weird behavior from the Apache Camel application. I'm deploying the EAR on WebLogic 192.168.127.12 server on our test environment, and everything works fine. The EAR contains all the dependencies used by the application. However, when I deploy the same EAR to production (it de...
2018/02/26
481
1,840
<issue_start>username_0: Can we have multiple content-type in Spring MVC request header? I'm passing: ``` {Content-type = application/json, text/plain} ``` through Postman to my API. Currently, I'm getting `org.springframework.web.HttpMediaTypeNotSupportedException: Invalid mime type ....` I wanted to know, is ther...
2018/02/26
695
2,510
<issue_start>username_0: I need to update some columns from my DB using the modal... question is how do I pass the data from the Modal to the Controller@update? I can get dynamic data to the Modal, but the form action does not appear to function. Can someone help me? I'm getting really frustrated by this. =( here is m...
2018/02/26
401
1,538
<issue_start>username_0: Normally our application is sending transactional SMS via us-west-2 and us-east-1. Sending limits are not exceeded. Some days ago sending transactional SMS stopped working. About 12 hours later the AWS CloudWatch logs show the error: "*Unknown error attempting to reach phone*". The phone numbe...
2018/02/26
467
1,659
<issue_start>username_0: React component is showing data when state is null but, when its getting data then its not updating the content of the view. ``` constructor(props){ super(props); this.state = { post: null } this.getTotalDownloadSize = this.getTotalDownloadSize.bind(this); } compon...
2018/02/26
345
1,121
<issue_start>username_0: I am not trying to be stupid but that's the requirement that I have. My table: [image Mytable](https://i.stack.imgur.com/1jcXR.png) I am currently stuck with this query and couldn't think further than taking all of them in one single row. My query: ``` select ID, Date, Name, INTime, ID, Da...
2018/02/26
564
2,164
<issue_start>username_0: I import to mongodb a database, that looks like this: ``` { other values, "addresses" : [ { "_id" : "createdAt" : "likes" : "type" : "route" : "country" : "administrative_area_level_1" : ...
2018/02/26
757
2,913
<issue_start>username_0: I need to embed standard languages (for example `JavaScript`) in my language extension. This means I want to see autocompletes, syntax higlighting etc. as in `file.js`. Can I do this (how)? Thank you for any examples!<issue_comment>username_1: Syntax highlighting is easy, just include the top ...
2018/02/26
285
974
<issue_start>username_0: I'm kind of new to jquery and trying to figure out how can I use `&&` or something else to achieve the use of multiple methods (in this case it's `.prop` and `.val`) instead of doing this twice like this: ``` $('input[name=radio1], input[name=radio2]').prop('disabled', true); $('input[name=rad...
2018/02/26
174
682
<issue_start>username_0: Good day guys i just want to ask how to make a ajax to prevent page loads in my html form page the input i want to prevent from loading is button tags with type of submit and value of submit in my case this is my html code: ``` living room Click On - Click Off kitche...
2018/02/26
963
3,326
<issue_start>username_0: I have a user table with a column named products, while adding users theres a list of checkboxes (products), I am able to add the products while ticking the checkboxes. The problem is in edit user, if user has a product (abc), that abc checkbox should be checked (ticked) in edit user screen. ...
2018/02/26
546
1,630
<issue_start>username_0: I've got some preceding code that outputs this line. Now I would like to isolate just the information in the 'us-west1-c' part. However, this information can change, albeit in the same format. For example, it would read 'us-east1-b' or 'europe-west2-c'. As a result the regex could be said to be...
2018/02/26
372
1,345
<issue_start>username_0: I would like to execute two routes sequencial from same route. In other words, i would like to launch this execution flow: ``` from("route1")--> to("route2") //executed with output of route1 as source to("route3") //executed with output of route1 as source and executed after route2 fi...
2018/02/26
1,310
4,482
<issue_start>username_0: `hindent` changed my code to: ``` do download i inputFile onException (callProcess (List.head args) (List.tail args)) (removeFileIfExists name) `finally` removeFileIfExists inputFile ``` I can't determine if the `finally` applies to the rest of the `do` block, or just the sta...
2018/02/26
837
2,916
<issue_start>username_0: I have a class, whose objects I put into a unordered\_set. To do this I have written custom hash generators and comparators to be able to use the class objects in unordered\_set. Everything works fine. The comparator of this class looks like this : ``` struct MyClassComparator { bool ope...
2018/02/26
733
2,369
<issue_start>username_0: I'm trying to read the variable `accessCode` in my form in a Angular (1.6.8) function but I only get `undefined`. **The HTML** ``` ``` **The Angular JS** ``` app.controller('SubscriptionCtrl', ['$scope', '$http', '$templateCache', function ($scope, $http, $templateCache) { $scope.rede...
2018/02/26
1,388
4,373
<issue_start>username_0: I just started out with node.js and wanted to do something with nodemailer. I've installed the packages (Oauth2, Express, Body-parser, Node, Nodemailer) using `npm install (package name)` The issues I have are when I try and get information from my HTML form by using `req.body.subject` it give...
2018/02/26
809
2,664
<issue_start>username_0: [![this is the way I am entering time](https://i.stack.imgur.com/oSWHp.png)](https://i.stack.imgur.com/oSWHp.png) [![and I need difference of two times ](https://i.stack.imgur.com/btn9T.png)](https://i.stack.imgur.com/btn9T.png) this is the way I am entering time and I need difference of two ...
2018/02/26
967
3,056
<issue_start>username_0: I've got an Excel file with multiple sheets with same structure. Number of rows varies on every sheet, but `pd.read_excel()` returns `df` with `nb_rows == nb_rows on the first sheet`. I've checked Excel sheets with `CTRL+down` - there is no empty lines in the middle of the sheet. How can I fix...
2018/02/26
999
3,125
<issue_start>username_0: The result should show me which active clients have not been visited the place the last 15 days, according to todays' date. The two tables I have are: ``` **Table: subscription** ------------------------------------ id | client_id | expiring ------------------------------------ 1 | 253 ...
2018/02/26
1,730
5,758
<issue_start>username_0: I installed H2 for OSX and I can open the console by opening the jar file. I followed the [getting started instructions](http://slick.lightbend.com/doc/3.2.0-M1/gettingstarted.html#adding-slick-to-your-project) from Slick and ended up with the following final code: ``` package com.abc.xyz imp...
2018/02/26
979
3,050
<issue_start>username_0: I have a file with many rows,each row have the following format: **1519382994.85#MSG#Something went wrong** So, for each row i have three field divided by #. A number, a message type and a string. Now i want to read the file and split the contents. I made it in this way: ``` //Opening the lo...
2018/02/26
790
2,397
<issue_start>username_0: I am having data in below format and I am trying to capture data between 2 occurrence of string and keep it in a file. ``` create statement CREATE VIEW `T1` AS SELECT aa bb cc dd create statement CREATE VIEW `T2` AS SELECT aa ff ee create statement CREATE VIEW `T3` AS SELEC...
2018/02/26
551
1,846
<issue_start>username_0: I have a WordPress template, that I used to make a website with. I have a page that I kind of show the companies that work with our company, you can see this here: <https://www.haagsehof.nl/onze-klanten/>. [![enter image description here](https://i.stack.imgur.com/Ffvoc.png)](https://i.stack.i...