date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/06 | 1,161 | 3,338 | <issue_start>username_0: For a given networkx graph G, I would like to adjust the edge line\_width as a function of graph weights in Bokeh. Simplified example:
```
import networkx as nx
import pandas as pd
from bokeh.models import Plot, ColumnDataSource, Range1d, from_networkx, Circle,MultiLine
from bokeh.io import sh... |
2018/03/06 | 324 | 1,088 | <issue_start>username_0: For Openshift jobs, one way is to use the oc run command to execute a command against an image, this will run the command inside a pod. Is there way to apply configuration such as a config map or secret to this mechanism (oc run).
Please advise.
B<issue_comment>username_1: add following lines ... |
2018/03/06 | 315 | 1,016 | <issue_start>username_0: I have a some table data that looks like this:
```html
This is some Text!
Texas |
```
How can I use jQuery to remove the text (This is some Text) but keep the span class?<issue_comment>username_1: add following lines before output:
```
weight_map = dict(zip(zip(source, target), weight))
... |
2018/03/06 | 643 | 2,628 | <issue_start>username_0: In my application I cannot set geckodriver executable location using `System.setProperty` and I cannot set it in the path.
Why? Because my app is multi-tenant... and each tenant has their own directory where Firefox and Geckodriver is copied and ran. This is due to bugs in the Firefox + Geckod... |
2018/03/06 | 312 | 1,254 | <issue_start>username_0: I'm currently trying to authorize my api depending on the user group. After enabling the group claim in Azure Active Directory I have realized that the groups claim is not including in the access\_token but the id\_token.
I'm trying to avoid makings requests to the graph api and I've seen some... |
2018/03/06 | 1,869 | 2,835 | <issue_start>username_0: I have `df1`:
```
A B C
0 15:00:00 2002-01-13 8
1 15:00:00 2002-01-13 9
2 15:30:00 2002-01-13 8
3 15:30:00 2002-01-13 9
4 16:00:00 2002-01-13 8
5 16:00:00 2002-01-13 9
6 15:00:00 2002-01-14 17
7 15:00:00 2002-01-14 19
8 15:30:00 2... |
2018/03/06 | 980 | 2,978 | <issue_start>username_0: I used the 'chart.Correlation' in 'performanceAnalytics' package to draw a correlation matrix plot. But I cannot change the point symbol with 'pch' parameter. Here is the code,
```
install.packages("PerformanceAnalytics")
library(PerformanceAnalytics)
chart.Correlation(iris[1:4], histogram=... |
2018/03/06 | 1,828 | 6,087 | <issue_start>username_0: I have implemented two classes (parent and derived) comparison operator, but testing it I have noticed a confusing behavior in case of using pointers. In addition, I have some other questions about good practices.
Here it is the code:
```
struct A
{
int getN() { return _n; }
virtua... |
2018/03/06 | 554 | 2,293 | <issue_start>username_0: Keep getting an error 'Cannot access a closed Stream.'
Does the file need to be physically saved on a server first, prior to being Streamed? I am doing the same with Excel file and it works just fine. Trying to use the same principle here with PDF file.
```
[HttpGet("ExportPdf/{StockId}")... |
2018/03/06 | 1,614 | 4,703 | <issue_start>username_0: I'm facing problem to rearrange a huge data based on cell value.
Example: Currently I have an excel file like below image.
Current Excel file

>
> Mr. Ajith | Customer ID: 119982928 | Location: Mumbai, India |
> Profession: Business... |
2018/03/06 | 369 | 1,397 | <issue_start>username_0: I am trying to send an image to the **preview controller** as shown below. My issue is that in the **preview controller** `newImage` is `nil`
Below is the code:
**FirstViewController**
```
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
print("In here")
if segue.i... |
2018/03/06 | 373 | 1,436 | <issue_start>username_0: Good afternoon,
Im searching for hours and didnt find anything, its possible to disable some users to push on master in AWS Codecommit?
Best regards,
<NAME>.<issue_comment>username_1: Currently branch level permissions are not available in AWS CodeCommit.
Upvotes: 0 <issue_comment>username_2:... |
2018/03/06 | 421 | 1,635 | <issue_start>username_0: I have come across the declaration below
```
template >
class basic\_istream;
```
My doubt is: what is the purpose of the dependent `class traits = char_traits` part, when we could declare the whole thing with just
```
template
```
If by using the latter we confirm to allow any type as ... |
2018/03/06 | 1,510 | 5,238 | <issue_start>username_0: Good afternoon,
I am a completely new to the world of VBA. I have a workbook that is used to record risks, I have a sheet called RiskRegister that holds all the data on each of the risks recorded. I also have a summary tab which uses the ID from the risk register sheet and uses vlookup formula... |
2018/03/06 | 667 | 1,539 | <issue_start>username_0: What is the best practice to remove all rows that has a column with low frequency value?
Dataframe:
```
IN:
foo bar poo
1 a A
2 a A
3 a B
4 b B
5 b A
6 b A
7 c C
8 d B
9 e B
```
Example 1:
Remove all rows that have less than 3 in frequency value in column... |
2018/03/06 | 554 | 2,079 | <issue_start>username_0: I have 2 views, one is map view, one is grid view of restaurants. I have a toggle to switch between them. Both of them are in the body. I have a javascript function to switch between them below
```
$(function() {
$('#map-toggle').change(function(){
if ($(this).prop('checked')){
... |
2018/03/06 | 890 | 3,506 | <issue_start>username_0: I am using `Django version 2.0.2.` My Django application is connected to `MS SQL` (connection below).
```
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'NAME': 'projectcreation',
'HOST': 'Host_name',
'OPTIONS': {
'driver': 'ODBC Driver ... |
2018/03/06 | 352 | 1,363 | <issue_start>username_0: I've configured my command line hg to use p4merge.
When I merge in a branch and there is a conflict, hg opens p4merge, to which I resolve the issues, save, then close p4 merge.
Meanwhile...
The command line is stuck on:
running merge tool p4mergeosx for file
There is no way to tell the... |
2018/03/06 | 1,131 | 3,742 | <issue_start>username_0: I have a table that has table names in them. I would like to run a query to return them and then use them as a table name for another query.
```
select tablenames
from tablelist
```
Results:
```
tablenames
----------
table1
table2
table3
```
I then want to use those table names in a que... |
2018/03/06 | 731 | 2,266 | <issue_start>username_0: I'm working on doing hangman and have simplified my code for the sake of the question.
Essentially I am trying to randomly select within a dictionary which is inputted by the user, a random object within whichever option the user chooses. For example if the user put a for the categ, and FIRST ... |
2018/03/06 | 630 | 1,745 | <issue_start>username_0: ```
int i;
char str[100];
char *p;
puts("Enter a string:");
gets(str);
system("cls");
p = &str
for (i = 0; i < strlen(str); i++) {
printf("\n%s", p);
++p;
//printf("\n%d %d", i, *p);
}
for (i=2*i+1; i > strlen(str); i--) {
printf("%s\n", p);
... |
2018/03/06 | 925 | 2,925 | <issue_start>username_0: Before reading below, do note that I have only recently started learning Javascript.
I am interested in making a text-based survival game. When trying to subtract a random number of survivors from the whole, I attempted to write what I think is, *"A raid happens if the number is 0.50 - 1.00, a... |
2018/03/06 | 812 | 2,890 | <issue_start>username_0: I'm creating a chat app which when messages load (From Firebase), the div containing the messages scrolls to the bottom to display the most recent appended message div. scrollTop *does* somewhat work but it won't scroll all the way to the bottom, no matter what values I use for scrollTop. I've ... |
2018/03/06 | 573 | 2,126 | <issue_start>username_0: For admins: I have checked similar topics here but unfortunatelly I didn't find an answer.
I'm trying to delete all html tags from http GET response.
I have a controller written in ASP.NET MVC which calls a database procedures. These procedures return json where html tags are present.
An appli... |
2018/03/06 | 621 | 2,251 | <issue_start>username_0: I want to export a hash table of data to html via powershell, but the ConvertTo-HTML command does not seem to export certain characters.
For example:
If I had a table with a string containing the character "<", that table would then export a line like this:
```
| < |
```
Is there any way, ... |
2018/03/06 | 1,064 | 3,289 | <issue_start>username_0: I am trying to make a timetable using a .txt file as a source, but I am having some trouble. I am creating a website, using C# and ASP.NET.
[](https://i.stack.imgur.com/1TWUb.jpg)
And this is what I get:
[](https://i.stack.imgur.com/uGy... |
2018/03/06 | 1,510 | 3,510 | <issue_start>username_0: im incrementing a counter that leads to an index of a list
code:
```
delist = []
i = 1
idx = [0, ..., 10, ..., 100, ..., 1000, ...]
while( i < len(idx)):
if i in range(1, 10):
delist.append("ladybug_cube_00000" + str(idx[i]) + "_0.jpg")
elif i in range(10, 100):
de... |
2018/03/06 | 954 | 2,558 | <issue_start>username_0: I have a table named `Transaction` for customer transactions, it contains:
```
CustomerID,
Datetrans (transaction date)
Timetrans (transaction time)
```
I would like to return the max(Datetrans), given that a customer can make two transactions a day; I want to get the max value of Timetran... |
2018/03/06 | 489 | 1,539 | <issue_start>username_0: I have a large object with multiple objects nested within it. I have a function that will take the key of one of the objects, and I want to add a new property to the sub-object that is called. Something like <https://jsfiddle.net/cf15xdfm/2/>
```
var my_object = {
object1: {
key: 'valu... |
2018/03/06 | 1,224 | 4,484 | <issue_start>username_0: I have a Node server running on AWS Elastic Beanstalk. One of my endpoints accepts a huge payload and the function itself is pretty slow and lengthy, and can take upwards of 10+ minutes.
Due to business requirements it must remain as a single HTTP POST and cannot be split up to be any smaller.... |
2018/03/06 | 569 | 1,996 | <issue_start>username_0: Getting an error in on THEN in my query.
```
case WHEN (I.stackoverflow in 'VBA', 'SQL')
THEN replace(I.superuser, '~', '.')
WHEN (I.stackoverflow in 'Java', 'design')
THEN substr(position_name, (instr(position_name, '_')+2), (len(position_name)-instr(position_name, '_'... |
2018/03/06 | 284 | 1,095 | <issue_start>username_0: Since Node.js is single threaded and it's built over v8 engine of google chrome but the chrome has more then one thread.
Why we call it single threaded ?<issue_comment>username_1: It's single threaded on the *JavaScript* side, but there are multiple threads under the hood of v8.
Upvotes: 2 <is... |
2018/03/06 | 447 | 1,908 | <issue_start>username_0: What is the Best Data Structure for `Undo/Redo` , (`ctrl`+`z` , `ctrl`+`y`) ?
Before few days our teacher said that the stack is the best for undo , but i am thinking about *double-linked list* ..
is there any another data structure do our purpose in a better quality ? or one of those two lead... |
2018/03/06 | 565 | 2,349 | <issue_start>username_0: When trying to create app requests through facbeook http graph api I'm getting the error "(#2) Failed to create any app request".
As described in the documentation (<https://developers.facebook.com/docs/graph-api/reference/user/apprequests/>) I'm using the URL <https://graph.facebook.com/>{us... |
2018/03/06 | 1,203 | 4,867 | <issue_start>username_0: In spring web we could use annotation @ExceptionHandler for handling server and client errors for controllers.
I've tried to use this annotation with web-flux controller and it still worked for me, but after some investigation I've found out [here](http://www.sparkbit.pl/spring-web-reactive-re... |
2018/03/06 | 869 | 2,952 | <issue_start>username_0: I'm trying to create a user-generated format, save it to a library, and then use that format. For some reason when I save the format to the library it doesn't seem to work when I try to use it in a proc print statement later on.
Whenever I run this code it doesn't throw an error but the printe... |
2018/03/06 | 1,122 | 3,967 | <issue_start>username_0: I'm trying to make a webpage where the left-half of my content respect the bootstrap `.container` max-width size, while my right side can go all the way to the end of the page, as a `.container-fluid` would work.
Something like this image:
[
Dim sourceColumn As Range, targetColumn As Range
Set sourceColumn = Workbooks.Open(ThisWorkbook.Path & "\res\res.xlsx", False, True).Worksheets(1).Columns("A")
S... |
2018/03/06 | 289 | 1,043 | <issue_start>username_0: This is from lightgbm doc[](https://i.stack.imgur.com/iOet9.jpg)
But I still don't understand what is bin? and how it is affecting the performance of lightgbm?<issue_comment>username_1: A key part of LightGBM is that it bins co... |
2018/03/06 | 657 | 2,096 | <issue_start>username_0: I am using **Symfony 4 Flex**.I using this [tutorial](https://symfony.com/doc/current/doctrine.html) .
This is my my database connection information
database\_host: 127.0.0.1
database\_user: root
database\_password: <PASSWORD>
At first i install Doctrine
```
composer require doctrine maker
... |
2018/03/06 | 517 | 1,805 | <issue_start>username_0: I am taking an intro to CS class at my University and we are doing an assignment that has us fix some code. I have fixed most of the errors, however cannot seem to see why this one is occuring. Here is my source code:
```
import scala.io.StdIn._
println("Does you character have a hat?")
var a... |
2018/03/06 | 511 | 1,530 | <issue_start>username_0: I have this dataframe:
```
gender <- c("m", "m", "f", "f")
value <- c(75, 50, 20, 80)
df <- data.frame(gender, value)
df
```
I want to change the values in the column "value", conditional uppon the value on column "gender".
If the target change is a fixed number or character, the mutation ... |
2018/03/06 | 846 | 2,903 | <issue_start>username_0: I am trying to set array query params with Vue-router, but I can't find a solution.
Currently the result is
```
http://localhost:8080/#/locations?page=1&categories=1&categories=2&categories=3
```
But my results should look like this
```
http://localhost:8080/#/locations?page=1&categories... |
2018/03/06 | 615 | 2,163 | <issue_start>username_0: There is another post on here about how to add ssh keys to your terraform instance. But, my question is how do you use project wide ssh keys within terraform?
```
/*CREATE INSTANCE TEMPLATE*/
resource "google_compute_instance_template" "template-030601" {
name = "terraform-templat... |
2018/03/06 | 566 | 1,556 | <issue_start>username_0: I'm trying to get a value out the following XML using Python but i'm not sure how to do it:
```
Feed from some link here
https://somelinkhere/folder/?parameter=abc
2018-03-06T17:48:09Z
company.com
2018-03-06T17:48:09Z
4
1
```
I'm looking for the last line. How would I go about getti... |
2018/03/06 | 1,578 | 6,167 | <issue_start>username_0: I have seen a number of questions around retrying Promises, however what I'm looking to do is slightly different in that I'd like to manage the retrying/rejecting of promises *conditionally* until the max retries have been reached.
To give a simple example, imagine we wrap a promise around an ... |
2018/03/06 | 680 | 2,226 | <issue_start>username_0: I just upgraded my spark project from 2.2.1 to 2.3.0 to find the versioning exception below. I have dependencies on the spark-cassandra-connector.2.0.7 and cassandra-driver-core.3.4.0 from datastax which in turn have dependencies on netty 4.x whereas spark 2.3.0 uses 3.9.x.
The class raising ... |
2018/03/06 | 406 | 1,140 | <issue_start>username_0: I have many files in a directory like below using cut the "-" character on particular places or any other solution
```
file-2018-09-07-02
file-2017-07-08-03
file-2018-05-09-04
file-2017-03-10-05
file-2016-10-11-06
```
and so on ..... , How can I convert them to as below
```
file-20180907... |
2018/03/06 | 1,057 | 2,854 | <issue_start>username_0: I'm trying to modify the for loop on a list of files [from here](https://stackoverflow.com/questions/138497/iterate-all-files-in-a-directory-using-a-for-loop), adding to it, a check if a sub-string exists in the file name:
`for /r %%i in (*) do echo %%i`
How can I modify the above windows bat... |
2018/03/06 | 1,114 | 2,955 | <issue_start>username_0: I'm unable to handle sub-routes while using riot-router
I.e, I would like to handle sub-routes in my app like
* user/sujeet/edit
* user/sujeet/view
* user/sujeet/summary
In my **app-user.tag** I'm only able to extract first level of detail but not the entire sub-route into tokens.
Here is t... |
2018/03/06 | 715 | 2,126 | <issue_start>username_0: I have several strings of text where at the end of the country name is [4] or [8] or [3] I.E. digits 1-20
ex1: Bulgaria[6]
how do I remove the [6] and just have Bulgaria?
ex2: 100 Haddon Ave, Westmont, NJ
how to remove all the info after the commas to just get 100 Haddon Ave ?<issue_comm... |
2018/03/06 | 734 | 2,297 | <issue_start>username_0: I have the following requirement :
1. create an office 365 unified group
2. add members to it
3. add each of the members to the accepted senders list of the group
4. fetch the following IDS for local storage (sql server)
* The group ID
* The group's main thread ID
* The group's main planner... |
2018/03/06 | 430 | 1,335 | <issue_start>username_0: Hı;
ı want use word\_limieter for my string
for example
```
$string="this is a story of a man who was live in LA";
echo word_limiter($string, 4);
```
it's print on screen : this is a story
but ı want to get between 4th and 7th words (story of a man)
how can ı do it ?<issue_comment>userna... |
2018/03/06 | 2,028 | 6,698 | <issue_start>username_0: I have an existing system, which provides 3D meshes. The provided data are an array of vertex coordinates with 3 components (x, y, z) and an index list.
The issue is that the index list is a consecutive array of quad primitives.
The system has to be make runnable with a core profile [OpenGL ... |
2018/03/06 | 425 | 1,389 | <issue_start>username_0: I have this code:
```
#include
using namespace std;
int main() {
int square; char state;
cout<<"Write a numbber"; cin>>square;
square \*= square;
cout< 10): state = 'u'; // I try this, but not works
}
return 0;
}
```
I would like to know how a condition is made inside a switch, in c ++.<i... |
2018/03/06 | 523 | 1,963 | <issue_start>username_0: I've set up some code to tweak a few things in the WooCommerce cart using Javascript fired by a PHP if statement, dependent on the subtotal in the cart. I've successfully used the below code to get the subtotal:
```
global $woocommerce;
$subt = $woocommerce->cart->subtotal;
```
Unfortunately... |
2018/03/06 | 477 | 1,668 | <issue_start>username_0: I do not have much experience with flutter, what I would like to know is if there is any way to download a video of amazon s3 and save the file in the memory of the cell phone, thanks
This is the url of the video "<https://s3-us-west-1.amazonaws.com/videos.ecuestre.digital/165-3745-40957-1.mp4... |
2018/03/06 | 919 | 2,944 | <issue_start>username_0: I have ~1000 files with with a two-column array with varying numbers of rows having the extension .csv. I need to read each line of the file, skip over the 1st header line, and then write all the contents as a tab-delimited .txt file. I have tried to write this myself in python.
I want to chan... |
2018/03/06 | 344 | 1,266 | <issue_start>username_0: I have a ImageView that I want to add a shadow to it, but with a large radius area.!
I tried using `elevation` but it doesn't seem to increase the radius very much..!
I also tired using xml drawable shape but with no luck.
Here's an example of what I want to achieve. assuming the white circ... |
2018/03/06 | 684 | 2,664 | <issue_start>username_0: What does the "(healthy)" string in STATUS column stands for?
```
user@user:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
X X X X Up 20 hours X X
X X X X Up 21 h... |
2018/03/06 | 696 | 2,756 | <issue_start>username_0: My goal is to create a UIProgressView that shows the progress that the user enters in. I have been looking for examples everywhere and all of them use the progress view with a timer. I also want the progress to be saved using User Defaults. Is there a way to do it where the user enters in the v... |
2018/03/06 | 572 | 1,930 | <issue_start>username_0: I've put an item into ElasticSearch with given index and type. How do I retrieve it?
Details:
The [official documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-type-query.html#query-dsl-type-query) states this:
```
GET /_search
{
"query": {
"t... |
2018/03/06 | 534 | 1,986 | <issue_start>username_0: What does "mount" mean on using instance of vue.js to target a DOM element? (even in plain English?). For example in following:
>
> This code creates a new instance of Vue and **mounts** it on the HTML
> element with the ID of app.
>
>
>
> ```
> const app = new Vue().$mount('#app');
>
> `... |
2018/03/06 | 471 | 1,732 | <issue_start>username_0: I'm basically looking for some sort of either line of code or loop that I could use to just print text whenever an item of an array list is removed or haven't been able to find an answer.
```
while (arraylist.remove()=true)
{
//text
}
```
Obviously this code won't work but that's the ide... |
2018/03/06 | 431 | 1,290 | <issue_start>username_0: I have a program that sorts through a large series of data and pulls a bunch of necessary values and saves them as numbers or strings.
How do I then place those values into a new `dataframe`?
For instance:
```
labels = ['A', 'B', 'C', 'D']
df = pd.DataFrame(columns=labels)
```
Now I want t... |
2018/03/06 | 374 | 1,030 | <issue_start>username_0: I'm trying to find the days difference between two dates, and when I write: 'select date\_trunc('day',timetable.time) - date\_released as no\_days', I get a result that shows something like: "0 years 0 mons 3 days 16 hours 38 mins 28.00 secs". I only want to see '3' or '3 days'. Is there a way ... |
2018/03/06 | 1,154 | 4,909 | <issue_start>username_0: I'm creating a website with front-end angularJs and back-end Java API server. I've already done error message internationalization in API server, but I'm wondering if I should do the translation of api result in server-side? e.g. if a french user requests an apple object, should I return him tr... |
2018/03/06 | 356 | 1,019 | <issue_start>username_0: Is there a way to use the ternary operator inside a groupby condition?Apparently this syntax is invalid.
```
d = {'name':['bil','bil','bil','jim'],
'col2': ['acct','law', 'acct2','law'],
'col3': [1,2,3,55],
'col4': [1,1,1,2]
}
df2 = pd.DataFrame(data=d)
df2[['col4']] = df2... |
2018/03/06 | 565 | 2,269 | <issue_start>username_0: I have an azure function that downloads a file to a temporary file path and then saves the temp file to a blob. I have two questions:
1) Is there a way to manage the temporary files created by the function
Path.GetTempFileName(). i.e after the scope of the function delete the temp filename?
2... |
2018/03/06 | 268 | 980 | <issue_start>username_0: I have published a console application through .Net Core2, and copied the output folder with EXE file on server.
If I double click and execute it is running all fine. But when I am scheduling it though task scheduler it is giving error - 0XC0000005
Any idea what needs to be fixed, or how to t... |
2018/03/06 | 708 | 2,881 | <issue_start>username_0: I'm trying to understand the Kubernetes design on how/if worker nodes communicate with each other. I found documentation on the [node-master communication](https://kubernetes.io/docs/concepts/architecture/master-node-communication/) but nothing on node-node. I've understood that pods can commun... |
2018/03/06 | 566 | 2,147 | <issue_start>username_0: I want to check if element's style has rgb. For example
```
```
Jquery:
```
if $('.grid') style has rgba {
//do it
}
```<issue_comment>username_1: I documented before that [two pods within the same node can communicate directly](https://stackoverflow.com/a/46537432/6309).
But between ... |
2018/03/06 | 1,036 | 3,628 | <issue_start>username_0: I'm trying to do a binary sorting function using recursion. It works well with the values that exist in the `list[]` structure array. However, when I punch in a value that I know is not inside the array, instead of returning -1, it returns garbage value. I traced the code using debugger in MVS ... |
2018/03/06 | 707 | 2,611 | <issue_start>username_0: I'm trying to add multiple values into an existing data object `pathStats: []`
Code:
-----
```js
data () {
return {
pathStats: []
}
}
computed: {
loadDetails() {
fse.stat('C:/').then((res) => {
let edited = res.mtime
let created = res.birthtime
this.pathStats.... |
2018/03/06 | 756 | 2,701 | <issue_start>username_0: I'd like to manually sketch out a graph topology (literally point and click), and then use that sketch to create a `Graph` object using Python's `NetworkX` library, preferably (though not absolutely necessary) in a Windows environment.
It would probably work to draw the graph in Inkscape, and... |
2018/03/06 | 1,747 | 4,762 | <issue_start>username_0: Suppose I have function, `f`, which takes in some variable and returns a variable of the same type. For simplicity, let's say
```
def f(x):
return x/2+1
```
I'm interested in applying `f` to itself over and over. Something like `f(f(f(...(f(x))...)))`.
I could do this like
```
s = f(x)... |
2018/03/06 | 335 | 1,106 | <issue_start>username_0: How to print, display or find your current VueJS version?
All I can see is in my package.json object with dependencies where it says `^2.5.13`
```
"dependencies": {
"vue": "^2.5.13",
}
```<issue_comment>username_1: [Vue.version](https://v2.vuejs.org/v2/api/#Vue-version) Shows your curren... |
2018/03/06 | 236 | 746 | <issue_start>username_0: Please help me figure this out...
I have a temporary table that has NULL values. I want to only extract one record, representing rows that have data. What I currently have in the table is
[TableSample1](https://i.stack.imgur.com/moVzV.jpg)
When I run the following statement,
SELECT \* FROM ... |
2018/03/06 | 2,091 | 6,405 | <issue_start>username_0: I have some right-skewed data, and I'd like to visually compare distribution fits to the data on the regular scale and the log-scale using ggplot. However, when I use the scale\_x\_continuous() or scale\_x\_log10() to convert the distribution curves, the transformation does not translate correc... |
2018/03/06 | 716 | 2,589 | <issue_start>username_0: I am using TRI DDS - here is the prototype for the function I am trying to call:
```
template
dds::sub::cond::ReadCondition::ReadCondition (
const dds::sub::DataReader< T > & reader,
const dds::sub::status::DataState & status,
const Functor & handler
)
```
So I have a class that looks ... |
2018/03/06 | 469 | 1,987 | <issue_start>username_0: I am using FCM notifications for chat when user is not connected to xmpp.
There are 2 modes of Notifications in FCM
1. Notifications Message
2. Data Messages
I an using Data messages as Notification messages won't come if my app is cleared from recents
This approach is working fine for all t... |
2018/03/06 | 1,066 | 3,575 | <issue_start>username_0: I have a query in where I need to return only one row from a table based on a descending order of predicate preference. For Example:
```
SELECT *
FROM Tbl
WHERE col = 1
OR col = 2
OR col = 3;
```
In the above scenario, if col = 1, I don't want to return data where col = 2 or... |
2018/03/06 | 735 | 2,327 | <issue_start>username_0: I have a text in the h1 tag. I want to imitate what I have on the image. How can I have letters sitting on the bottom of the div and descenders of going to a div below it?[](https://i.stack.imgur.com/6w2W8.png)<issue_comment>us... |
2018/03/06 | 959 | 3,178 | <issue_start>username_0: I've a problem with Oracle forms 11g R2. I'm upgrading from Oracle forms 10 but I think that problem is not because of the upgrade.
I've installed Oracle Fusion Middleware and Oracle forms 11g R2. I've setup webutil. Installation is correct because I can get a test form.
I 've upgraded old fo... |
2018/03/06 | 4,653 | 13,495 | <issue_start>username_0: I am using the `d3` v3 script to visualize the Data. I need to highlight and bring the node front in mousecenter and vice versa in mouseleave. Now I can able to high light the node by increasing height and width of the node.
Can't able to bring the node front. I've tried using CSS like opacity... |
2018/03/06 | 272 | 941 | <issue_start>username_0: I have a Laravel model with many attributes. So, I need iterate over these attributes. How can I do this?
Something like this:
```
@foreach($model->attributes as $attribute)
// use $attribute
@endforeach
```
is it possible?<issue_comment>username_1: If you have an object, use `getAttributes(... |
2018/03/06 | 1,017 | 3,779 | <issue_start>username_0: Is there an easy way to convert frontmatter content to html on Gatsby, without just setting that content as html itself on the markdown?
So in this example:
```
---
about:
description: >-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in maximus lorem. Sed non neque eget augue ... |
2018/03/06 | 356 | 1,184 | <issue_start>username_0: There is an optimization for dl4j that only works with GPUs:
`DataTypeUtil.setDTypeForContext(DataBuffer.Type.HALF)`
I'd like to only make that call if the backend is a GPU.
In my Maven pom.xml, I've got
```
nd4j-native-platform
```
And I was looking at ways to read that value from Java... |
2018/03/06 | 868 | 3,055 | <issue_start>username_0: I'm trying to code a multilevel filter. I have folders and files.
```
public class Folder {
String name;
List folders;
List files;
...
}
public class File {
String name;
String type;
...
}
```
I need a filter who looks for some property e.g. name, which can be a folder/file name. I... |
2018/03/06 | 762 | 2,737 | <issue_start>username_0: I am using react with redux. In the redux layer I am using thunk. So component calls action, redux action calls a new layer -> service. The service handles http calls. When response is ok - I use the dispatch that thunk provides and return to the reducer. when the response is error I want to re... |
2018/03/06 | 810 | 2,778 | <issue_start>username_0: I have an issue with Pivot table in Python. Let's say that I have below values in list:
team\_A\_id = [1,5,10]
team\_A\_result = 0
and below data frame:
```
id points
3 36
4 0
5 11
7 6
10 23
```
How coul... |
2018/03/06 | 820 | 2,666 | <issue_start>username_0: I have some models that have long titles to be fully explanatory. It would be helpful to have them print their descriptors or titles on two lines. This reads the line break character, but the resulting latex output doesn't recognize it.
```
var1<-rnorm(100)
var2<-rnorm(100)
df<-data.frame(var... |
2018/03/06 | 1,825 | 5,857 | <issue_start>username_0: I have this running query:
```sql
SELECT DISTINCT
b.NAME AS [Service Name],
CASE
WHEN [a].[PAY_MODE_ID] IN ( 1, 2 ) THEN
'OFFLINE'
ELSE
'ONLINE'
END AS [Transaction Type],
p.NAME AS [Payment Method],
SUM(a.R... |
2018/03/06 | 329 | 887 | <issue_start>username_0: Why do the following two snippets not return the same value?
```
[1,2,3,4].some((el) => {
if (el === 4) {
return true;
}
else {
return false;
}
});
```
--> returns true
```
[1,2,3,4].some((el) => {
el === 4 ? true : false;
});
```
--> returns false<issu... |
2018/03/06 | 692 | 2,798 | <issue_start>username_0: I am trying to render a table using the following code in my javascript:
```
$('#actionTable').bootstrapTable({
//Assigning data to table
data: serviceDetails.actions
});
}
```
Here is my table definition on HTML
```
| Action | Endpoint URL |
| -... |