date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/05 | 938 | 3,244 | <issue_start>username_0: I have `package.json` file, that contains 10 dependencies,
Every time I do `npm install -g`,all the dependencies are downloaded again, and this takes a long time.
Is there a way to take the existing dependencies from the local `node_modules` directory ?
This is my `package.json` dependenc... |
2018/03/05 | 673 | 2,770 | <issue_start>username_0: I develop an Eclipse plugin which extends to Eclipse UI, and we deliver it as a whole Eclipse product. The plugin has as a target some automotive projects.
The version of the product can be configured from the project and executing a batch file will launch the proper version of the product.
S... |
2018/03/05 | 576 | 2,284 | <issue_start>username_0: I'm uncertain if this is the right place to raise this question, please let me know if not and I'll take it down.
We have outsourced the development of an app for our company on iOS and Android. The UAT has been signed off on and the app is currently live. We are now finalising the project and... |
2018/03/05 | 531 | 2,071 | <issue_start>username_0: I've setup a first-in, first-out (FIFO) queue in Redis with LISTs using RPUSH/LPUSH and RPOP/LPOP, how can I atomically pop multiple items from the queue at once? If LISTs and the commands mention doesn't support it, what should I use instead?<issue_comment>username_1: All (I think!) the Eclips... |
2018/03/05 | 809 | 2,659 | <issue_start>username_0: I am generating boxes dynamically, I give `margin-left` between boxes when screen overflows it goes to next line but starts with margin-left. How to remove this margin left on next line.
```
test
test
test
test
test
test
```
Issue:
[{
//...
if(!$exist) {
throw new \InvalidArgumentException('Ce client inexistant', 400);
}
}
```
I do the UT of this code:
```
public function methodTest(){
//...
if(!$exist) {
$this->expectExceptionMessage("Ce c... |
2018/03/05 | 691 | 2,233 | <issue_start>username_0: I have setup `max_connections=2000` in `/etc/my.conf` and restarted `mysqld`
but still `max_connections` apear to be stuck at `412`
```
mysql> SHOW VARIABLES LIKE "max_connections";
+-----------------+-------+
| Variable_name | Value |
+-----------------+-------+
| max_connections | 412 |... |
2018/03/05 | 648 | 2,217 | <issue_start>username_0: I want to make an decorator which will take an another decorator function, as an argument.
And an decorator will do additional work.
```
def raise_error(func):
def wrapper(*args, **kwargs):
print('hello from decorator')
return func(*args, **kwargs)
return wrapper
@rai... |
2018/03/05 | 3,878 | 13,649 | <issue_start>username_0: I made a VBA script that will read values from one sheet and create a "label" on another sheet.
This label is supposed to be printed on a special paper that is split in three parts.
Since I live in Sweden we use the A4 paper size (297x210 mm). The lables are supposed to be 99x210 mm.
Th... |
2018/03/05 | 1,072 | 4,100 | <issue_start>username_0: I am trying to extend Request object in JavaScript. My use case is that I want to include some more methods and modify URL according to `httpMethod`.
I have tried like the following:
```
class ServiceRequest extends Request {
constructor(config) {
const url = config && config.url;
c... |
2018/03/05 | 1,510 | 4,348 | <issue_start>username_0: Using the example below, how can I remove all duplicate top level array elements that meet the following criteria:
* same TicketID\_xxxxx and Ticket\_Reply\_xxxxx numbers (where xxxxx is the number)
* also have matching timestamps?
**Edits for additional info:**
* I will always need to rem... |
2018/03/05 | 1,072 | 3,563 | <issue_start>username_0: I have three tables with products:
table1: producer\_code, price, company
table2: producer\_code, price, company
table3: producer\_code, price, company
Now I want to list products (distinct from all table) this I can do:
```
select distinct producer_code, price, company
from (
select p... |
2018/03/05 | 1,809 | 5,596 | <issue_start>username_0: There're billions of intervals in format `[a, b]`, and all of them will cut the number space into multiple single pieces. I intend to output all single pieces with the number of overlapped intervals within this piece.
For instance: there are 3 intervals, namely: [1,7], [2,3], [6, 8]. It shoul... |
2018/03/05 | 284 | 1,031 | <issue_start>username_0: I make a messagerie service like whatsapp in nativescript with angular2 and i have a issue with the size(height) of the textview when you are writing a message in the android platform. i want the height increase when you add an other line (like whatsapp or facebook, etc).
In IOS, it's simple. ... |
2018/03/05 | 364 | 1,159 | <issue_start>username_0: ```
03-05 15:47:47.015 20062-20062/com.electivechaos.checklist E/ContentValues: Exception: %s
com.google.android.gms.common.api.ApiException: 13: ERROR
at com.google.android.gms.common.internal.zzb.zzy(Unknown Source)
at com.google.android.gms.common.internal.zzbk.zzz(Unknown So... |
2018/03/05 | 955 | 3,312 | <issue_start>username_0: I have bootstrapped an app using `create-react-app`. I have a token that I don't wish to push to GitHub.
I have ran `yarn add dontenv` and then tried to import the env variable to my `App.js` file.
My code looks like this
**.env**
```
TOKEN=**************
```
Then my `app.js` file looks l... |
2018/03/05 | 783 | 2,767 | <issue_start>username_0: the catch is that the xlsx files have some Korean text which on converting to csv is changing to "??"<issue_comment>username_1: You don't need `dotenv` (and I doubt that library will work at runtime in a client-side application anyway).
[`create-react-app` actually provides this functionality ... |
2018/03/05 | 1,096 | 4,002 | <issue_start>username_0: I have a build in VSTS which is failing with the following error:
```
error : Unable to load the service index for source [source name] 2018-02-28T09:04:12.1080070Z /usr/share/dotnet/sdk/1.1.4/NuGet.targets(102,5)
error : Response status code does not indicate success: 402 (Payment Require... |
2018/03/05 | 334 | 1,265 | <issue_start>username_0: I know how to do this on Java.
I copied and paste the code from Java to Kotlin and Android Studio changed to this:
```
auth_password_text.setInputType(InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_VARIATION_PASSWORD)
```
But I'm receiving a message (grey not yellow like warning)
[![enter ... |
2018/03/05 | 721 | 1,910 | <issue_start>username_0: I'm trying to find out if someone was not working during 'out of hours'.
* If Monday to Friday, not between the hours of, 8am to 9pm, then the answer would be "Yes"
* If it's a Saturday, not between the hours of, 8am to 5pm, the answer
would be "Yes"
* If it's a Sunday, not between the hours ... |
2018/03/05 | 669 | 1,991 | <issue_start>username_0: I have an app installed on Android Things, in a Raspberry Pi. I want to replace with a newer version, but it's overwritten with previous version after a reboot. That's weird!
This is what I've tried: Let's say the installed app package name is "com.myapp", I've run "adb uninstall com.myapp", a... |
2018/03/05 | 893 | 2,973 | <issue_start>username_0: I would like to know how to get the difference between time if the data is in the same table but on two separate lines. For example, below I have a screenshot of the data, every employee have two records, the first clock point and the last clock point. I want the difference between those times ... |
2018/03/05 | 621 | 1,789 | <issue_start>username_0: I've got two dictionaries of unequal length, e.g.:
```
people = {"john" : "carpenter", "jill": "locksmith", "bob":"carpenter", "jane": "pilot", "dan": "locksmith"}
jobcode = {"carpenter": 1, "locksmith": 2, "pilot": 3}
```
What I'm wanting to do is replace the values in `people` with the `j... |
2018/03/05 | 339 | 1,298 | <issue_start>username_0: I have such function:
```
func TestDefer(lock sync.RWMutex, wait time.Duration) {
lock.Lock()
defer lock.Unlock()
// start goroutine
go func() {
time.Sleep(wait)
}()
}
```
I am eager to know when `lock.Unlock()` will be executed? Is it synchronized with subrout... |
2018/03/05 | 656 | 2,371 | <issue_start>username_0: Suppose I have the following pretrained model:
```
from keras.models import Sequential
from keras.layers import Dense
model = Sequential()
model.add(Dense(3, activation='relu', input_dim=5))
model.add(Dense(1))
model.compile(loss='mse', optimizer='adam')
```
When I run it through the follow... |
2018/03/05 | 707 | 2,816 | <issue_start>username_0: I have a service worker that caches my app's static resources.
In one of my use-cases, I need to fetch an asset from the network and also fetch the corresponding cached asset from the cache, then only if their content differs I need to store the new asset in the cache and do additional process... |
2018/03/05 | 1,228 | 4,269 | <issue_start>username_0: My python code seems to be ignoring spelling and saying that it has wrong spelling.
I have tried moving around code
changing the input types, this fixed a entry error but began this new error.
```
input("enter month here. spelling and capitalization matter.")
if input == "December" or input =... |
2018/03/05 | 1,083 | 3,760 | <issue_start>username_0: I want to show a full name text from the values of first and last name inputs inside a `span`, tried to use `.keyup` but this only worked with first name.
*code:*
```
Full Name:
```<issue_comment>username_1: You have to save `input` in any variable.
```
aa= input("enter month here. spell... |
2018/03/05 | 361 | 1,433 | <issue_start>username_0: Does anyone know why my django saved objects getting deleted automatically after a while ' this happened like most of the times that i check my website and see's one of my files get's delete automatically from the server also the deleted objects are not the last saved objects but 3rd last or so... |
2018/03/05 | 292 | 1,185 | <issue_start>username_0: I have following part of XML code and I want to get string from specific tag.
Input XML:
```
this title has 5 + rating star
```
From the above XML I want a string using xpath like
Expected output:
```
"this title has 5+ rating star"
```
Note: I have used @XmlPath like
```
@XmlPath... |
2018/03/05 | 262 | 1,089 | <issue_start>username_0: I would like to create folder where it's name is date in specific format. Date format is from powershell echo result. How could I combine this two things?
`cmd.exe /c md \"%1\%%"date%%\"" /f` and `powershell get-date -format "{yyyy-MMM-dd HHmm}`?
It must be in one line and starts with `cmd`.
... |
2018/03/05 | 1,093 | 3,822 | <issue_start>username_0: Trying to orient through the dark depths of Redux-React-API jungle - managed to fetch data from API and console.log it - but neither me nor my Google skills have managed to find out why it doesn't render.
**React Components**
Parent Component:
```
class Instagram extends Component {
compo... |
2018/03/05 | 1,320 | 3,328 | <issue_start>username_0: I've got this part of code, where using `input` command I made a small module where I can select desired files. Right now I need to improve that module by adding some loops? I guess. What I need is to:
1. First input asks me about data from which station, I use shortcuts to make this quick and... |
2018/03/05 | 622 | 2,672 | <issue_start>username_0: In clean architecture the structure is like that:
CORE:
* CoreClass.java
* SomeDAOInterface.java
IO
* SomeDAOInterfaceImpl.java (implement SomeDAOInterface)
If I was supposed to split Core and IO in different .jar files, different projects, how am I supposed to handle "SomeDAOInterface" de... |
2018/03/05 | 696 | 2,524 | <issue_start>username_0: Trying to understand how to use the Spark Global Temporary Views.
In one spark-shell session I've created a view
```
spark = SparkSession.builder.appName('spark_sql').getOrCreate()
df = (
spark.read.option("header", "true")
.option("delimiter", ",")
.option("inferSchema", "true")
... |
2018/03/05 | 786 | 2,030 | <issue_start>username_0: Generating series using Java,
1\*3\*5 + 2\*5\*8 + 3\*7\*11......
And show the sum.
I tried this way, but didn't work. Any better algorithm to generate this series?
```
public static void main(String[] args) {
int sum1 = 1;
int sum2 = 0;
int sum3 = 0;
int num = 0;;
... |
2018/03/05 | 1,495 | 5,906 | <issue_start>username_0: I followed the Firebase functions tutorials from the firecasts: <https://www.youtube.com/watch?v=pDLpEn3PbmE&t=338s> to use firebase to create a thumbnail when I upload an image.
This all works well but when I upload an image that has been taken with an iPhone it's rotated (vertical image is s... |
2018/03/05 | 420 | 1,466 | <issue_start>username_0: I've started learning Angular 5 with material design, my requirement is I have to show angular material dialog
fixed to right hand side of the screen always. By default it is coming always on the center of the screen. How can import
show dialog on right hand side of the screen? Please help.
``... |
2018/03/05 | 799 | 3,157 | <issue_start>username_0: I just did a little project in java, packed the .jar and application.properties to my VPS and wanted to test it there. The tool reads logfiles.
I specified the path to the logfile within the application.properties as follows:
```
LOGPATH=/folder1/folder2/logs/thelogIwant.log
```
The path is... |
2018/03/05 | 1,309 | 4,808 | <issue_start>username_0: I have a class with main method. the method `addStudents()` simply adds student to the students arraylist. but this method adds null values on rollnumber property.
the another method `addRollNumber()` should add roll numbers on the students arraylist in such a way that if idNumber of student ... |
2018/03/05 | 380 | 1,361 | <issue_start>username_0: I have following html line of code
```
aLine
```
aLine is the text on navigation bar. How can I find this text via xpath?<issue_comment>username_1: Your XPath could look like this:
```
//span[@class='navbar-text navbar-nav company-title']/text()
```
Upvotes: 0 <issue_comment>username_2: Yo... |
2018/03/05 | 2,258 | 8,533 | <issue_start>username_0: I am using [angular Material table](https://material.angular.io/components/table/overview) to create grid in my Angular 5 project.
My data is coming from http request and its assigned to a variable called dataSourceNew like this in view.ts file. Here dataSourceNew has dynamic content and struc... |
2018/03/05 | 2,761 | 9,298 | <issue_start>username_0: I am trying to access 2 tables, 1 is a job table and the other is a call out sheets that are assigned to the job table.
Basically not all jobs have call out sheets assigned to them, and the way I originally did this was fine if sheets was assigned but does not count the ones that do not have s... |
2018/03/05 | 1,586 | 5,757 | <issue_start>username_0: Today suddenly PDFJS didn't work anymore. Strange enough I can't find a lot of other users facing this problem except one: <https://github.com/mozilla/pdf.js/issues/9526>
Do you see the same errors in their own examples?
<http://mozilla.github.io/pdf.js/examples/index.html#interactive-examples... |
2018/03/05 | 1,313 | 4,161 | <issue_start>username_0: Hi I want to save the file in excel format in my local folder. For this I am creating an api which will be scheduled to call at every night and save the data in file every night.
My attempt is :
```
class SaveExcel
{
function SaveExcel()
{
}
function saveData()
{
... |
2018/03/05 | 531 | 1,873 | <issue_start>username_0: I am building a component in my app that allows the user to navigate a directory which contains sub-directories and files. There is no limit on the number of sub-directories.
I would like to use the URL to indicate position with the sub-directories. For example, take this structure:
```
- dir... |
2018/03/05 | 466 | 1,777 | <issue_start>username_0: I usually use Newtonsoft's Json.NET for producing JSON files. Currently, I'm looking into importing a JSON-formatted data file into Google BigQuery. However, BigQuery requires a JSON file with newline as delimiter (probably known as JSON Lines too) which is a bit different than the usual tree s... |
2018/03/05 | 425 | 1,706 | <issue_start>username_0: Whern i fire Simple database trigger on firebase,
then it will shows Error like this :
**"Function returned undefined, expected Promise or value"**
```
const firebase=require('firebase-admin');
const functions = require('firebase-functions');
firebase.initializeApp(functions.config().firebase... |
2018/03/05 | 1,112 | 4,333 | <issue_start>username_0: I am migrating my Spring Boot application from version 1.5.7 to 2.0.0 and I noticed that it no longer takes mail properties from ENV variables for some reason.
I am using `java.mail.Sender` and have the following propeties in my `application.properties` file:
```
spring.mail.host=smtp.example... |
2018/03/05 | 613 | 2,308 | <issue_start>username_0: From last 3 days I'm getting this error and have tried all i could. Can anyone help me correct it. I'm using Android 3.0 and my sdk and Google play services are updated as well as i have added`multiDexEnabled true` to my code...and also tried deleting the .gradle and .idea folders and again reb... |
2018/03/05 | 724 | 2,818 | <issue_start>username_0: Why does this code produce a memory leak? I'm a newbie and don't understand it. The object gets assigned to the shared\_ptr so it's still accessible or not? I need to create the new instance in another function so I can't think of another way to do that. Is there anything I need to fix?
```
st... |
2018/03/05 | 482 | 1,738 | <issue_start>username_0: I wrote a dataframe in Python 2.7 but now I need to open it in Python 3.6, and vice versa (I want to compare two dataframes written in both versions).
If I open a Python2.7-generated HDF file using pandas in Python 3.6, this is the error produced:
`UnicodeDecodeError: 'ascii' codec can't decod... |
2018/03/05 | 524 | 1,918 | <issue_start>username_0: I would like to run all my test suites. I want to call the test suites in one test suit called Allrun.
Can I call test suites in another test suite. I am looking for something like this:
```
class Myfirst extends GebReportingSpec {
def myfunction(){
when:''
at mypage1
and:''
... |
2018/03/05 | 370 | 1,412 | <issue_start>username_0: I can't figure out what actually is returned by this call and how I can display it in HTML as an `img` tag. When I use the same URI using the online Microsoft Graph Explorer test environment I get the image as intended.
```
var requestUri =
"https://graph.microsoft.com/v1.0/barfoo.onmicro... |
2018/03/05 | 407 | 1,397 | <issue_start>username_0: Me need to change value on `right labels`. But first I need to change the `first four rows` and then the `last three rows`. So when i select `first four rows` i add in `right label` number `1200` for `four rows`, and then i select `last three rows` in `right label` number `1500` for `last three... |
2018/03/05 | 352 | 1,371 | <issue_start>username_0: I have two tables in SQL Server database. These tables have the same columns, we can say it's a copy - I use one for Archive data and the other for current use of data.
The Archive table doesn't have a primary key because sometimes there can be repetition, and sometimes the primary key may be ... |
2018/03/05 | 686 | 2,419 | <issue_start>username_0: I tried to click on the link 'Бренд', but it didn't work. What did I do wrong?
```
driver.findElement(By.xpath("//div[@class='filter-title' and text()='Бренд']")).getText() -works
driver.findElement(By.xpath("//div[@class='filter-title' and text()='Бренд']")).getText() - doesn't work. Why?
`... |
2018/03/05 | 944 | 3,602 | <issue_start>username_0: With respect to JavaScript, I can see two distinct ways of writing self-referencing functions:
***Divide and Conquer-like algorithms such as factorial or merge sort, where values are calculated recursively from ever-decreasing-in-size samples:***
```
const factorialOf20 = (function factorial(... |
2018/03/05 | 582 | 2,119 | <issue_start>username_0: I am trying to execute shell script in Java. I was able to achieve this in the following manner.
```
ProcessBuilder pb = new ProcessBuilder("/path_to/my_script.sh");
pb.redirectOutput(new File("/new_path/out.txt"));
Process p = pb.start();
try {
p.wa... |
2018/03/05 | 813 | 2,795 | <issue_start>username_0: currently I have a PHP code called checking.php and there is two column I have on the web page which is identification number and password. what I want to achieve is once I click the submit button, the code will check whether the input is matching with the database or not, if match, it will pro... |
2018/03/05 | 992 | 2,981 | <issue_start>username_0: I am trying to install Ionic in my Linux and trying to check how to run the app. I have successfully installed it and run it on browser.
However, I want to run the app on my Android device.
I have tried to run the command `ionic cordova run android --device` but it gives following error:
>
... |
2018/03/05 | 313 | 965 | <issue_start>username_0: how can I split strings into continuous sub strings e.g:
**string\_inputs:**
```
AAAATTTT ATATATAT
```
**output\_needed:**
```
AA,AA,AA,AT,TT,TT,TT
```<issue_comment>username_1: I solved it by correcting the path of ANDROID\_HOME as it was mentioned in the links in the question.
links: <h... |
2018/03/05 | 1,176 | 3,938 | <issue_start>username_0: I have a dataframe as below:
```
df
date time open high low last
01-01-2017 11:00:00 37 45 36 42
01-01-2017 11:23:00 36 43 33 38
01-01-2017 12:00:00 45 55 35 43
....
```
I want to write it into cassandra. It's kind of bulk upl... |
2018/03/05 | 448 | 1,669 | <issue_start>username_0: I'm using [bootstrap-treeview](https://github.com/jonmiles/bootstrap-treeview) to display a tree-like view of my data. The initial and basic implementation is working but I need it to when I click the text value, i get redirected to the link.
The JS function that renders the tree is:
```
func... |
2018/03/05 | 3,145 | 8,846 | <issue_start>username_0: I have two file `test.py` and `test.kv` .
i run `test.py` then shows `show` button.
When i click on `show` button then `def abc` call.Can someone tell me how to show array in dynamic label and value(Item1=5000.Item2=1000).
Item1 5000
Item2 1000
I am using array
arr = ({'Item1... |
2018/03/05 | 2,484 | 7,255 | <issue_start>username_0: **users-component.html**
```
| ID | First Name | Last Name |
| --- | --- | --- |
| {{id}} | {{firstName}} | {{lastName}} |
```
**app.component.html**
>
> This will render thead for every record inside table, which I want to avoid.
>
>
>
*I tried to refactor this to put table tr items ... |
2018/03/05 | 2,810 | 8,351 | <issue_start>username_0: I have an issue with styling a custom menu: when submenu is visible, the items should not be wider then the current parent item.
I've prepared a simple codepen example below and what I've tried is visible there, but still, the problem is this:
[. It looks like this in Font Book:
[](https://i.stack.imgur.com/Kjijp.png)
I've added it to the iOS project in the usual style; copied it into the project added a key in the plist "Fonts provided by applica... |
2018/03/05 | 469 | 1,794 | <issue_start>username_0: Is it possible to replace SteamVR Lighthouse system by OptiTrack or use both OptiTrack and Lighthouse to create a large room scale VR ( 20 x 20 meters) for existing SteamVR games like PayDay 2? Or is it only possible to use OptiTrack is to create new games?<issue_comment>username_1: `applicatio... |
2018/03/05 | 1,258 | 4,096 | <issue_start>username_0: The [Bootstrap docs over at W3 Schools](https://www.w3schools.com/bootstrap/bootstrap_grid_basic.asp) (which are otherwise flawless and amazing!) don't do a great job of explaining *when* to use the various column classes. They just describe these classes with:
* `xs` (for phones - screens les... |
2018/03/05 | 1,384 | 5,464 | <issue_start>username_0: While going through examples on Deadlock, I came across this code:
```
public class TestDeadlockExample1 {
public static void main(String[] args) {
final String resource1 = "ratan jaiswal";
final String resource2 = "vimal jaiswal";
// t1 tries to lock resource1 then resource2
Thread ... |
2018/03/05 | 1,011 | 4,245 | <issue_start>username_0: If you have an async function:
```
public async Task DoWork()
{
await DoSomeWorkAsync();
await DoSomeMoreWorkAsync();
}
```
Now the first await prevents the method blocking the calling context, so is useful.
But after `DoSomeWorkAsync` has completed, the method is anyways running in... |
2018/03/05 | 315 | 1,472 | <issue_start>username_0: I have trouble understanding this concept. I know a little bit about how Docker works and what the benefits are, and while I understand running web servers, databases and development environments in containers, I don't understand the point of running an OS like Ubuntu in Docker.
Can someone ex... |
2018/03/05 | 1,096 | 4,498 | <issue_start>username_0: I have created a properties file called myproperties.properties as:
```
test.value1=one
test.value2=two
```
My java code to read this file is the following:
```
String test = Utility.getInstance().getProperty("test.value1");
```
where class Utility is so defined:
```
public class Utility... |
2018/03/05 | 851 | 3,322 | <issue_start>username_0: My App was work fine, before few days it become crash and give this error:
```
Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fbauth2 is missing from your Info.plist under LSApplicationQueriesSchemes and is required for iOS 9.0'
```
When I check the plist fil... |
2018/03/05 | 652 | 2,360 | <issue_start>username_0: I am using composer to install `laravel`. Everything was working fine. but suddenly now, when I am trying to install new `laravel` app using composer. I am getting following error. Till yesterday it was working well.
Please check error screenshot here:
<https://prnt.sc/in1r9v>
I can not unde... |
2018/03/05 | 436 | 1,476 | <issue_start>username_0: pg\_dump version 10.3 started adding the schema name explicitly to the table name. So what used to be
```
INSERT INTO table (id) VALUES (1);
```
Is now
```
INSERT INTO public.table (id) VALUES (1);
```
How can you switch it off? My problem is, that I dump this into a mariadb where you don... |
2018/03/05 | 610 | 1,968 | <issue_start>username_0: I have a table in SqlServer, which has one column
E.g.:
```
AvgCall
6.25
6.25
10
12.5
24.5
6
9
3
```
Now by using this data I want the result as shown below.
```
AvgCall NewColumn
6.25 6.25
6.25 12.5
10 ... |
2018/03/05 | 583 | 2,177 | <issue_start>username_0: I have an usb fingerprint scanner which is accessed by using REST on following port and ip: *<http://127.0.0.1:30666/foh/UCBioAPI/devices>* It works correctly in Postman as seen in screenshot below:
[](https://i.stack.imgur.co... |
2018/03/05 | 656 | 1,698 | <issue_start>username_0: I am trying to go about this, I have a list of 4 persons, and a single role that each person has to do when its their turn to do.
**Day versus Persons:**
```
Day1-Allan
Day2-Mary
Day3-Kevin
Day4-Alex
Day5-Allan
Day6-Mary
Day7-Kevin
Day8-Alex
.....and so on
```
The roles repeat the cycle o... |
2018/03/05 | 591 | 2,230 | <issue_start>username_0: Here's my code:
```
child: new Row(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: [
new Icon(
Icons.call
),
new Container(
height: 30.0,
width: 100.0,
ch... |
2018/03/05 | 432 | 1,705 | <issue_start>username_0: ```
**I have created a custom edit form for a SharePoint online custom list. Where I have created a custom button via which I will start a Workflow.
the issue is I am not able to call that function on button click. I have used a single comma also for the function call
```
I have created a cu... |
2018/03/05 | 1,056 | 3,069 | <issue_start>username_0: I have a text file that is the output of the `pdf_text()` function from `pdftools`. I'd like to extract names after eache occurance of the label `Name :`. The trouble is that the names themselves are not formatted and may contain two or more words, initials and/or periods, separated by spaces. ... |
2018/03/05 | 1,171 | 4,248 | <issue_start>username_0: First of all, sorry if this is a duplicate, i've searched, found some fixes but i'm dumb and could not apply.
I'm not a developer, programmer, just trying to run a python script that does some things .I've got basic understanding of python so speak to me like i'm dumb.
These are the dependenc... |
2018/03/05 | 1,579 | 4,947 | <issue_start>username_0: I have written the following program to check ideal weight for Male and Female based on **Height** and **Gender**:
```
#include
#include
int main()
{
int age;
float height, mminima = 48, fminima = 45, iw;
char gender;
printf("Please Enter your Age,Height(in CM) and Gender\n");
scanf("%... |
2018/03/05 | 476 | 1,584 | <issue_start>username_0: I am trying to remove a space but every solution keep removing the inner hmtl of the target element. How do I remove only the part?
update: realized it doesn't remove any html, but my span element is placed outside the the parent a tag when running the script.
```js
$('.topitem').each(fun... |
2018/03/05 | 542 | 2,362 | <issue_start>username_0: I need to define a layout for multiple activities in android and from the UI part, it is successful. But to code those elements to perform on each click listeners, I need to define it in all the java pages I use.
Can we globally define this in a java page and include it in the required pages?... |
2018/03/05 | 422 | 1,572 | <issue_start>username_0: I have created some billing accounts but I want to delete some as you can see in the picture, I want to delete `BillingAccount1` and `BillingAccount2` since Google told me that there are some issues in these accounts.
[](https... |
2018/03/05 | 1,342 | 4,415 | <issue_start>username_0: I want to display a ngx-leaflet map inside a ng-bootstrap modal, centered in a determinate point. The map is encapsulated in a component like this:
HTML
```
#### Map
×
Close
```
TS
```
constructor(public activeModal: NgbActiveModal) { }
ngOnInit() {
}
streetMap = L.tileLaye... |
2018/03/05 | 804 | 2,488 | <issue_start>username_0: For a given string like:
`"Today is a bright sunny day in New York"`
I want to make my list to be:
`['Today','is','a','bright','sunny','day','in','New York']`
Another example:
`"This is a hello world program"`
The list be:
`['This', 'is', 'a', 'hello world', 'program']`
For every giv... |
2018/03/05 | 321 | 948 | <issue_start>username_0: In [SO 33655920](https://stackoverflow.com/questions/33655920/when-to-use-mapparitions-and-mappartitionswithindex) I come across the below, fine.
```
rdd = sc.parallelize([1, 2, 3, 4], 2)
def f(iterator): yield sum(iterator)
rdd.mapPartitions(f).collect()
```
In Scala, I cannot seem to get t... |
2018/03/05 | 765 | 2,088 | <issue_start>username_0: I have a situation like this:
I have a 14-digit (not 13) bigint datatype column.
This needs to be converted to datetime datatype.
For example `20160418074908` (bigint) has to be converted to `2016-04-18 07:49:08.000` (datetime).
I have been going through a lot of forums, but to no avail... |
2018/03/05 | 537 | 1,604 | <issue_start>username_0: My vue code calls `element-ui` modules:
```
// in main.js
import { Notification } from "element-ui";
```
At first, my test was throwing
>
> Cannot find module 'Element' from 'test.js'
>
>
>
so I mocked the module with
```
jest.mock('element-ui', () => ({
Element: jest.fn(),
}))
```... |
2018/03/05 | 551 | 1,813 | <issue_start>username_0: I need to receive from the user input that can come in 2 forms, `char` `int` `float` or `char` `int`, but I don't know which of them will be given. I tried this:
```
int main(){
char letter;
int num;
float value;
while(getchar()!=EOF){
scanf(" %c %d %f", &letter, #, &va... |
2018/03/05 | 579 | 2,224 | <issue_start>username_0: How is it possible to implement authentication (and authorization) without cookie and only bearer token in ASP.Net MVC Core for all pages?
Can we still use ASP.Net Identity?<issue_comment>username_1: No, you can't use bearer token with MVC Views. Only with WebAPI-esque calls (which are called ... |
2018/03/05 | 800 | 2,700 | <issue_start>username_0: I'm trying to delete row using the following code:
```
SpreadsheetDocument document = SpreadsheetDocument.Open( "test.xlsx", true );
IEnumerable sheets = document.WorkbookPart.Workbook.GetFirstChild().Elements().Where( s => s.Name == "sheet1" );
string relationshipId = sheets.First().Id.Value... |
2018/03/05 | 577 | 2,118 | <issue_start>username_0: Suppose I have a `List` object containing strings:
```
var dlist = new List()
{
"test",
"test2",
"test3"
};
```
Is there any efficient way of converting this into a proper `List` object? I know I can iterate over this list and cast each element to a string, then add this to the result lis... |
2018/03/05 | 452 | 1,637 | <issue_start>username_0: I have an app thats reading a barcode (Code128) from the camera preview.
I have the barcode result in a string or as a barcode.
I am accessing a web application from a software company and want to past the string into the active html field.
The user should decide in which field he wants to h... |
2018/03/05 | 346 | 1,283 | <issue_start>username_0: Does anyone know which browser Outlook-web uses for addins on a mac?
background: I am developing an addin for outlook web on a mac and I'm making use of a bootstrap collapsable panel. I also have two icons that I want to have to the left and right of the title, however, the anchor tag used to... |