date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/17
867
3,245
<issue_start>username_0: I am facing the problem that once I `import` vue, the wrapper element for vue (in my case `#app`) will be replaced with the following comment ``` ``` There is no error in the console and webpack compiles fine, I do however get the console log from vue's `mounted` method. My index.html ``` ...
2018/03/17
480
1,708
<issue_start>username_0: I have code: ```js var box = document.querySelectorAll("div"); box.forEach(function(element) { element.onclick = function() { alert(this.innerText); } }); ``` ```html A B ``` When I click Box B, I just want to show "B" not "AB". Any ideas?<issu...
2018/03/17
2,959
8,792
<issue_start>username_0: Given a markup: ``` dl dt dd dd .. dt dd dd ... ``` I'm trying to achieve the following layout with CSS grid: ``` dt dt dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd dd ``` My current approach is: ```css .time-table { display: grid; grid-gap: ...
2018/03/17
746
2,381
<issue_start>username_0: i am trying to redirect when i am getting data from firebase. if it is null or empty then no need to redirect. I am trying by using `this.navCtrl.push(ProspectPage);` but don't know why it is not working it returns an error `TypeError: this is null` Here is my code, please check it and let m...
2018/03/17
1,327
4,695
<issue_start>username_0: I have an image like this: ![Have a look at this image](https://i.stack.imgur.com/oAsy8m.jpg) and I'd like to resize this image to a specific width: **let's say 200px** where the height should also get calculated. (So the image should keep its width-to-height scale) This was all I get so far...
2018/03/17
1,203
4,436
<issue_start>username_0: I am writing Automation scripts using protractor. I have created a java script file in which I have created a function. PlatformviewCnOPage is my JS file and searchCapabilityOfferingsName is function. I want to call this function in another function (in same file). ``` var PlatformviewCnOPag...
2018/03/17
3,450
9,189
<issue_start>username_0: I am currently using D3 v4. My x scale is a scaleBand where I am taking a country name for the display and my y scale is scaleTime. When I am trying to get a new xScale in the zoom function it's throwing an error at rescaleX. I looked at many examples online but all of them either have a linear...
2018/03/17
765
2,596
<issue_start>username_0: I created a `file.h` and a `file.c` how can I compile them on Ubuntu?<issue_comment>username_1: Use following command to compile your program(For GCC Compiler): ``` gcc file.c -o file ``` No need to compile file.h file. Upvotes: 1 <issue_comment>username_2: **You only need to compile your `....
2018/03/17
789
2,477
<issue_start>username_0: I am trying to build a docker image whenever there is push to my source code and move the docker image to the ECR( EC2 Container Registry). I have tried with the following build-spec file ``` version: 0.2 env: variables: IMG: "app" REPO: "<>.dkr.ecr.us-east-1.amazonaws.com/app" ...
2018/03/17
618
2,001
<issue_start>username_0: New to python and I cannot import modules that I have installed via pip. For instance, I have installed numpy though cannot import it. I have a feeling from trying to work this out that it is installing to the wrong directory, or I am calling the wrong version. ``` $ which python ``` retur...
2018/03/17
979
2,149
<issue_start>username_0: I have an batch of output hidden vector from GRU. It's shape is [1,4,256] ``` ( 0 ,.,.) = -0.9944 1.0000 0.0000 ... -1.0000 0.0000 -1.0000 -1.0000 1.0000 0.0000 ... -1.0000 0.0000 -1.0000 -1.0000 1.0000 0.0000 ... -1.0000 0.0000 -1.0000 -1.0000 1.0000 0.0000 ... -1.0000 0....
2018/03/17
434
1,488
<issue_start>username_0: I tried to execute commands read it from txt file. But only 1st command is executing, after that script is terminated. My script file name is shellEx.sh is follows: ``` echo "pwd" > temp.txt echo "ls" >> temp.txt exec < temp.txt while read line do exec $line done echo "printed" ``` if I keep...
2018/03/17
678
3,211
<issue_start>username_0: So I was wondering that if a table is in editing mode(say in SQL), it cannot be accessed or changed by some other user. But then how is that we see real time visualization in Tableau ?, how come we are seeing charts but they are being updated at the back end in real time. Technically it can't b...
2018/03/17
478
1,609
<issue_start>username_0: I'm trying to write my own implementation of show for my Tree type. But the following code: ``` data Tree a = Leaf a | Branch (Tree a) (Tree a) instance Show (Tree a) where show (Branch a b) = show $ "<" ++ show a ++ "," ++ show b ++ ">" show (Leaf a) = show a ``` is yielding: ``` ...
2018/03/17
1,712
6,460
<issue_start>username_0: Consider my code below. My understanding of unique pointers was that only one unique pointer can be used to reference one variable or object. In my code I have more than one unique\_ptr accessing the same variable. It's obviously not the correct way to use smart pointers i know, in that the p...
2018/03/17
700
2,372
<issue_start>username_0: Slack themes are available in the web app using Stylish see <https://userstyles.org/styles/browse?search_terms=slack> However there must be a way to use them on the Desktop application. What is the hack?<issue_comment>username_1: UPDATED LATEST! Slack desktop app now supports dark mode nativel...
2018/03/17
1,218
3,892
<issue_start>username_0: I've been trying to set up clear information on iterating through and i and then j, but i get stuck when trying to make sense of the while loop? Can someone please give me some information on how to solve something like this please?<issue_comment>username_1: In order to calculate all time-comp...
2018/03/17
1,194
4,050
<issue_start>username_0: I have an Array class written with RAII in mind (super simplified for the purpose of this example): ``` struct Array { Array(int size) { m_size = size; m_data = new int[m_size]; } ~Array() { delete[] m_data; } int* m_data = nullptr; int m_size...
2018/03/17
3,004
10,434
<issue_start>username_0: I have a code to get local ip address. This is the code I use. ``` typedef std::map settings\_t; void loadLocalIp (settings\_t &ipConfig) { struct ifaddrs \* ifAddrStruct=NULL; struct ifaddrs \* ifa=NULL; void \* tmpAddrPtr=NULL; getifaddrs(&ifAddrStruct); for (ifa = ifAddrStruct; ifa...
2018/03/17
2,728
9,679
<issue_start>username_0: Can somebody tell me what the equivalent of this answer <https://stackoverflow.com/a/27312494/9507009> without lambda expression, please ? > > Extra: One-shot AsyncTask Example > > > > ``` > class InternetCheck extends AsyncTask { > > private Consumer mConsumer; > public interface Consu...
2018/03/17
1,425
5,960
<issue_start>username_0: Let's say we use Java SE (no libraries) and have the following situation. We have a class: ``` public class DriverInfo { private final int age; public DriverInfo(int age) { this.age = age; } // getter here } ``` In some countries there is a requirement that you can ...
2018/03/17
1,330
5,444
<issue_start>username_0: I have the following validation function checking if a user exists: ``` validate.user = async (user, password) => { const matches = await bcrypt.compare(password, user.password); if (matches) return user; if (!matches) { return validate.logAndThrow('User password does not m...
2018/03/17
539
1,912
<issue_start>username_0: Here's a strip of my code: ``` $("#body").val("Dear Supplier,\n\nWe would like to cancel our order of [product specifications] made on [date of order submission]. Please send us a reply to provide confirmation at earliest convenience. \nThank you.\n\nYours sincerely,\n..."); ``` Is there ...
2018/03/17
907
3,703
<issue_start>username_0: With the code below: ``` function create_table() { $.ajax({ method: "GET", url: "/api/data/", success: function(data){ $('#table').load('http://127.0.0.1:8000/results'); $('#go_back').remove(); }, error: function(error_data){ ...
2018/03/17
990
3,790
<issue_start>username_0: I am trying to fill-up page numbers of a Book in [its Index Wikisource page](https://ta.wikisource.org/s/5be). The following code writes well in the specific pageNumber parameter. If the page is empty, it looks fine. But if i run the code another time, due to the concatenation the 67 becomes 67...
2018/03/17
1,200
4,400
<issue_start>username_0: I am following couple of tutorials for random hex generation for a map. I am currently trying to randomly generate continents based on single hex on the map by getting other hexes surrounding that particular hex. This is my code for putting all the neighboring hexes into an array: ``` pub...
2018/03/17
785
2,971
<issue_start>username_0: I'm newbie to JS. I've a code sample below, in which I've written a JS function through which I'm trying to change value of <**p**> tag after a button click. My question is why only setting **innerHTML** work with 'getElementById()'; but not with the other approaches? ``` function myFunction(...
2018/03/17
1,502
4,416
<issue_start>username_0: I am trying to find all the items between two given indexes. for eg: i have list that looks like this: ``` mylist = ['ABC', 'COMMENT', 'YES', 'YES', 'NO', '123', 'COMMENT','GONOW','MAKE','COMMENT', 'YES','COMMENT'] ``` i want the output to be show as below: **Note: Below outputs are the ind...
2018/03/17
1,181
4,191
<issue_start>username_0: I have a `User` model that has a child association of `items`. The `:name` of items should be unique for the user, but it should allow different users to have an item with the same name. The Item model is currently set up as: ``` class Item < ApplicationRecord belongs_to :user validates :...
2018/03/17
699
2,762
<issue_start>username_0: So I was exploring PWAs today and followed [Your First Progressive Web App](https://developers.google.com/web/fundamentals/codelabs/your-first-pwapp/). It takes 5 mins and works on my laptop but the problem is, I can't figure out how to browse it through my phone yet. So I searched and found [H...
2018/03/17
1,156
4,465
<issue_start>username_0: I use ReflectionTestUtils to set int field in my service class to test the class. My service class like: ``` @Service public class SampleService { @Value("${app.count}") private int count; @Value("${app.countStr}") private String countStr; public int getCount() { ...
2018/03/17
308
1,031
<issue_start>username_0: I am looking for the files having string say "My\_Name" In my backup folder of Linux server. where I have zip of works of every day. like MyWork\_20180306.zip. Searching in one zip file would be enough. because there are 100 of zips with name pattern MyWork\_yyyymmdd.zip. I am using below com...
2018/03/17
444
1,431
<issue_start>username_0: I am new to Php and Mysql. I have a table called ut\_posts having multiple columns.I want to query latest 5 records from each column based on the column status as 1. Below is my query to fetch records. But it seems to be not working. ``` SELECT * FROM( SELECT * FROM ut_posts WHERE political_n...
2018/03/17
787
2,566
<issue_start>username_0: I want to move the digits/numeric string from front of line to end of line, example of input: ``` 123example 321example 34292example ``` expected output: ``` example123 example321 example34292 ```<issue_comment>username_1: GNU awk's `match` function can do the job: ``` gawk 'match($0, /^(...
2018/03/17
757
2,766
<issue_start>username_0: How can I annotate the yield type of a `contextmanager` in PyCharm so that it properly guesses the type of the value used in the `with` clauses - just as it guesses that the `f` created in `with open(...) as f` is a file? For example, I have a context manager like this: ```py @contextlib.cont...
2018/03/17
868
3,188
<issue_start>username_0: I am using **MySQL** database table **scholarship\_discount**. where I have three fields that are **maxPercentage, min Percentage and name**. So I want to run a query for getting rows if all fields satisfy my condition. I am using Laravel 5.6 Framework. problem is when i am running this query i...
2018/03/17
779
2,866
<issue_start>username_0: i'm working on some kind of educational game, in this game i represent nine levels in recyclerview each level is enabled when the previous one, now i'm trying to make one item in the recycler View enable and the others unable, i been searching in youtube , and other websites, my question is how...
2018/03/17
1,186
3,975
<issue_start>username_0: Is there a way to enter a single jar name to maven and get the full path of jars that added it to my project?<issue_comment>username_1: The best thing that you can do is using the [`mvn dependency:tree` command](https://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html). It doe...
2018/03/17
346
1,239
<issue_start>username_0: Please find the below url. <https://stackblitz.com/edit/angular-w4lj6q?file=app%2Fapp.component.ts> I am using http module and trying to get the data from json file but i am getting below error. can you please help somebody to fix the issue. Error : errors.js:55 ERROR SyntaxError: Unexpected...
2018/03/17
508
1,487
<issue_start>username_0: I am making a tkinter project for school. In the project, I need to use transparent images. In my school, the tkinter only supports GIFs so I cannot use a PNG. Moreover, only the modules that come with python 3 when installing are supported. We cannot download more. Is there a way to solve my p...
2018/03/17
676
1,967
<issue_start>username_0: I need allow links in messages, when user send message. How I can do this? ``` @foreach($mess as $message) - ![$message->sender->name]({{ $message->sender->avatar }}) {{ $message->sender->name }} @if(Helper::getOnlineUser($message->sender->id)) *fiber\_manual\_record* @else...
2018/03/17
1,877
5,225
<issue_start>username_0: UPDATE #1 I have one php file with multiple queries that create multiple csv files. I want to combine the queries. My mysql `table` has 5 columns: ID, currency, rate, date, temptime Create the table `table` and insert some records ``` CREATE TABLE IF NOT EXISTS `table` ( `id` INT NOT NU...
2018/03/17
337
1,140
<issue_start>username_0: I am trying to implement routes with classes in my express js application controller ``` class User { constructor (){ this.username = 'me'; } getUsername(req,res){ res.json({ 'name':this.name }); } } export default User; ``` In my ro...
2018/03/17
348
1,409
<issue_start>username_0: I'm trying to send all my js code from kendo grid to external file. But I can't do that, because js file cannot include razor syntax. How can I get my authors from controller method? **My editor that use razor in datasource** ``` function authorsEditor(container, options) { $('').appendTo...
2018/03/17
260
982
<issue_start>username_0: Suppose I have a list of `Flowable`, and I would like to do something until all `Flowable` are finished, how can I do it? Sample Code =========== ``` List> flowableList = getFlowableList(); List> results = blockUntilAllFlowablesAreFinished(flowableList); // is there a similar method? ... // d...
2018/03/17
439
1,636
<issue_start>username_0: So I have a program that I want to autostart in Raspberry Pi. My program is supposed to grab some api-info online and then display it on a little screen. I've added these lines to rc.local: ``` sudo python ./home/pi/Documents/Skanetrafiken_projekt/testStart.py & sudo python ./home/pi/Documents...
2018/03/17
1,933
7,884
<issue_start>username_0: I want to color every same word inside a RichTextBox. I can do it for one line but not on multiple lines. E.g., Welcome "user" ..... I want the word `user` to be an exact color in every line it's found. Here's with what i came up so far: ``` RichTextBox1.Text = "Welcome " RichTextBox1.Sele...
2018/03/17
289
972
<issue_start>username_0: "" these quotes are included in python's basic structure. What if we want output with these quotes like I mentioned in question?<issue_comment>username_1: Quotes are exchangeable in python, meaning that you can use single ones inside double ones and viceversa: ``` print("'Hi!'") 'Hi!' print('"...
2018/03/17
1,029
4,456
<issue_start>username_0: I have a client side React application and a Rails API from which the React app is fetching data. As you would expect I only want my React application to be able to fetch data from the API and the rest of the world shouldn't be able to receive data from it. Despite much searching I am yet to...
2018/03/17
456
1,875
<issue_start>username_0: I am struggling to find a solution to prevent clients from just creating random fields with values in a document where they have write access to in Firestore. Since you cannot restrict access to single fields in Firestore like you could with the realtime database, this seems hard to achieve. A...
2018/03/17
1,463
4,695
<issue_start>username_0: I need to (1) generate a markdown file with a (2) series of plots for specific columns of a dataset that (3) match a particular string At the moment I am stuck a the second point. I want to plot some ordered characters factors using ggplot for the columns which name start with "pre\_" Here t...
2018/03/17
3,372
14,071
<issue_start>username_0: I'm using symfony 3.4 with DoctrineMongoDBBundle and LexikJWTAuthenticationBundle . I'm trying to create a user login which return JWT token. If i specify the username and password under in\_memory provider, it returns the token but if i use a entity provider, it returns {"code":401,"message":"...
2018/03/17
868
3,081
<issue_start>username_0: I need help making a program that functions as a remote control. I'm not sure how to make a list from the different options that the user can choose. And then if it's not right just keep asking until the user powers the TV off. And it keeps giving me indentation errors, I need some advice with ...
2018/03/17
642
2,346
<issue_start>username_0: I am fetching the details of a user according to Id on button click in a popup in laravel but It is showing some error. This is viewuser.blade.php ``` #### Modal Heading × | | | | | --- | --- | --- | | {{$usersview->id}} | {{$usersview->firstname}} | {{$usersview->filename}} | Clos...
2018/03/17
487
1,721
<issue_start>username_0: I have an error when I create my ngIf in the img tag here is my code: ``` ![]() ``` Do you have an idea of the problem ? Thank you --- Thank you for answering, ok I put you a little more code. For information, if I remove the NgIf everything works correctly. ``` ![]() {{ results.title...
2018/03/17
975
3,690
<issue_start>username_0: I have some trouble with my project in IE11 (It's react project, I use create-react-app prod build). It works fine in other browsers and in IE11 too, except if I click precise link to one route in IE11 (other routes work), it throws an error "Object doesn't support property or method 'includes'...
2018/03/17
1,191
3,768
<issue_start>username_0: I am trying to find a way to create a named vector from two columns in a data frame (one of values, one of names) using pipes. Thus far I have the following (using `mtcars` as example data)... ``` library(tidyverse) x <- mtcars %>% rownames_to_column("car") %>% select(car, mpg) pull(mp...
2018/03/17
1,447
4,761
<issue_start>username_0: I am printing list of arrays using checkboxes, the scenario is if I click one checkbox it display a list of numbers in the array, so my problem is if I click any checkbox it is displaying if I uncheck list is still in the display? so I want the code for, if I uncheck my list should go and when ...
2018/03/17
186
604
<issue_start>username_0: I need dynamically change some options in Vue FullCalendar, but calendar didn't apply it. Please look my example <https://codesandbox.io/s/3q2j3r7pjq> Button in bottom set maxTime option from 20:00 to 18:00 How i can refresh calendar view?<issue_comment>username_1: I found it =) ```js this...
2018/03/17
412
1,482
<issue_start>username_0: I am querying my users to return a list of them, here is an example ``` $user_list = DB::table('users') ->select('name','email','created_at') ->orderBy('created_at') ->get(); ``` I am seeing the correct results, but I am trying to split these results up so...
2018/03/17
841
3,002
<issue_start>username_0: I used scroll view with images in table view cell But there are two problems : 1- there is an extra page not the count of my images and 2: the image doesn't fill the screen and there are white space between each image [![here is the image of what I see ](https://i.stack.imgur.com/geMpy.png)](h...
2018/03/17
675
2,601
<issue_start>username_0: I have a list of objects in my component and want to add functionality that when toggled, either get their `title` prop pushed onto an array or removed. The push part i implemented rather easily, however removing the value is pretty difficult since splicing by index doesn't help in this situati...
2018/03/17
670
2,015
<issue_start>username_0: Say I have four dates, for example: * 1/1/2018 * 2/5/2018 * 4/8/2018 * 9/9/2018 I want to 'select' a date in between the min and max. Either the 2/5/2018 record or the 4/8/2018 record ONLY. I think I'm close, but this query returns ALL the rows: ``` SELECT * FROM RUBERIC R WHERE R.SCHOOLI...
2018/03/17
626
2,168
<issue_start>username_0: I am trying to set the drop down height of my `AutoCompleteTextView` to be 60dp above the bottom of screen. ``` displayMetrics = new DisplayMetrics(); WindowManager windowmanager = (WindowManager) getApplicationContext().getSystemService(Context.WINDOW_SERVICE); windowmanager.getDefaultDispla...
2018/03/17
285
1,150
<issue_start>username_0: I'm trying to write my first watchOS app. I don't have an actual Apple Watch yet so I wanted to see if I could test it on my iPhone 7. So I wrote a basic Hello World app, and I can see that when I run it on my phone, it loads the launchscreen storyboard first and then moves onto the Main storyb...
2018/03/17
696
2,623
<issue_start>username_0: I have a PDFView that's set to use a pageViewController: ``` let pdfView = PDFView() let pdfDoc = PDFDocument(url: Bundle.main.url(forResource: "test", withExtension: "pdf")!) pdfView.document = pdfDoc pdfView.autoScales = true pdfView.displayDirection = .horizontal pdf...
2018/03/17
588
2,370
<issue_start>username_0: I'm using a Unity WebGL App in a Bootstrap modal (dialogbox) of a website. As long as this modal isn't visible (`display:none`), there is always this error in the console log: `"Screen position out of view frustum"`. How can I handle or avoid this error?<issue_comment>username_1: Ok, I've got ...
2018/03/17
762
2,330
<issue_start>username_0: I've been toying around with Scala's floating point interpolation feature but I can't really totally understand its rules. Could anyone shed light in what the different components of the formatting are? ``` println(f"${1234.5678}%1.2f") // prints 1234.57 println(f"${1234.5678}%1.5f") // prints...
2018/03/17
514
1,740
<issue_start>username_0: I am working on a website, which is using Bootstrap 4. In this, I am facing the responsive issues as follows: In my website, I have a search box and company name and my cart box as look like in the image. (in a maximized window) [![enter image description here](https://i.stack.imgur.com/jUQXX...
2018/03/17
1,315
4,463
<issue_start>username_0: I am following Chapter 5, "React with JSX", of "Learning React" from O'Reilly. I wrote the Recipes App using `create-react-app` as the base. **index.js** ```js import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import Menu from './Me...
2018/03/17
958
3,299
<issue_start>username_0: I just installed php-cuong customer avatar (<https://github.com/php-cuong/magento2-customer-avatar>) on magento 2.1.8 My problem is that when I want to upload an image in customer panel it has error and not to upload image. In the admin panel, customer tab when I choose a customer and upload ...
2018/03/17
996
3,345
<issue_start>username_0: I want to know that why the latest version of Android Studio(3.0.1) has no drawable(ldpi,mdpi,hdpi,xdpi,xxdpi,xxxdpi), and has drawable-v21 ,drawable-24 and drawable folder only. for different resolution what we have to do? I have few Questions here. **1) Whey not the drawable(ldpi,mdpi,hdpi,...
2018/03/17
182
621
<issue_start>username_0: I use raspberry pi 3. Type 'bluetoothctl' in the linux command shell and type 'scan on', then Raspberry pi search nearby devices. i want to be able to search for devices on one command line. for example, bluetoothctl + scan on , but i can't find this command i tried `bluetoothctl` && ...
2018/03/17
180
631
<issue_start>username_0: I have the next XML with 4 Imagebuttons , I've set the images in two LinearLayouts and i gave the buttons weight of 1 so they will be oredered in the same line , ``` ``` And as you can there are empty space between the buttons , is there a way to remove that space and make the stick to each ...
2018/03/17
1,231
3,953
<issue_start>username_0: I have legacy PHP application. It used mysqli to make mysql things. So in config I have DSN string to connect to mysql service. Like that `mysql://username:password@db_hostname/dbname` Mysqli returns error **Warning: mysqli::real\_connect(): php\_network\_getaddresses: getaddrinfo failed: Na...
2018/03/17
931
3,434
<issue_start>username_0: I want to check if a method has returned a particular type of value of and want to use it in `if` statement. I have a class called `DBConn` and there I have a static method called `dbConnect()` which returns a `Connection` type value if had a successful connection otherwise throws an exception...
2018/03/17
2,575
7,840
<issue_start>username_0: I have an array which is built from the user input. I am trying to loop through a nested key value pair and check whether the values in it matches any value of the given array. The purpose is to make a search facility. My array : ``` FilteredSelectedOptions=["20180211","Trax","Vienna","AN010...
2018/03/17
468
1,449
<issue_start>username_0: In fact I have a table to store the details of calls and I need to filter the calls which entered the IVR after 16:00:00 till 06:59:00 the next day for **ENTIRE MONTH** I have used *BETWEEN* clause but it includes the details of all times of the month. ``` SELECT [conversationId], [c...
2018/03/17
916
2,815
<issue_start>username_0: Hello i am creating a best recently product view based on php cookies. first of all whenever user view some data so i store cookie as follow ``` //by Creating Manually array $cookieArr = array("productid"=>$row_category[0],"views"=>1); setcookie("myshopping", $cookieArr, time() + (8640000 * 30...
2018/03/17
519
1,605
<issue_start>username_0: I just wanted to know that I have some values written in Cell `J10` as shown in image and want to sum these values in cell `K10` cell. To do so, I currently add them manually by typing `=1.25+1.25-1+.5` in cell `K10`. Is there any way that cell `K10` automatically calculates the values entere...
2018/03/17
927
3,496
<issue_start>username_0: I want to make something like article to read view controller that contains UIImage and Label nested in the scroll view. I want if the article content is not to big, the scrolling function is disabled, but if the content is big, I want it can be scrolled and it can be scrolled as the same heig...
2018/03/17
479
1,831
<issue_start>username_0: I have one question, can we modify or assign any viewing angle to HTML visible tags because when I visited one website <https://datatables.net/download/> While I see header of this website the first thought was come in my mind is whether there's any problem with the header? After scrolling I f...
2018/03/17
412
1,400
<issue_start>username_0: I want read variable value from another jar *Main.jar* ``` public static int version = 2; ``` I already did add libraries navigate to Main.jar (lib/Main.jar) then I do this from Loader.jar ``` int version = dummy.Main.version; ``` Do replace with a new one if there are update *Loader....
2018/03/17
272
957
<issue_start>username_0: ``` public class Fruit { public String name; public double juiceAmount; public Color color; } ``` --- ``` public class Orange extends Fruit { public String name = "Orange"; public double juiceAmount = 0.3 * 250; public Color color = Color.ORANGE; public void se...
2018/03/17
280
912
<issue_start>username_0: I want a JavaScript object which should have multiple key values pairs. However, I am unable to add. On clicking a function, I am getting multiple key value pairs as ``` {id:"1" ,desc: "first"} , {id:"2", desc:"two"} , {id:"3" , desc:"three"} ... ``` How can I add them to the object so that...
2018/03/17
637
2,188
<issue_start>username_0: I am having an issue running the schema.sql upon running the program. In my pom.xml, I already have the mysql config: ``` mysql mysql-connector-java runtime ``` I only have one class ``` @SpringBootApplication public class Application {...} ``` Under src/resources, I have schema.sql ...
2018/03/17
1,448
5,137
<issue_start>username_0: When I click the button I get the following error: ***index.html:12 Uncaught ReferenceError: greet is not defined at HTMLButtonElement.onclick (index.html:12)*** It seems as if the javascript code generated by webpack or ts-loader is not correct. Any ideas? **this is my index.ts** ```js fu...
2018/03/17
1,428
5,030
<issue_start>username_0: There are situations where you want a factory function to create some data, but for whatever reasons the data you return *must* contain references. This does not seem possible because you cannot return references from functions. Let's look at the following example code: ``` // Important: trai...
2018/03/17
753
3,136
<issue_start>username_0: We are in the processing of migrating from apache hbase to bigquery. Currently we have end to end tests (using cucumbers) that work with a docker container running hbase. There don't seem to be any bigquery docker containers or emulators (<https://cloud.google.com/sdk/gcloud/reference/beta/em...
2018/03/17
679
2,344
<issue_start>username_0: How do I send a notification email after a form has been submitted? I have a Google Form, I open it and I go to menu *More->Script Editor* and add a script: ``` function OnSubmit(e) { MailApp.sendEmail ("<EMAIL>", "Form Submited: Foo feedback " + Date.now(), "Form Submited: Foo feedback"); ...
2018/03/17
1,463
4,191
<issue_start>username_0: I have a list of lists containing: ``` animal = [[1, 'Crocodile','Lion'],[2, 'Eagle','Sparrow'],[3, 'Hippo','Platypus','Deer']] ``` and I want to join the string elements in each list inside the animal table so that it becomes a single string: ``` animal = [[1, 'Crocodile, Lion'],[2, 'Eagl...
2018/03/17
615
2,133
<issue_start>username_0: I'm constructing text, and some pieces of the text should contain a hyperlink. However, these hyperlinks do not redirect to a webpage but should open a page in the UWP app (the currently running UWP app, not a new instance of it or a different app). A `HyperlinkButton` can only open URL's that...
2018/03/17
379
1,253
<issue_start>username_0: I have an app configured ``` config :my_app, ecto_repos: [MyApp.Repo, MyApp.LegacyRepo] ``` MyApp.Repo's migrations are managed by Ecto. MyApp.LegacyRepo migrations are handled by Rails and error out on `mix ecto.migrate` Is there a way to specify "I have two repos, but please ignore the ...
2018/03/17
398
1,015
<issue_start>username_0: I have a list that looks like: ``` [['a', 'b', 'null', 'c'], ['d', 'e', '5', 'f'], ['g' ,'h', 'null' ,'I'] ] ``` I want to uppercase all strings, but when I try: ``` x = 0 for row in range(1, sheet.nrows): listx.append(sheet.cell(row, x)) [x.upper() for x in x in listx] x += 1 ```...
2018/03/17
462
1,249
<issue_start>username_0: So this code takes an input from the user and displays it stripped character by character as shown in the sample run down below. however. there is syntax as well as logical errors in this code which I tried to solve for days and it didn't work with me: ``` #include using namespace std; int ...
2018/03/17
273
894
<issue_start>username_0: Im trying a simple request to get data from a webserver, but running into an error on the console. ``` fetch('http://tcokchallenge.com/admin_cp/test2.json', {mode: 'no-cors'}) .then(function(response) { return response.json(); }) .then(function(text) { console.log('Request succe...
2018/03/17
815
2,639
<issue_start>username_0: I'm writing a LLVM parser to analyse whether a program is adhering to a certain programming paradigm. To that I need to analyse each block of the IR and check certain instructions. When I created the .ll file, I don't see the label names but an address: ``` ; :4 ; preds = %0 %5 = load i32\* %...
2018/03/17
760
2,292
<issue_start>username_0: Hello everyone i have a problem with my code and i'm not sure how to do this , i need to write code that draw this in console: [Draw '\*' in every even number](https://i.stack.imgur.com/Ox4BL.png) For that i need to use nested loops. So far i have only this: ``` var n = 5; var stars = ''; ...
2018/03/17
2,090
7,031
<issue_start>username_0: I'm having problems, Excel is not updating rows referring to other sheets in same workbook when ordering rows alphabetically. I have a userform in which there's a button `insertCM` with this code: ``` Private Sub insertButton_Click() ActiveCell.EntireRow.Select Selection.Insert Shift...
2018/03/17
713
2,495
<issue_start>username_0: I am trying to connect a facebook app but it is displaying error as "Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings." the domain i am using is <htt...