date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/07
605
2,410
<issue_start>username_0: If I use any theme and include the newest Bootstrap framework 4.0, but I also want to have the plugin Visual Composer for some WYSIWYG editing, will they create a conflict? And if yes are there any workarounds?<issue_comment>username_1: Your error message is not very descriptive. However, I thi...
2018/03/07
601
2,369
<issue_start>username_0: ``` [{LanguageMedium: "Sinhala Medium"}, {Subject: "English"}, {Type: "Past"}] ``` From this array object how to remove the object where object key is "LanguageMedium"<issue_comment>username_1: Your error message is not very descriptive. However, I think you need to set the `content-type` to ...
2018/03/07
2,080
8,549
<issue_start>username_0: I'm working on an app at the moment and although I'm facing the same issue as here, [Updating Redux state does not trigger componentWillReceiveProps](https://stackoverflow.com/questions/33322068/updating-redux-state-does-not-trigger-componentwillreceiveprops). I've read through this answer an...
2018/03/07
505
1,606
<issue_start>username_0: The css for the following <https://codepen.io/centem/pen/GQVGmw> states for text to be centered but the text is sitting to the lower right of the parent div and some of the text falls out of the div. How do I center the text to be in the middle of the parent div? Thank you. ``` hostname hos...
2018/03/07
631
2,016
<issue_start>username_0: I want to import table in "<https://www.screener.in/screens/1/The-Bull-Cartel/>" to my Google sheets. I tried to use IMPORTDATA, IMPORTHTML but it didn't work. I understand that the tables are of Javascript. I don't know about Java or code and I am really trying to learn. Kindly help me with th...
2018/03/07
1,130
4,286
<issue_start>username_0: I have a reservations web app and we are thinking of sending a message to the user via wechat after he makes a reservation. I looked around the wechat documentation and see that we will need the user's openid but I have no clue how to obtain this. Do I have to program a "login via wechat" but...
2018/03/07
888
3,111
<issue_start>username_0: I've been looking and found this which [describes to return a bool if value is null](https://stackoverflow.com/a/22683141/1794009). The code, I'm using is from this snippet Client client = new Client{ FirstName = "James"}; ``` client.GetType().GetProperties() .Where(pi => pi.GetValue(client) ...
2018/03/07
811
2,794
<issue_start>username_0: I have a sheet in Excel with numbers formatted as text like this - > > 1-123456789 > > > I have written some VBA to transfer this number into an SQL database table as below - ``` With Sheets("Sheet1") conn.Execute "INSERT INTO dbo.A_MyNos ([No])" & _ "VALUES (" & .Cells(1, 1...
2018/03/07
2,438
7,833
<issue_start>username_0: I have an issue with my query. > > Msg 205, Level 16, State 1, Line 5 All queries combined using a UNION, > INTERSECT or EXCEPT operator must have an equal number of expressions > in their target lists. > > > I'm basic user (still learning SQL). I have combined few Selects together her...
2018/03/07
585
1,891
<issue_start>username_0: So I've deployed a project (Used framework is ReactJS) to Heroku, and the given URL uses the HTTPS protocol. The problem which I've met with is that the source where the data is got from, uses an HTTP protocol, thus this error is returned... [![enter image description here](https://i.stack.img...
2018/03/07
742
2,696
<issue_start>username_0: I have 1 class library which has some code to perform some operation.For instance it will perform 2 operation like: ``` - Add - Multiply ``` In future may be I can have few more operation like division for eg. Above are just an example because i have some long running operation with each ...
2018/03/07
589
1,941
<issue_start>username_0: At the moment, I'm trying to run example from the htmlaglitypack official site, but this code is broken: <http://html-agility-pack.net/from-browser> I want to extract content after script completing. My code: ``` private void button1_Click(object sender, EventArgs e) { string url ...
2018/03/07
644
2,634
<issue_start>username_0: I know that `display: none` removes the element from the page while `visibility: hidden` hides the element but preserves the space. My question is, is it a good idea to use the two styles together on an element and if so, what is the priority order of the two when used together? My use case ...
2018/03/07
576
2,393
<issue_start>username_0: I have a spring batch job application. I need to invoke a REST service for a list of IDs. So, I need to call a REST service in a loop. I need to add the result of each ID that I get from the REST service in a map against that ID. Problem: this is taking a lot of time. Could you suggest me s...
2018/03/07
124
537
<issue_start>username_0: How long does Apple take to update Screenshots on iTunes even after the app has moved to **Ready for Sale**? I have already submitted the app and it has been approved. It is now more than 15 hrs later and the Screenshots and app are still not available.<issue_comment>username_1: If you setup ev...
2018/03/07
706
2,958
<issue_start>username_0: I'm trying to use FCM with angularjs, so after initializing firebase I wrote the following code: ``` messaging = firebase.messaging(); $window.navigator.serviceWorker.register($rootScope.app.base_url + '/app/lib/firebaseCustomWorker.js') .then(function(registration) { messaging.useServiceW...
2018/03/07
741
3,069
<issue_start>username_0: How can I get the data from the a table and convert it into string. I'm trying to make ***[User Level]*** into a string variable or get it to a label. My current code is ``` private void btnLogin_Click(object sender, EventArgs e) { if (attempt == 0) { lblMsg.Text = ("ALL 3 ATT...
2018/03/07
2,938
8,728
<issue_start>username_0: I am trying to add the [mod\_auth\_openidc module](https://github.com/zmartzone/mod_auth_openidc/releases) to an Apache server running on Docker. After adding `LoadModule auth_openidc_module modules/mod_auth_openidc.so`, I create the image and run it, getting this error: ``` httpd: Syntax erro...
2018/03/07
1,157
4,175
<issue_start>username_0: I have code like below ``` def yield_multiple(): for prime in prime_list: for multiple in range(prime+prime, end, prime): yield multiple ``` And I use this to get the prime numbers ``` multiple_set = set(yield_multiple()) result = [v for v in candidate_list if v not ...
2018/03/07
2,271
7,098
<issue_start>username_0: I have the following code: ``` #include using namespace std; template int get\_num(int k) { return k + 3; } float get\_num(float k) { return k + 3; } template void function(T1 (\*callback)(T2), T2 arg) { callback(arg); } int main() { // your code goes here function(get\_num, 3); r...
2018/03/07
597
2,410
<issue_start>username_0: I was developing an Angular app, in my dashboard.comp.ts I need to implement jquery event (**due to other reason I have used jquery**), jquery event working properly with my typescript objects. Now problem is when I click through jquery, DOM manipulation getting delay, so that, output getting d...
2018/03/07
675
2,304
<issue_start>username_0: I'm working with db connection, from what it looks like to me when I finish writing it on sublime there's no error. so, I decided to write `localhost/*folder*/*filename*.php` in my browser to check the connection and suddenly the browser display; > > Notice: Undefined index: username in C:\x...
2018/03/07
339
1,112
<issue_start>username_0: I'm using a single structure dynamically for many function as shown below: ``` Parent[funcName](data, function(err) { // further operations }); ``` The variable "data" in the function have 0, 1, 2 or 3 as per the function requirement. It works fine when single argument is passed in "data"...
2018/03/07
1,702
5,347
<issue_start>username_0: transactions sheet ``` ID1 Name Amount ID2 123 A 1 0;124;0 456 B 2 124;0;0 789 C 3 456;0;0 ``` transactions sheet (Expected Result) ``` ID1 Name Amount ID2 Summary 123 A 1 0;124;0 124 456 B 2 124;0;0 456 789 C 3 456;0;0 ``` ...
2018/03/07
939
3,529
<issue_start>username_0: I have the following table, which describes permissions a specific user has on specific objects: ``` +------+-----------+----------+-----------+------------+------------+ | type | object_id | can_read | can_write | can_delete | can_create | +------+-----------+----------+-----------+----------...
2018/03/07
842
2,782
<issue_start>username_0: [![enter image description here](https://i.stack.imgur.com/FIbZ5.jpg)](https://i.stack.imgur.com/FIbZ5.jpg) I have these result below and all I want is that days and records of days that there is no count. Thanks below is the query I used ``` SELECT Dateadd(hour, Datediff(hour, 0, date_sent_...
2018/03/07
887
3,268
<issue_start>username_0: I m trying to integrate Realm .NET in my uwp project and I would like to know if there is any way to store a System.Collections.Generic.Dictionary in realm-dotnet base. I tried this : ``` public class Training : RealmObject { public int Id { get; set; } public int Id_document { get; ...
2018/03/07
431
1,425
<issue_start>username_0: I have two TextView. First TextView contains dynamic text, that can be small and big. Second TextView contains static small text. Second TextView should be located to right of first TextView. This is how it should works: * when first text is big: [![enter image description here](https://i.sta...
2018/03/07
976
3,247
<issue_start>username_0: Our landing in mobile looks ugly because the sentences are cut into two lines but only the last word jumps into the next line. Let me explain it better with an example. Let's say in **desktop** the sentences is: > > Hello this is my beautiful website. You are welcome! > > > On **mobile**,...
2018/03/07
1,196
4,594
<issue_start>username_0: If I load a module in Python, will it ever be garbage collected? Another way of framing this question is, where does Python keep references to Python modules? As I assume if there are no longer any references, the garbage collector will remove a module. Here's an example I tried in the in Pyth...
2018/03/07
961
3,849
<issue_start>username_0: If I have node on my machine, and I run four different node programs, is there a way for me to tell from the CLI how many programs are running? It's usefull, I think, when I need to tell if a specific node program is on, or just to know how many programs node is running. Thanks!<issue_comment...
2018/03/07
393
1,401
<issue_start>username_0: How to assign values or string to `p` tag through CSS? I am trying like this, why I am doing like this because I come from Android programming. HTML file: CSS file: ``` p{ text:"today" } result should= "today" in browser ``` So please help me.<issue_comment>username_1: Although I can...
2018/03/07
5,533
20,962
<issue_start>username_0: I have a large webpage generated through many Vue components. The rendered HTML structure is somewhat similar to this: ``` ``` I want to print this nicely on an A5 page having `header` and `footer` repeated on every printed page. I've tried this with 2 approaches: Converting HTML structure ...
2018/03/07
385
1,386
<issue_start>username_0: I am trying to print the following using the code as: ``` int main() { char p[] = "hello"; char*t = p; char**b = &t std::string s = b[0]; cout<<"string="< ``` Now I am getting a null string. What could be the reason and how to solve it ?<issue_comment>u...
2018/03/07
2,671
10,856
<issue_start>username_0: i have an Ionic application, this application contains set of pages and services, now since i'm working with Ionic & Angular, i decided to build reusable code for different projects. for example, Http service: in this service i want to centralize the code which manage the communication with se...
2018/03/07
615
2,202
<issue_start>username_0: I have a problem with symfony 4. i'm migrating an existing app from symfony 3.3 to symfony 4 and I get an error I can't correct. here is my controller : *BaseController is the controller responding to sm\_admin routes* ``` class HomeController extends BaseController { public function __co...
2018/03/07
1,147
3,903
<issue_start>username_0: I update my cordova environment to Cordova Android 7 and got following error when `cordova build android --device --verbose`. ``` Command finished with error code 0: /usr/libexec/java_home ANDROID_HOME=/Users/kano/Library/Android/sdk JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jd...
2018/03/07
788
3,202
<issue_start>username_0: I have a dynamic website with a lot of AJAX and jQuery loading in different modules to different containers. For the purpose of my question, consider that I have 3 buttons and one container. Clicking button A loads `a.php` into the container using jQuery ``` $('.container').load('a.php'); `...
2018/03/07
1,960
5,877
<issue_start>username_0: I am trying to change the color of each button without using unique id in a list of items. These buttons are defined with separate div elements and I need to change the color of button on click to toggle status. I managed to do it but it changes the color of 1st element when I click other ele...
2018/03/07
2,243
6,852
<issue_start>username_0: I have built a pie/doughnut chart using D3js (v4) as an Ember component and I am trying to have segments with specific labels be filled with a specific color but it is proving difficult. To color the charts I have the following code: ``` marc = arc().outerRadius(radius - 10).innerRadius(radiu...
2018/03/07
665
2,718
<issue_start>username_0: I need to add a .jar as an unmanaged dependency to an sbt Scala project (it is the [java-stellar-sdk](https://github.com/stellar/java-stellar-sdk/releases)). Everything works well as long as I don't run `sbt test`. There seems to be a Mockito version in the .jar file that conflicts with the one...
2018/03/07
792
2,466
<issue_start>username_0: I do need to create a method for comparison for either Int or String or Char. Using AnyVal was not make it possible as there were no method's for <, > comparison. However Typing it into Ordered shows a significant slowness. Are there better ways to achieve this? The plan is to do a generic bin...
2018/03/07
626
1,877
<issue_start>username_0: I am trying to export two (flex)tables within the same word document. Here what I have: ``` df1 <- data.frame(a = 1:3, b = 1:3) df2 <- data.frame(c = 11:13, d = 11:13) library(flextable) df1_ft <- regulartable(df1) df2_ft <- regulartable(df2) library(officer) word_export <- read_docx() word_...
2018/03/07
2,136
7,599
<issue_start>username_0: my question is related to android feature to zoom the parent consisting of multiple child view's. ZoomView->ParentView->[multiple childViews] I am working on a [Demo project](https://github.com/andor201995/ZoomIt) to Zoom the child View and to pan infinitely.Zooming works perfectly as needed....
2018/03/07
592
2,542
<issue_start>username_0: I tried making `Container` widget with rectangle shape in `TextField`. It doesn't show my text inside container. Rather the box shape comes above `TextField`. Here's my code: ``` new Container( height: 10.0, width: 20.0, decoration: new BoxDecoration( ...
2018/03/07
738
3,112
<issue_start>username_0: My Android app needs high accuracy location tracking. On app start, it reads the location settings programmatically and presents a screen if *high accuracy* is not selected. I adapted Google's official example (<https://developers.google.com/android/reference/com/google/android/gms/location/Se...
2018/03/07
615
2,222
<issue_start>username_0: I'm trying to debug a segfault in Android's surfaceflinger daemon on a custom made ARM board. The process crashes before dumping the call stack and register content, including the program counter. Normally I would've used objdump and searched for the program counter. The problem is that part ...
2018/03/07
974
2,939
<issue_start>username_0: I am beginner to programming. I am reading the csv data from the file then I need to convert csv data into json formate. This is my csv data file: ``` batch_id ingredient_code quantity expiry_date 1 item1 1000 18-01-2019 1 item2 500 ...
2018/03/07
478
1,734
<issue_start>username_0: I'm creating an iOS app. When the app starts, it should open the second VC in the navigation stack. The navigation bar should show the back button that leads to the main navigation controller. It should look like the Calendar app on iPhone. When you open this app, it shows the week/day-look, ...
2018/03/07
831
2,813
<issue_start>username_0: When I use cardUseCompatPadding to show shadow in my card view, top padding is bigger than left one. How to make both padding equal, because my ribbon looking not beautiful, it's bigger on top? Thanks. [![enter image description here](https://i.stack.imgur.com/yyyGR.png)](https://i.stack.imgur...
2018/03/07
725
2,395
<issue_start>username_0: How can I change the font of a label in Xamarin.Forms XAML? Predictions are not available for font family attribute in XAML. I tried 2 or 3 fonts like 'Arial' in font family, but it's not working. Help me to resolve this. ``` ```<issue_comment>username_1: Please refer to [this](https://de...
2018/03/07
881
3,179
<issue_start>username_0: I'm building a video application for the web in React using OpenTok. OpenTok has built in buttons for muting the mic for the publisher and muting the audio for subscribers. In my case I also need buttons to mute the video for both the publisher and the subscriber. I haven't seen anything about...
2018/03/07
911
3,101
<issue_start>username_0: hi everybody I hope you are well, here is my code: ```js var x = document.getElementById('geo_output'); //x.innerHTML = "here is geo_output"; function getLocation() { if(navigator.geolocation) { //x.innerHTML = "Supporting"; navigator.geolocation.getCurrentPositio...
2018/03/07
784
2,630
<issue_start>username_0: I have a flag in a table which value ( 1 for US, or 2 for Global) indicates if the data will be in Table A or Table B. A solution that works is to left join both tables; however this slows down significantly the scripts (from less than a second to over 15 seconds). Is there any other clever ...
2018/03/07
2,198
5,302
<issue_start>username_0: I am trying to copy a folder to "/data/data//" from "system/app/" folder during build time of aosp. Using source code of android-marshmallow-6.0.1 LOG: 01-01 00:07:13.796 10269-10269/custompackagename.com.customapp W/System.err: at android.app.ActivityThread.-wrap11(ActivityThread.java) 01-01...
2018/03/07
520
1,684
<issue_start>username_0: I have the following code in `plot.R` file. ``` library(plotly) options(browser = "/opt/google/chrome/chrome") options(viewer = NULL) plot_ly(economics, x = ~date, y = ~pce, z = ~pop) %>% htmlwidgets::onRender( "function(el, x) { var gd = document.getElementById(el.id); Plot...
2018/03/07
709
2,073
<issue_start>username_0: I use `S3` to store some photos to send their path through `rails` to mobile clients, but when I started to send the data for a specific item in show method I used this code with `aws-sdk` gem to check where is the photos and get their path ``` s3 = Aws::S3::Resource.new( access_key_id: ...
2018/03/07
434
1,181
<issue_start>username_0: after the `startup.bat` command I wanted to start chrome with url: `http://localhost:8080/Nexus` but bat file getting stopped after tomcat is being started up. Code in the batch file is as follows: ``` @echo off start cmd cd I:\Users\5251966\Nexus echo yes|copy catalina.bat I:\apache-tomcat-7...
2018/03/07
783
2,460
<issue_start>username_0: I'm new in Sequelize ORM. I have the tables user, role and vote. I want to get a single user with his role (maybe few) and average of rate from vote table as rating field. I am stuck with a `group by` problem. ``` const id = req.params.id; user .findOne({ where: { id }, attributes: [ ...
2018/03/07
2,669
9,204
<issue_start>username_0: I have made the Java Selenium Maven Project for printing all the data of the rows as well as header.The code worked fine but when i used the project on different system then i got the following error:- `java.lang.IllegalStateException:` `The path to the driver executable must be set by the web...
2018/03/07
632
1,545
<issue_start>username_0: In the below dataframe I have a list of values, how can we get the top 2 repeated from a list ? DataFrame: ``` user pro A [AA,AA,AA,BB,CC,AA,AA,CC,CC,BB] B [AA, BB, EE,BB,BB,EE,AA,CC,BB,EE] C [EE,EE,EE,CC,CC,CC,CC,DD,DD,AA] D [DD,AA,AA,AA,AA,AA,BB,BB,BB] ``` Expected output: ```...
2018/03/07
413
1,358
<issue_start>username_0: I am trying to update a PostgreSQL table so for that I'm creating two arrays: ```js var name_ = []; var id_ = []; ``` Then I create a `forEach` loop where `MyRow` is a query that contains different data: ```js MyRow.rows.forEach(function(row){ name_.push(row.name); id_.push(row.id)...
2018/03/07
321
1,251
<issue_start>username_0: I have an installed WordPress website. I'm working on the site, therefore, I want to show a constructor page for the internet user. I have created a page which called ***first.html*** and I change the ***.htaccess*** file like below ``` #Alternate default index page DirectoryIndex first.html ...
2018/03/07
768
2,813
<issue_start>username_0: I have the following structure: ``` public class Profile { ... @ElementCollection(targetClass = ProfileFieldImpl.class, fetch = FetchType.EAGER) @CollectionTable(name = "profileField", joinColumns = @JoinColumn(name = "profileId")) @OrderColumn(name = "fieldName") private Set fields; } ...
2018/03/07
1,171
4,085
<issue_start>username_0: We're providing a pre-populated WordPress site for multiple members to use on their servers. The theme has a selector where they can customize their heading colours and fonts. Each member will have different colours based on their branding. The site also includes a knowledgebase plugin and it ...
2018/03/07
1,118
4,383
<issue_start>username_0: I need to auto fake a Django 1.9 migration. Is there a flag that can put in the migration file that will auto fake, rather than having to log onto multiple servers and run. The migrations layout is like this ``` migtarions |-- 0001_initial.py |-- 0002.py |-- 0003.py ``` I know I...
2018/03/07
1,365
4,984
<issue_start>username_0: How do you use Text() with a format that has a string inside it ? ``` =TEXT(A1,"Comfi+"#0"(JO)";"Comfi-"#0"(JO)") ``` Tried """ both the inner string : ``` =TEXT(A1," """Comfi+"""#0"""(JO)""";"""Comfi-"""#0"(JO)""" ") ``` Same result with &char(34)& Similar issue here, but I couldn't tr...
2018/03/07
674
2,446
<issue_start>username_0: I'm trying to store the output of powershell in a var: ``` import subprocess subprocess.check_call("powershell \"Get-ChildItem -LiteralPath 'HKLM:SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Uninstall' -ErrorAction 'Stop' -ErrorVariable '+ErrorUninstallKeyPath'\"", shell=True, stderr=...
2018/03/07
1,157
4,439
<issue_start>username_0: I'm new to AJAX and not so good at PHP. I'm trying to simply send a string saying "Hello" to my PHP page using the JQuery `$.AJAX` function. So far I have successfully got AJAX to send the information to the page and log it in the console but the data doesn't get stored into the POST variable. ...
2018/03/07
575
1,926
<issue_start>username_0: Is long allowed inside of for loop in java? If yes, why does eclipse shows an error while putting a long value, If no, what is the maximum value that can be used inside a for loop as iterator?<issue_comment>username_1: Yes it is allowed. This works just fine ``` for(long l=0;l ``` Upvotes: 2 <...
2018/03/07
406
1,546
<issue_start>username_0: I am building my URL to make an API call, using the key and secret that the provider has given me. <https://api.testurl.com/api/test/calldata?key=12345&secret=999999&query=hello> My question is I am appending the 'query' based on user input each time and performing the call with the 'key' and...
2018/03/07
1,062
2,694
<issue_start>username_0: I have some trouble with a dataset I have in data.table. Basically, I have 2 columns: scheduled delivery date and rescheduled delivery date. However, some values are left blank. An example: ``` Scheduled Rescheduled NA NA 2016-11-14 2016-11-17 2016-11-15 NA 201...
2018/03/07
1,966
7,352
<issue_start>username_0: I am trying to open specific view controller on widgets click , but can not able to open it , i am able to open app using url schema but i want to open specific view controller how can i do this, here is code for open app using url schema : `@IBAction func open_app(_ sender: Any) { extensionC...
2018/03/07
231
808
<issue_start>username_0: I have created patch request using Retrofit2. ``` @PATCH("/tests/{id}") Call updateTest(@Path("id") int id, @Body Test test); ``` This request working using Postman. It returns updated JSON of Test class. But it is not working using Retrofit. Any help ?<issue_comment>username_1: well you sh...
2018/03/07
263
881
<issue_start>username_0: I am trying to use cost explorer API from a IAM user credential but I am getting access denied error. Below is the policy attached for the IAM user. Is any other permission required? Where i am going wrong? { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ce:*"...
2018/03/07
854
2,507
<issue_start>username_0: I want to remove characters that repeat more than twice in a word. For example ``` "hhaaappppyyyyyyy mmoooooorning friendsssssssssssssss, good goood day" ``` to ``` "hhaappyy mmoorning friendss, good good day" ``` I have tried something like this, but it is not reducing to exactly 2 rep...
2018/03/07
943
3,568
<issue_start>username_0: Currently in our project's tests we switched from using annotated step definitions, e.g.: ``` public class Steps { @Given("^Step name$") void methodName() { // do sth } } ``` to lambda expressions: ``` public class Steps implements En { public Steps() { Give...
2018/03/07
438
1,522
<issue_start>username_0: please consider following code snippet: ``` # state that items contains two or more elements x, y, *_ = items # state that items contains exactly two elements x, y, = items # state that items contains exactly one element x, = items ``` Can I state that `items` contains exactly zero element...
2018/03/07
382
1,327
<issue_start>username_0: I have a grid view, inside each cell I have added a view and then an image , the image isn't centered the code is as follows ```js ( )} /> ``` and styles are ```css const styles = StyleSheet.create({ backgroundImage: { flex: 1, resizeMode: 'cover', // or 's...
2018/03/07
457
1,673
<issue_start>username_0: I am using spawn module and executing curl command and getting JSON response from server. This is my code - ``` var spawn = require('child_process').spawn; log.debug("Executing curl command for getting all artifacts"); var artifacts_data = spawn('bash module_features/init_get_all_artifacts.s...
2018/03/07
531
1,568
<issue_start>username_0: I have been failing to find a good way to write the below for loops using numpy. The way it is written right now is of course very inefficient and is just unfeasible for my real data (shape 512\*8\*8\*512) but I am just failing to effectively use the built in matrix multiplication functions. `...
2018/03/07
507
1,844
<issue_start>username_0: I have a problem in an Angular 5 project. Im trying to navigate to a ClientListComponent from my LocationDetailComponent. I have the following in my HTML-code in LocationDetailComponent: ``` {{ ap.details.apclientcount }} ``` LocationDetailComponent: ``` seeClients(ap): void { console.l...
2018/03/07
390
1,313
<issue_start>username_0: The documentation from the plugin site seems to be wrong: <https://github.com/jenkinsci/gitlab-plugin> Example from job dsl documentation: <https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.gitlabPush> In `GitLabPushTrigger` you can set `s...
2018/03/07
290
1,149
<issue_start>username_0: If ListIterator is an interface how come I can create a ListIterator Object like below? ``` LinkedList myList = new LinkedList(); ListIterator iter = myList.listIterator(); ```<issue_comment>username_1: If you look at the implementation of `java.util.LinkedList` in Java 8 you will see that i...
2018/03/07
1,406
5,125
<issue_start>username_0: I am wondering if I can change the color of the button **after** everything in form is filled in. I think I have to do it with jQuery, but I'm not sure how to do it. here is my code for the form: ``` Send ``` and the Jquery which I have for now (I know it is not completed but I don't know...
2018/03/07
719
3,012
<issue_start>username_0: Consider this code: ``` func test() { A() B() C() D() E() } ``` Each function here have their own set of actions like calling API's, parsing them, writing results in file, uploading to servers, etc etc. I want to run this functions *one by one*. I read about completion h...
2018/03/07
416
1,146
<issue_start>username_0: I have two columns i.e. square\_id & Smart\_Nsmart as given below. I want to count(add) N's and S's against each square\_id and ggplot the data i.e. plot square\_id vs Smart\_Nsmart. **square\_id** 1 1 2 2 2 2 3 3 3 3 **Smart\_Nsmart** S N N N S S N S S S<issue_comment>username_1: We can use...
2018/03/07
1,228
3,488
<issue_start>username_0: here a portion of my psql data: ``` MODEL YEAR FUEL POWER RANGE SAMPLES model1 2016 diesel 102 2 1 model1 2016 diesel 103 2 2 model1 2016 diesel 115 2 25 model1 2016 diesel 133 2 10 model1 2016 diesel 134 2 ...
2018/03/07
947
3,140
<issue_start>username_0: On a clean Windows installation I installed `PHP 7.2` with `Nginx` which works fine, both via `Nginx` as on the commandline. Now, I also want to install `PEAR` but that will output som `PHP` errors which don't fully know why the happen. Bellow the full output of the command `php .\go-pear.pha...
2018/03/07
938
2,621
<issue_start>username_0: I Want to convert RGB values to Hex string. I convert Hex to RGB as follow but how I do vice versa. ``` func hexStringToRGB(_ hexString: String) -> (red: CGFloat, green: CGFloat, blue: CGFloat) { var cString:String = hexString.trimmingCharacters(in: .whitespacesAndNewlines).uppercased() ...
2018/03/07
1,419
4,304
<issue_start>username_0: I'm trying to make the content of a site appear **under** the navbar, which has the positioning fixed. I set the dimensions in percent, so a padding(even in percent) wouldn't really work on different aspect ratios(The site should work similarly on mobile devices). ```css * { padding: 0; ma...
2018/03/07
1,996
7,810
<issue_start>username_0: While setting up Git for a project, I've noticed that the line-ending normalization works a bit different on Linux and on Windows. As I understand the Git documentation on this subject, the behavior on Windows is the correct one. Specifically, when a `.gitattributes` file is present, it shoul...
2018/03/07
1,680
5,297
<issue_start>username_0: I'm really new to React and I don't really understand what I might be doing wrong. I have this JSX file ``` import React from 'react' const createPopup = (Body, Footer) => { class Popup extends React.PureComponent { render() { return } } return Popup; } export default ...
2018/03/07
1,733
4,273
<issue_start>username_0: *i'm trying to parse my data from json. I have a function that loads all data...* Data are like this: ``` devices_infos = get_devices() { "page" : 0, "size" : 20, "totalCount" : 2, "data" : [ { "namespace" : "android", "id" : "0000001111111", "creationTs" : 15162167568...
2018/03/07
541
1,720
<issue_start>username_0: I have two `DateTimeImmtable` objects, and expecting them to be identical I am surprised to see they are not. Ie, why is the following `false`? ``` php $d = new \DateTimeImmutable('2018-01-01'); $e = new \DateTimeImmutable('2018-01-01'); var_dump($d === $e); </code ``` Of course `$d == $e` e...
2018/03/07
381
1,434
<issue_start>username_0: I want to run php script from another server on localhost I tried `include "http://example.com/settings/aiacacc.php";` but I'm getting an error. ``` include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 ``` How can I enable `include` from another server ...
2018/03/07
1,985
5,958
<issue_start>username_0: I have a data structure like: [![enter image description here](https://i.stack.imgur.com/dcBKz.png)](https://i.stack.imgur.com/dcBKz.png) I want to edit the value of "test" key in "first" object. I followed the document on <https://firebase.google.com/docs/firestore/manage-data/add-data> Bu...
2018/03/07
6,107
21,624
<issue_start>username_0: I'm trying to do a simple `GET` request to an external production server with a client certificate. They have added our certificate to their server, and I have successfully made requests through Postman (both the Chrome app and the Windows native app) and through standard browsers: [![Postman s...
2018/03/07
596
2,271
<issue_start>username_0: I have been battling to fix the NoClassDefFoundError exception without success. Getting a bit frustrated now. I am creating an application to read excel files using Apache POI library. This is what I am doing: 1. Downloaded the binary distribution of the library and saved it on a desktop folde...
2018/03/07
603
1,989
<issue_start>username_0: My code requires the current UTC time in String format. ``` String date = ZonedDateTime.now(ZoneOffset.UTC).withNano(0).toString(); ``` This works fine in most cases except for when the time has zero seconds value. ``` Normal output: 2018-03-07T11:33:09Z Problem output: 2018-03-06T11:33Z `...