date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/13 | 887 | 3,294 | <issue_start>username_0: I have a parent and child component where the parent is passing an object to the child through the @Input decorator. The problem is the child gets the parent data only once, then after future changes to parent property that is passed to the child, the value is not being update.<issue_comment>us... |
2018/03/13 | 849 | 2,839 | <issue_start>username_0: I am creating Application server in Worklight 6.1 in server with WL db as DB2 which throws below error and fails with the build. The DB2 error mentioned is increase the pagesize of DB2 database. But how to increase the pagesize in DB2.
```
[configuredatabase] [sql] SQL: CREATE TABLE APP... |
2018/03/13 | 400 | 1,681 | <issue_start>username_0: Can we compress our WP Develop Theme style sheets via **define( 'COMPRESS\_CSS', true )** like WP style or script concatenation?<issue_comment>username_1: Several constants are used to manage the loading, concatenating and compression of scripts and CSS:
```
define('SCRIPT_DEBUG', true); //loa... |
2018/03/13 | 474 | 1,650 | <issue_start>username_0: I need to run adb commands programmatically on rooted android device.
The following is not working, no exception just not working:
```
Process process = Runtime.getRuntime().exec(command);
process.waitFor();
```
Also, if I want to run command as a specific user role, how do I execute it?<is... |
2018/03/13 | 514 | 1,653 | <issue_start>username_0: What appears simple, is for me quite a brain teaser.
I got this
```
times1 <- c(0000, 0720, 2315, 0600, 1150, NA, 0000)
```
and I want got transform this number in hours and mintues with the hm-function that I get an `lubridate` format.
Thank you very much for your help!
Best wishes,
Robin... |
2018/03/13 | 635 | 2,165 | <issue_start>username_0: I am having dom object with html as below:
```
this is my 11 original text i 23 want
Lorem Ipsum is simply dummy text
Lorem Ipsum is simply dummy text
```
Basically I want to remove all child divs not span by jquery.
I tried,
```
myDom.find(".parent").immediateText()
```
But above cod... |
2018/03/13 | 937 | 3,227 | <issue_start>username_0: I am having some troubles with the following:
I have an array in an object in localStorage and I need to find the number of elements contained in the array.
My code is as following
```
for (var i = 0; i < localPosts.length; i++){
local_tags = window.localStorage.getItem(localStorage.... |
2018/03/13 | 435 | 1,551 | <issue_start>username_0: I have the following code in angular 5 app. which produces the sequence of mat-card as below image using \*ngFor. But the height of all the mat-card is same as the height of first mat-card .
```
{{section1}}
```
The result is list of mat card as below, but the problem is height of all mat... |
2018/03/13 | 1,131 | 3,939 | <issue_start>username_0: I'm trying to upload an image to the s3 bucket using GoLang.
I have mentioned function body of program. Which takes an image file as multipart form data and a file name which I should to save the image in s3.
```
func uploadImage(res http.ResponseWriter, req *http.Request) {
file, handler, er... |
2018/03/13 | 888 | 3,272 | <issue_start>username_0: I have a Profile model like this:
```
class UserProfile(models.Model):
user = models.OneToOneField(settings.AUTH_USER_MODEL, related_name='profile')
about = models.TextField()
```
When I try to access `UserProfile` data from `User` instance I get this error:
```
In [1]:
In [1]: fr... |
2018/03/13 | 693 | 2,575 | <issue_start>username_0: How can I (display) more than one checkbox on array? The fruits included apple, orange, banana.
```
php
while($row = mysql_fetch_array($result)){
$fruits = $row['fruits ']
}
echo "<a class ='button' href='fruits.php?fruits=".$fruits."'click";
?>
php echo $\_GET['fruits... |
2018/03/13 | 1,118 | 4,260 | <issue_start>username_0: The code posts two variables to a MySQL table. The code seems to work perfectly - the only thing that doesn't work is the echo statements. What would cause this?
I'm testing the file locally using MAMP, and the PHP version is up to date. I can't think of anything else that might be causing the... |
2018/03/13 | 1,966 | 7,370 | <issue_start>username_0: I am using a serial queue with QoS background
```
let serialQueue = DispatchQueue(label: "queue1", qos: DispatchQoS.background)
```
Assigning one jobs synchronous, and two jobs asynchronous:
```
func serialTask() {
serialQueue.sync {
for i in 0..<10 {
print("", i)
... |
2018/03/13 | 852 | 2,832 | <issue_start>username_0: DB structure
User, user has multiple events, events has multiple attendees.
User Model:
```
from django.db import models
class User(models.Model):
email = models.CharField(max_length=100, unique=True, null=True)
firstname = models.CharField(max_length=100, null=True)
lastname = ... |
2018/03/13 | 1,110 | 2,615 | <issue_start>username_0: Here is a file called `subtitles.ass`. If you have a look at it, you will find I define `{font_size}` and `{sentence[0}`. Obviously I want to format them with my input data.
```
[Script Info]
; Script generated by FFmpeg/Lavc57.107.100
ScriptType: v4.00+
PlayResX: 384
PlayResY: 288
[V4+ Style... |
2018/03/13 | 299 | 1,093 | <issue_start>username_0: I have one page in angular 1 for Leave workflow and i want to use it for two different routes! hourly leave and daily leave. some component in page is changed by hourly or daily state. how can i do it?
```
one page 'Leave.html' for tow route:
www.....com/leave/hourly
www.....com/l... |
2018/03/13 | 493 | 1,946 | <issue_start>username_0: i am thinking to create a single mail function in Laravel that will take from,from name,to,toname,content of the mail,data that we want to pass to the mail and subject.i want to call this function everytime i need to send a mail by just passing the above mentioned parameters .i want to create t... |
2018/03/13 | 1,254 | 3,812 | <issue_start>username_0: Given this table X
```
id# val1 val2 val3 val4
1000 Alice A France Wed
1001 Alice B France Thurs
1002 Alice C France Fri
1003 Alice D France Sat
```
And this table Y
```
id# val1 val2 val3 val4
2000 Bob A... |
2018/03/13 | 2,341 | 7,333 | <issue_start>username_0: Below are the errors which I am getting
```
C:\Users\Dell\.gradle\caches\transforms-1\files-1.1\appcompat-v7-28.0.0-alpha1.aar\51cd62c84e9404bd66ab4daf252c48a1\res\values-v28\values-v28.xml
Error:(9, 5) error: resource android:attr/dialogCornerRadius not found.
C:\Users\Dell\.gradle\caches\tra... |
2018/03/13 | 1,372 | 4,617 | <issue_start>username_0: I am trying to find the bounds for a list of annotations that I have on my `MapView`.
I see that in javascript you can add the annotations to the `FeatureGroup` of a layer and then get the bounds for that group.
However, I can't find this in the Swift SDK. How can I go about getting the bound... |
2018/03/13 | 1,431 | 4,831 | <issue_start>username_0: in The gnu Binary Utilities they say
```
objdump --adjust-vma=offset
```
>
> When dumping information, first add offset to all the section addresses. This
> is useful if the section addresses do not correspond to the symbol table, which
> can happen when putting sections at particular ad... |
2018/03/13 | 1,216 | 4,394 | <issue_start>username_0: My big application involves few codes like this:
```
def __init__(self,master):
self.destroy= lambda num=num : self.destroywidgets(num)
def destroywidgets(self,num):
if num == 1:
for widget in self.frame1.winfo_children():
widget.destroy()
elif num == 2:
... |
2018/03/13 | 784 | 2,750 | <issue_start>username_0: I am building a React JS application.
So, I want to print something over and over from an array, but it has only two elements. I am using a custom package called 'Typist' that enables me to give a 'Typing' kind of animation with whatever I type.
**I am basically trying to type 'Hi', erase it a... |
2018/03/13 | 592 | 2,241 | <issue_start>username_0: I am trying to get the mount point details of host from a kuberentes pod. It is a privileged container.
Even if I mount the root file system , I am not able to check the mount details of a particular type say `s3fs`may be because it belongs to a different namespace.
What is the best way to shar... |
2018/03/13 | 867 | 3,092 | <issue_start>username_0: I am trying to get all the div elements with classes having a name containing print. I am trying to achieve this like so:
```
const matchedContainer = [];
$('div').filter(() => {
regex = new RegExp("\w*print\w*","i");
if( this.class !== undefined && this.class.match(regex)... |
2018/03/13 | 233 | 751 | <issue_start>username_0: ```
[Unit]
Description=Splash screen
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/usr/local/bin/psplash
[Install]
WantedBy=basic.target
```
job for .service failed because the control process exited with an error code<issue_comment>username_1: I followed this example and it work... |
2018/03/13 | 907 | 2,804 | <issue_start>username_0: I have a dataframe
```
df = pd.DataFrame(data=np.arange(10),columns=['v']).astype(float)
```
How to make sure that the numbers in `v` are whole numbers?
I am very concerned about rounding/truncation/floating point representation errors<issue_comment>username_1: ### Comparison with `astype(in... |
2018/03/13 | 1,399 | 4,944 | <issue_start>username_0: I want to add a "Done" button above the keyboard, that will hide the keyboard when clicked.
Here's an image demonstrating the desired button:

Is there any existing method or library for that? (I already found [... |
2018/03/13 | 1,441 | 5,007 | <issue_start>username_0: I am trying to do correlation in Jmeter using regular expression.
My scenario is:
>
> GUID=1232, awsdqdwe click1 ,GUID=21232 berttt click2, b, GUID=323223,babsjbcjhbcc click3
>
>
>
Here I wish to catch GUID of click 3 value which is in numerical ignore all the alphabetical texts
Regula... |
2018/03/13 | 2,181 | 7,084 | <issue_start>username_0: I'm Working on Chart.js, wanted to implement **Select All** and **Unselect All** option for labels. I'm trying to find it out but couldn't get anything such.
Please do help me out if anything such feature can be implemented.<issue_comment>username_1: If you need to **show/hide** charts **sele... |
2018/03/13 | 2,012 | 8,203 | <issue_start>username_0: On angular5, i try to have on same project AOT compilation for most of my module/component... but i have one part who need to be JIT compiled.
For this second part, HTML come from Ajax request and contain some component tag who must be compiled by angular. To Manage this part i use directive w... |
2018/03/13 | 559 | 2,287 | <issue_start>username_0: I have problem when trying to dump some values, but issue is that when I use dump, it don't show any error message and don't dump any value. I have installed symfony/var-dumper.
Source code
```
php
namespace App\Controller;
use App\Form\UserType;
use App\Entity\User;
use Symfony\Bundle\Frame... |
2018/03/13 | 287 | 1,157 | <issue_start>username_0: How do you write some code before an angular http client observable makes a network call but after the actual function gets called? The following is the angular http service call
```
this.geocodeApi.getAddressSuggestions(address).subscribe(resp => {..});
```
but how would we do something lik... |
2018/03/13 | 1,212 | 4,237 | <issue_start>username_0: We have a specific requirement in which we have to push all files which arrive for being committed to a certain branch.
We are planning to achieve this via git hooks specifically commit-msg hook.
While doing so what we do is we clone branch to temporary location (/tmp/) and then in git commit... |
2018/03/13 | 1,147 | 4,106 | <issue_start>username_0: I'm Android developer learning flutter. I want my screen looks like this:
```
|---------------------------------|
| |
| Babe I miss you |
| |
|---------------------------------|
```
"Babe" and "I miss you" should... |
2018/03/13 | 1,139 | 4,053 | <issue_start>username_0: I'm not talking about manipulating DOM element directly like,
`this.el.nativeElement.value = someText`
I'm trying to code in reactive way so even when it comes to binding events, I was thinking, getting the specific element via `@Viewchild` and bind event on it like, `fromEvent(this.el.nati... |
2018/03/13 | 1,801 | 6,317 | <issue_start>username_0: I want to override sales order grid in Magento admin. I have created custom module for that, but seems my override doesn't work. There is no errors.
Please find my codes above:
**app/etc/modules/**
```
true
local
```
*app/code/local/Bikebear/SalesGrid/etc*
```
1.0.0
Bikebear\_Sales... |
2018/03/13 | 1,088 | 3,758 | <issue_start>username_0: How the issue produced:
1- using `create-react-app` i have created app
2- running `npm run start` it gave me the following error
[](https://i.stack.imgur.com/0QjUp.png)<issue_comment>username_1: Flutter's [`Row`](https://docs... |
2018/03/13 | 1,141 | 3,880 | <issue_start>username_0: How can I get subscribe records when I have 2 condition on a field.look at this table.
```
╔══════╦══════════╗
║ Name ║ FolderID ║
╠══════╬══════════╣
║ A ║ 3 ║
║ A ║ 2 ║
║ B ║ 3 ║
║ B ║ 2 ║
║ C ║ 2 ║
╚══════╩══════════╝
```
... |
2018/03/13 | 649 | 2,192 | <issue_start>username_0: In my controller
```
@user = User.last
```
In my view
```
<%= @user.password.inspect %>
```
returns nil value, but if i am using
```
<%= @user.encrypted_password.inspect %>
```
it shows `"$2a$11$LXD0UDB3kvwxqG/w/0icGuy6iXEOFZ264ushzSi6LfXSdAitwPmNO"`
How do I print the password inst... |
2018/03/13 | 610 | 2,894 | <issue_start>username_0: After adding Application Overlay using WindowManager.LayoutParams in Oreo, I'm not able to click on any part display on phone, Touch event is not considered.
Here is my code
```
int LAYOUT_FLAG;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
LAYOUT_... |
2018/03/13 | 478 | 1,878 | <issue_start>username_0: I have a form with text boxes and when I refresh the page all the data is lost can someone help me on how to prevent the data from being lost when the page is refreshed. I've done a lot of research over this but hit a road block after road block, so I really hope your help in this, many thanks!... |
2018/03/13 | 915 | 3,137 | <issue_start>username_0: How to vertically place a text over image in react native? [I found this doc](https://medium.com/@mheavers/vertically-centering-text-over-images-in-react-native-with-flexbox-935e822751f3). But i can't do like that , I can't add `text` tag as a child component of `Image` tag.I've tried like the ... |
2018/03/13 | 590 | 2,014 | <issue_start>username_0: In my web application, I have to import an excel file and want to pass the same to Server side controller.
In Server side I have used EPPlus.
How can I achieve the same?
Anyone please help to achieve the same<issue_comment>username_1: Create a file input in your template
```
Upload
```
T... |
2018/03/13 | 576 | 1,976 | <issue_start>username_0: I need to disable jsp compilation during runtime. I already have pre-compiled all the jsp files into the product. In production environment I do not want any new jsp to run.<issue_comment>username_1: Create a file input in your template
```
Upload
```
Then head over to your component
```
@... |
2018/03/13 | 634 | 2,257 | <issue_start>username_0: I need to calculate the total volume of elements with a certain type of material, then calculate that part of them in which some **UVARM** variable is greater than 1, and then define the ratio between these volumes.
The problem is that I cannot find how to filter out the elements exactly by n... |
2018/03/13 | 756 | 2,500 | <issue_start>username_0: Actually, what I want to do is to use the output value from my first query :-
```
SELECT pdate, MAX(value_lost) FROM ltime GROUP BY pdate
```
to calculate the SUM of value lost by Month in my second query, but I got no idea on this. Can anyone help me. I get error for my query below:-
```
... |
2018/03/13 | 637 | 2,479 | <issue_start>username_0: Im curious to know can we use DML commands like insert/update/delete in functions in sql server.<issue_comment>username_1: In short: **Yes**
And if you are more interested, you can read the following the following article :
[CREATE FUNCTION (Transact-SQL)](https://learn.microsoft.com/en-us/sql... |
2018/03/13 | 322 | 1,432 | <issue_start>username_0: Currently I am developing a jelly template, but I am not aware how to configure email-ext-plugin to test the code changes on the created build instead launching the build again and again, just for the sake of testing the template.<issue_comment>username_1: 1. You should add to the job a Post-Bu... |
2018/03/13 | 714 | 2,718 | <issue_start>username_0: When i click table view cell click event not working. I am assigned the data to view in custom tableView cell class and passed the value from viewController class. Is there is any problem in assigning data to views in custom table view cell class
ViewController.class
```
func tableView(_ tabl... |
2018/03/13 | 1,212 | 3,726 | <issue_start>username_0: I'm trying to plot a dc choropleth , but somehow the legend is not showing up.
Here is the sample fiddle :
<http://jsfiddle.net/susram/9VJHe/56/>
```
usChart
.width(1200)
.height(500)
.dimension(state_dim)
.group(latest_mean_sqft_per_state)
//... |
2018/03/13 | 586 | 2,297 | <issue_start>username_0: I am looking to get the count of all documents in a chosen partition. The following code however will return the count of all documents in the collection and costs 0 RU.
```
var collectionLink = UriFactory.CreateDocumentCollectionUri(databaseId, collectionId);
string command = "SELECT... |
2018/03/13 | 845 | 3,086 | <issue_start>username_0: I am stuck to one point i want to develop a app that support LTR and RTL both but i don't want to create two .xib for LTR and RTL.
So can any one provide me any method avalable fot LTR to RTL using same xib.
thank you in advance.<issue_comment>username_1: There is no need to create 2 xib file... |
2018/03/13 | 1,056 | 4,035 | <issue_start>username_0: I have Predicate builder, which is having predicate and inner predicate and building a dynamic filter based on conditions, let's say I am selecting one department, under that department I am getting list of employees, once I get the list of employees, I need to load the respective records for e... |
2018/03/13 | 2,691 | 9,091 | <issue_start>username_0: I have provided the code which on click `select-all` checkbox , child
checkbox gets checked/unchecked. Now if I deselect any child checkbox ,
'select-all' checkbox should get unchecked. How do I do?
```js
$(document).ready(function() {
$('#select-all').click(function(event) {
var $... |
2018/03/13 | 434 | 1,489 | <issue_start>username_0: I added a column in a table (query below)
```
ALTER TABLE `acct_doc_item_data`
ADD fk_job_id INT(11),
ADD FOREIGN KEY (fk_job_id) REFERENCES `job`(`job_id`);
```
Now I want to drop this column (fk\_job\_id). I tried these queries but they are giving error.
```
ALTER TABLE `acct_doc_item_d... |
2018/03/13 | 3,058 | 5,427 | <issue_start>username_0: I have a list like this:
```
list1 = [['2012', '1', '3', '1', '832.0', '261.0', '100.00'],
['2012', '1', '5', '1', '507.0', '193.0', '92.50'],
['2012', '2', '3', '1', '412.0', '200.0', '95.00'],
['2012', '2', '5', '1', '560.0', '335.0', '90.00'],
['2012', '3', '3', '1', '584.0', '205.0', '... |
2018/03/13 | 1,313 | 3,890 | <issue_start>username_0: ```js
var arrayOfNumbers = [1, 2, 3, 4, 5, 6, 78];
for(var index in arrayOfNumbers){
console.log(index+1);
}
```
The output for this sample code is.
01
11
21
31
41
51
61
Why are these indexes of an array treated as a string in JavaScript?<issue_comment>username_1: Fr... |
2018/03/13 | 519 | 1,769 | <issue_start>username_0: So, i have a data which is from my table so i'm using adapter. Here is how i set it up in my adapter
```
public View getView(int position, View convertView, ViewGroup parent) {
inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View row = inflater.i... |
2018/03/13 | 697 | 2,816 | <issue_start>username_0: I have a class and I need to test it
```
class ToBeTested():
def my_method():
pass
```
I have designed some unittests in python.
```
import unittest
class MyFirstUnitTest(unittest.TestCase):
def setUp(self):
# prepare some data
# run a method
# coll... |
2018/03/13 | 580 | 1,594 | <issue_start>username_0: ```
val str = "2018-01"
var df = Seq((10,"2018-01-22")).toDF("sno","date")
df.show
df.createOrReplaceTempView("dd")
var ddf = spark.sql("select sno,date," + str.toString + " as new from dd")
ddf.show
```
The output is:
```
str: String = 2018-01
df: org.apache.spark.sql.DataFrame = [sno: i... |
2018/03/13 | 416 | 1,421 | <issue_start>username_0: Need to get true/false for each row that exists in table.
My exact question how can we use EXISTS with IN clause.
For Example:
Select exists(select 1 from table\_name where table\_column in ('xyz','abc')).
This returns TRUE even if one of the rows exists. I need a column that says TRUE if ... |
2018/03/13 | 1,113 | 2,858 | <issue_start>username_0: Let's say I have a vector of distances (meters):
```
my.distance <- c(0, 61, 122, 182, 242, 302, 363, 424, 485, 548, 611, 673,
735, 859, 920, 982, 1044, 1105, 1166, 1227, 1288, 1348,
1410, 1471, 1532, 1593, 1655, 1716, 1778, 1839, 1901, 1963,
... |
2018/03/13 | 727 | 2,775 | <issue_start>username_0: I am trying to use styled-components to style my own child components.
As an example, I have created a custom card component, called myCard, as follows:
```
import React from "react";
import Card, { CardActions, CardContent } from "material-ui/Card";
import Button from "material-ui/Button";
... |
2018/03/13 | 304 | 1,090 | <issue_start>username_0: I want to modify my code structure using eslint of airbnb. I have follwed these instruction given in [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb). After initiating the command
`npm run lint`, results consists of `'fetch' is not defined` and also, `'localStorage' i... |
2018/03/13 | 398 | 1,388 | <issue_start>username_0: I have two variables:
`$points - could be positive or negative`
`$time_elapsed -is always positive`
I'm trying to proportionally decrease `$points` based on `$time_elapsed`. I can't use subtraction because it's not "proportional" the way I need it. I need something similar to division, but th... |
2018/03/13 | 1,327 | 4,809 | <issue_start>username_0: I am writing an application wherein when ever user enter quantity and price it gives item total price.User can enter as many items he wants. Also I need to show subbtotal price which will be sum of all input price. I am able to calculate item price. however somehow total price is not getting di... |
2018/03/13 | 735 | 2,439 | <issue_start>username_0: I would like to automatically save emails every time I receive from a particular ID (ex- '<EMAIL>') into a specified folder.
I can then use this file as a trigger for my script.
Can this be done? Will this need VBA or just outlook?
It would be great if the mail can be saved as a text file.<is... |
2018/03/13 | 772 | 2,600 | <issue_start>username_0: I have been trying for hours to create a program that outputs something like `command[/home/nerdofcode/]:` by running something like:
`printf("Command[", system("pwd"),"]: ");`...
But the problem I am receiving is that when I go to type input, it starts typing at `command[...` and then once ... |
2018/03/13 | 3,289 | 5,323 | <issue_start>username_0: Consider I have an array containing the string of datetime:
```
new_time[index]
Out[9]:
array(['2012-09-01_00:00:00', '2012-09-01_01:00:00',
'2012-09-01_02:00:00', '2012-09-01_03:00:00',
'2012-09-01_04:00:00', '2012-09-01_05:00:00',
'2012-09-01_06:00:00', '2012-09-01_07:00:... |
2018/03/13 | 766 | 2,431 | <issue_start>username_0: I have three environments:
```
env.com
env-uat.com
env-pre.com
```
All three pages run the same code. I want env-uat.com and env-pre.com to both get this in the htaccess:
```
Header set X-Robots-Tag "noindex, nofollow"
```
This will effectively completely unindex these pages, including PD... |
2018/03/13 | 433 | 1,457 | <issue_start>username_0: I'm trying to study C++ template relative things, and I encountered one problem, the source code is as below, I have tried every method possible, but it didn't work, could someone can help? thanks!!
```
template
class myTest{
public:
bool (T::\*funcInTemplate)() const;
void addFunc(bool (T:... |
2018/03/13 | 390 | 1,528 | <issue_start>username_0: Can someone explain the below syntax of XSL
```
```
[](https://i.stack.imgur.com/Bliim.png)<issue_comment>username_1: You are creating elements with all node() names and attributes not remaining elements:
1. All attributes ... |
2018/03/13 | 826 | 3,211 | <issue_start>username_0: I have a [sample](https://previews.envatousercontent.com/files/240466341/index.html) html
I am using `WKWebView` to show this html. What I want is that when user finishes the game, i.e when "high score" screen appears, we get notification inside our code as well (i.e swift), so that we dismiss... |
2018/03/13 | 1,134 | 4,670 | <issue_start>username_0: [](https://i.stack.imgur.com/OYgXw.gif)
In the GIF above, the `loginMenu` is supposed to be a keyboard avoiding view. It never gets covered by the keyboard. When start to edit either of those text fields, `loginMenu` does get ... |
2018/03/13 | 982 | 3,477 | <issue_start>username_0: There is a database in MYSQL InnoDB engine. When I take backup of my database which is about 150 GB by mysqldump command on linux server. I get the error message
>
> mysqldump Lost connection.
>
>
>
There is a table of size 105 GB and about 420 000 000 rows and about 100 000 rows insert... |
2018/03/13 | 963 | 3,480 | <issue_start>username_0: I have table name called spent\_table where user will add the amount he as spent.
[](https://i.stack.imgur.com/Lnxhl.png)
I want to sum all the values in spent\_amt field based on the id and it should save the values to anoth... |
2018/03/13 | 501 | 1,735 | <issue_start>username_0: Is it possible in a C# WinForms app to click anywhere on an unfocused form (to focus the form), without also focusing / selecting any controls at the click point?
I'm trying to mimic the way Excel works where if you click on an unfocused Excel workbook / sheet, it will focus (and bring to fron... |
2018/03/13 | 729 | 2,351 | <issue_start>username_0: I'm trying to read the IBM notes email on MacOS High Siera. When I run my java program, it's giving me this error:
>
> Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: no
> lsxbe in
> java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
> at java... |
2018/03/13 | 425 | 1,623 | <issue_start>username_0: I have a Primefaces dataTable where one column is having three output texts and one command button with tooltip. The button appears with output labels as
>
> This is for export label. This is for text.org.primefaces.component.commandbutton.CommandButton@3f60d3f9
>
>
>
How can I not inclu... |
2018/03/13 | 446 | 1,800 | <issue_start>username_0: So I'm processing a string which contains the name of people, locations, etc.
Which kind of array is better in terms of memory usage since I'm developing it in Android.
My guess is that the 2D array will take up more memory. For example: Number of people are 5 and the number of locations is 1.... |
2018/03/13 | 412 | 1,443 | <issue_start>username_0: I have a on click jquery function written inside ready() function but still it does not work on the site. It does work when I paste the code in the console.
```
jQuery(document).ready(function($){
jQuery(".product-video-popup").click(function(){
jQuery("html, body").animate({ scrol... |
2018/03/13 | 357 | 1,278 | <issue_start>username_0: I'm automating a native android app, where for profile image i need to upload image from mobile gallery or camera, is it possible using appium, if so explain me HOW?<issue_comment>username_1: Try this code.
```
jQuery(document).ready(function($){
jQuery(document).on("click",".product-video... |
2018/03/13 | 761 | 3,210 | <issue_start>username_0: I have implemented a Filter, in which I want to read the content of request first for some checks and then I would like to go on.
But the problem is, that in the following filter from the filter chain the `getParameters()` Method from `class Request (org.eclipse.jetty.server.Request)` is calle... |
2018/03/13 | 612 | 1,911 | <issue_start>username_0: I am trying to get the POST and GET requests working (via Postman) but this is what I'm getting,
**GET Request**
```
curl -X GET http://localhost:8080/api/v1/namespaces/default/pods/mypod/exec
```
**GET Response**
```
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"sta... |
2018/03/13 | 777 | 3,195 | <issue_start>username_0: I have a DynamoDB Table and I want a particular value to be updated using multiple condition expression. Can we do that?
My code:-
```
dynamodb = session.resource('dynamodb')
table = dynamodb.Table('gold-images')
response = table.update_item(
Key={
... |
2018/03/13 | 602 | 2,297 | <issue_start>username_0: I have a input tag to get text input from client side
```
```
Now I want to select the type attribute based on a javascript variable **password\_flag**
If `password_flag==1` then `type="password"` else `type="text"`
So, when password\_flag will be set user will be able to give password inp... |
2018/03/13 | 686 | 2,653 | <issue_start>username_0: i know to pros this may sound stupid. but i've been worried lately of all the html and js injections possible out there...
so the situation is, i get a URL submitted. using JS i extract the URL from the box and then dynamically create link element and place it right below the box. could such ... |
2018/03/13 | 728 | 2,765 | <issue_start>username_0: I am building a php docker image from the base image of `php:7.2-fpm-alpine`, where some custom php extension is needed.
Like the following commands for installing dependencies and some extra extension.
```
RUN apk upgrade --update && apk add libpng-dev libjpeg-turbo-dev \
freetype-dev libbz... |
2018/03/13 | 909 | 3,847 | <issue_start>username_0: I have one button when i taped the button camera on and take the pictures.after taking the picture i need to show the alert to the user.the alert section not working.[enter image description here](https://i.stack.imgur.com/leGRT.png)<issue_comment>username_1: To do this you need to swizzle the ... |
2018/03/13 | 551 | 2,121 | <issue_start>username_0: I have my batch job definition in Java based configuration file. I have seen that `CommandLineJobRunner` can be used to launch job, but the job definition should be defined in .xml. I want to use `CommandLineJobRunner` to run my jobs defined in java based configuration.
According to the docume... |
2018/03/13 | 558 | 1,944 | <issue_start>username_0: I'm working on a C# based chat client in Windows Forms. I want to make it so a user won't always have to click the button when they want to send a message. Instead, hitting the `Enter` or `Return` key should be sufficient.
Here is a screnshot of my Form:
 {
$.getJSON("#myURL", function(getStre... |
2018/03/13 | 466 | 1,879 | <issue_start>username_0: I am new to this concept, i know the property of interface and abstract.
when i explain the concept to my friends, they asked me to create abstract class inside the interface.
please tell me , is it possible to create abstract class inside the interface.
i googled, but i am not able find the e... |
2018/03/13 | 909 | 2,584 | <issue_start>username_0: I have a converted timestamp from utc to local and it look like below
2018-02-03T06:30:00.000Z .I need to display only 06:30 from the reponse.I tried using regex,but no luck.Is there any solution to convert it?<issue_comment>username_1: You don't need `regex` compulsorily here. You can use you... |
2018/03/13 | 931 | 2,650 | <issue_start>username_0: If I have the following XML in XElement myXML variable in C#,
```
myvalue
```
To get "myvalue" I need to do as below:
```
myXML.Element("Leve1").Element("Level2").Value;
```
Is there any shortcut to do it like:
```
myXML.Element("Leve1/Level2").Value
```
Thanks...<issue_comment>use... |
2018/03/13 | 1,743 | 7,612 | <issue_start>username_0: I have following example application layout:
```
app.module
|
|-- dashboard.module (lazy loaded)
|-- dashboard-routing.module (imported by dashboard.module)
|-- dashboard.service (provided by dashboard.module)
|-- dashboard.component (de... |
2018/03/13 | 438 | 1,163 | <issue_start>username_0: Say I want the YouTube video ID from this link (`VgC4b9K-gYU`):
```none
https://www.youtube.com/watch?v=VgC4b9K-gYU
```
How would I get it using Python?<issue_comment>username_1: You need to use 'urlparse' library.
Python2
```
>>> import urlparse
>>> url = "https://www.youtube.com/watch?v=... |
2018/03/13 | 546 | 1,945 | <issue_start>username_0: I'm receiving a byte array from server side and has converted it successfully to blob. However, when I'm trying to download it, it shows the file is corrupted. Below are my codes -
```
// In client side controller
this.contractsService.downloadPdf(id)
.then((result) => {
var blob... |
2018/03/13 | 709 | 2,034 | <issue_start>username_0: i am using simple bash script which stores values in file and those content of file sends to appropriate email.
the output of bash command comes like this:-

but when i sends this output, i am getting like this
![email output](http... |