date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/17 | 310 | 1,061 | <issue_start>username_0: I have been working with a python program which uses `sounddevice` module to play audio. The program works fine in my office pc (running **Ubuntu 17.10**), but not in my home pc (running **Linux Mint 18.3**). It generates the following error:
```
Traceback (most recent call last):
File "...p... |
2018/03/17 | 637 | 2,373 | <issue_start>username_0: ```
{
"578080": {
"success": true,
"data": {
"type": "game",
"name": "PLAYERUNKNOWN'S BATTLEGROUNDS",
"steam_appid": 578080,
"required_age": 0,
"is_free": false,
}
}
}
```
This is from the Steam API. As you can see the root key the I... |
2018/03/17 | 447 | 2,030 | <issue_start>username_0: I am trying to make and app which will backup my contact list to firebase database. I can store all contacts into the database, but when I save new numbers and hit sync button again, it pushes all contacts again. I have the ArrayList of my contacts now I want to check each and every contacts if... |
2018/03/17 | 567 | 1,906 | <issue_start>username_0: I'm using [jest](http://airbnb.io/enzyme/docs/guides/jest.html) for writing test cases. One of my function uses [uuid](https://www.npmjs.com/package/uuid) and due to which it is not a pure function. The code is something like this:
```
const myFunc = () => {
const a = uuid();
return a... |
2018/03/17 | 360 | 1,154 | <issue_start>username_0: I have a `vector >graph` in my Edge object i have 3 int fields called height weight length. I have already populated my vector with elements and now i want to sort my vector in terms of weight from largest to smallest. How would i be able to do so.<issue_comment>username_1: You can use `jest.mo... |
2018/03/17 | 805 | 3,022 | <issue_start>username_0: I am working on a simple demo React project. I have a Home component which gets rendered when directly placed in `main.js` but when placed inside the `Router` in `Routes.js`, it is not rendered. Can anyone let me know what am I doing wrong here?
`main.js` file
```
import React from "react";
i... |
2018/03/17 | 585 | 2,239 | <issue_start>username_0: I need to configure encrypted password for Jboss. Right now i have direct username password in oracle-ds.xml.
<https://docs.jboss.org/jbosssecurity/docs/6.0/security_guide/html/Encrypting_Data_Source_Passwords.html>
After going through above Url, I removed username and password from oracle-d... |
2018/03/17 | 748 | 2,215 | <issue_start>username_0: **Here Iam trying to connect three tables so that i can get my desired out put**
*Drupal 7 db select*
```
function abc($Incharge) {
$res= db_select('node', 'n')
->Join('aa', 'f', 'f.id = n.nid')
->Join('bb', 'd', 'd.id = f.entity_id');
return $total_res = $res ->condition('n.type', 'ram... |
2018/03/17 | 645 | 2,388 | <issue_start>username_0: I want to finish first all results before going to another loops. How can I manage to achieve that?
```
function callback_Original(results, status) {
if (status === google.maps.places.PlacesServiceStatus.OK) {
for (var i = 0; i < results.length; i++) {
createMarke... |
2018/03/17 | 1,071 | 3,865 | <issue_start>username_0: I see some strange code in our project like follows.I test it and get the right answer.But I think it is illegal,Can anyone explain this to me?
```
class Member
{
public:
Member():
a(0),b(1)
{}
int a;
int b;
};
// contains `Member` as its first member
class Container
... |
2018/03/17 | 628 | 1,942 | <issue_start>username_0: Image stretches if I don't use object-fit contains. Stretches in width, losing aspect ratio.
object-fit contain fixes that.
The problem is, the element itself is not contained, just the visible image. Which means if I make the image clickable, the whole element area (even outside the image)... |
2018/03/17 | 223 | 758 | <issue_start>username_0: I need to count all records from database where due date matches today date.
I found out that I should be able to do this using COUNT and CURDATE.
But I am not able to get it right:
```
SELECT COUNT (id) FROM tasks WHERE due_date = CURDATE
```<issue_comment>username_1: I tried my self and thi... |
2018/03/17 | 325 | 1,055 | <issue_start>username_0: I have a **big dataset** like following:
[](https://i.stack.imgur.com/5BFDp.png)
There are so many rows like this format.
Finding each NaN rows should base on the feature of NaN.
In other words, these rows cannot be located... |
2018/03/17 | 293 | 967 | <issue_start>username_0: I'm using Firebase with JavaScript and I want to assign `user.fcmkey` to an outside variable key.
The following is my code but doesn't access the key value and prints `NA`. How can I access snapshot value outside of the snapshot block.
```
var key="NA";
firebase.database().ref('users').child... |
2018/03/17 | 1,805 | 7,546 | <issue_start>username_0: I am getting 'Invalid CORS request' when I try to `PutMapping` of my API in Postman. But it is working fine for 'POST' and 'GET' mapping.
Why is it not working for the 'PUT' operation?
My Spring Boot version: 2.0
This is my config:
```
@Override
protected void configure(HttpSecurity http) ... |
2018/03/17 | 1,411 | 5,932 | <issue_start>username_0: Tracking or recording the position of an object when it is moved by a person from one place to another in a room with a camera. This makes the room look like an automatic warehouse, because it records objects' postion even they are moved by a person. I have no idea how to do this.<issue_comment... |
2018/03/17 | 213 | 834 | <issue_start>username_0: Am new to odoo ,
Am searching for a way to create/ add new types to the chart of account in odoo v 10 , when i create new chart of account only few options listed for the types
how can i do that ?
Thank you<issue_comment>username_1: Create a `menuitem and action` of `account.account.type` ... |
2018/03/17 | 2,241 | 8,412 | <issue_start>username_0: **testAjax function** *inside* **PostsController class**:
```
public function testAjax(Request $request)
{
$name = $request->input('name');
$validator = Validator::make($request->all(), ['name' => 'required']);
if ($validator->fails()){
$errors = $validator->errors();
... |
2018/03/17 | 528 | 1,539 | <issue_start>username_0: Here is how I get two plot handler which will draw on the same graphic(axes).
```
figureHandle = figure('NumberTitle','off',...
'Name','RFID Characteristics',...
'Color',[0 0 0],'Visible','off');
axesHandle = axes('Parent',figureHandle,...
'YGrid','on',...
'YColor',[0.9725 0.9... |
2018/03/17 | 454 | 1,335 | <issue_start>username_0: I am writing a program in C to separate the hour and minutes using arrays. However, the program gives me some outputs which exceed the length of the defined array. Can someone explain to me? I want the two array only include hour and the rest of the time without (AM/PM).
```
#include
#include... |
2018/03/17 | 435 | 1,672 | <issue_start>username_0: ```
select title
from Movie M , Rating R
where exists((select M.mID
from Movie)
except (select R.mID
from Rating));
```
>
> Error: near "(": syntax error
>
>
><issue_comment>username_1: Do the proper `JOIN`s with `LEFT OUTER JOIN`
```
S... |
2018/03/17 | 1,667 | 5,957 | <issue_start>username_0: While entering data to firebase database I am facing this error Uncaught (in promise ) : [object Object]. I am able to upload image to storage. But when other data like email and password are not being enter. Here I have created my own table to store user data
[.
I select these values using union all:
```
SELECT * FROM `table_default` UNION ALL SELECT * FROM `table_saved`
```
Structure of table\_def... |
2018/03/17 | 333 | 1,374 | <issue_start>username_0: I need to create a form in gravity forms. Client need to full in the form and should be able to add sections with title, body and image. I can create the form but can't get frontend add fieldgroup or section to work. Anyone ideas how to make fields repeatable on frontend?<issue_comment>username... |
2018/03/17 | 1,260 | 4,736 | <issue_start>username_0: I want to optimize Java source code. I implemented this code for file download:
```
if (!file.exists())
{
response.sendError(HttpServletResponse.SC_NOT_FOUND, "No file " + reportPath);
return;
}
if (!file.canWrite())
{
respon... |
2018/03/17 | 1,076 | 2,360 | <issue_start>username_0: Table Name: INCLog
[Table](https://i.stack.imgur.com/uCx2j.jpg)
```
UID Incident Number Modified Date Modified By
1 INC000011193511 2/18/2018 12:04 zuck
1 INC000011193511 2/19/2018 1:42 shei
1 INC000011193511 3/14/2018 5:08 byrr
1 INC000011193511 3/17/2018 5:08 byrr
2 INC000011... |
2018/03/17 | 175 | 613 | <issue_start>username_0: In telegram bot based on `telegraf`, I want to wrap text into multiple lines. Now it shows only part of that.
[](https://i.stack.imgur.com/qNZHy.png)<issue_comment>username_1: That's a client-side limit, unfortunately, you can't do this a... |
2018/03/17 | 1,151 | 4,635 | <issue_start>username_0: [How to set maximum expanded height in android support design bottom sheet?](https://stackoverflow.com/questions/36636671/how-to-set-maximum-expanded-height-in-android-support-design-bottom-sheet/36636780?noredirect=1#comment85651951_36636780)
The question is an extension to the above question... |
2018/03/17 | 1,543 | 5,461 | <issue_start>username_0: I'm creating a table using html and add some designs using css
I already created a table and put background color horizontally/ by row like this but i want to make it vertical
[](https://i.stack.imgur.com/OOI2y.png)
and here... |
2018/03/17 | 773 | 3,187 | <issue_start>username_0: I want to set a *session attribute* with the name that is send by user. User will first login in. And when he logged in I want that his username will set as session attribute.
What should I do?
This is my controller:
```
@GetMapping("/login")
public String login() {
return "Login";
}
@... |
2018/03/17 | 564 | 1,874 | <issue_start>username_0: I have to add the css file externally. Tried with the code import "./Login.css"; which is located in the base path. Cant able to get the file, which turns the error like below.
**You may need an appropriate loader to handle this file type.**
```
.Login {
padding: 60px 0;
}
```
I up... |
2018/03/17 | 336 | 999 | <issue_start>username_0: I’m wondering how I can get the 4 digit user ID of a discord user from a message. For example, PruinaTempestatis#8487. Can someone help me?<issue_comment>username_1: If the number always appears after a single hash `#` then you can simply do a split on that string and get the second value of th... |
2018/03/17 | 398 | 1,282 | <issue_start>username_0: Upon my research, I realised Google's Activity Recognition API allows you to detect the activity a phone user is undertaking (walking, driving, etc), but I want to detect a change in transition. I want to know if this transition occurs:
(walking to driving) or (driving to walking). As soon as ... |
2018/03/17 | 1,108 | 2,582 | <issue_start>username_0: I have some database like example below.
```
WITH TB AS(
SELECT 'A' C1, 'B' AS C2, 1 AS N1, 1 AS N2 FROM DUAL UNION ALL
SELECT 'A' C1, 'B' AS C2, 2 AS N1, 2 AS N2 FROM DUAL UNION ALL
SELECT 'A1' C1, 'B1' AS C2, 1 AS N1, 3 AS N2 FROM DUAL UNION ALL
SELECT 'A1' C1, 'B1' AS C2... |
2018/03/17 | 5,003 | 18,350 | <issue_start>username_0: I found this challenge problem which states the following :
>
> Suppose that there are n rectangles on the XY plane. Write a program to calculate the maximum possible number of rectangles that can be crossed with a single straight line drawn on this plane.
>
>
>
 to compile and view LaTeX documents with [these mappings](https://stackoverflow.com/a/48622447/7952358).
But I don't use it anymore because `\begin` and `\end` highlighting (and to a lower degree parentheses matching... |
2018/03/17 | 1,943 | 6,166 | <issue_start>username_0: I need help in creating chat rooms. It works like I'm entering into a specific room (like "Python Community", "DjangoDev", etc.).
Packages that I use:
* Django==1.9.7
* channels==1.1.8
* asgi-redis==1.4.3
I use the slug fields of the group name. I filter this slug in Channels find a group an... |
2018/03/17 | 1,923 | 7,085 | <issue_start>username_0: What am I trying to do?
Display 20 images vertically. Have to request for the next 20 images when scrolled to the last image (pagination or infinite scroll).
Whats happening?
Using recyclerview with height set to wrap\_content: None of the images are being displayed.
Using recylerview with ... |
2018/03/17 | 668 | 2,033 | <issue_start>username_0: ```
double avg = (double)ListUtil.sum(list)/list.size();
k =10;
while (avg <= k - 0.5) {
list.add(k);
avg = (double) ListUtil.sum(list)/list.size();
System.out.println(avg);
}
```
I have a while loop like above with `condition is <= 9.5`
Output
```
... |
2018/03/17 | 244 | 786 | <issue_start>username_0: I can share files those added from other folders except camera. I am getting following exception in Lenova K3 Note.
```
java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/9016-4EF8/DCIM/Camera/IMG_20180317_111252.jpg
```
file\_paths.xml
```
xml versio... |
2018/03/17 | 3,216 | 10,610 | <issue_start>username_0: I am pragmatically building a nested JSON from a table. Json looks something like this:
```
{"date":"03-16-2018 06:57:02",
"details":
[
{
"motorstate":0,
"startTime":"03-16-2018 20:41:57",
},
{
"motorstate":0,
... |
2018/03/17 | 3,049 | 10,102 | <issue_start>username_0: I have one column with JSON data, i want to use that column with my query, but i was try so many thing but can't please guide me for that How to use Column with JSON string with IN Operator in SQL ?
i have following table and query.
```
table1
------------
id | ids |
1 | [1,2] |
2 | [3,... |
2018/03/17 | 615 | 2,050 | <issue_start>username_0: I am trying to build an online random forest classifier. In a for loop I faced an error that I can not find the reason for.
```
clf = RandomForestClassifier(n_estimators=1, warm_start=True)
```
In the for loop, I am increasing the number of estimators while reading new data.
```
clf.n_estim... |
2018/03/17 | 957 | 2,838 | <issue_start>username_0: I am obtaining two email id's from database by a query. Both stored in a single variable. I want to send email to these two addresses by PHPMailer keeping them in cc. Currently only one email is being selected and passed in cc. Can I know where am I going wrong. My code here,
```
$get_cc_ema... |
2018/03/17 | 1,910 | 7,631 | <issue_start>username_0: I am trying to understand how the compiler checks whether the position for a type parameter is covariant or contravariant.
As far as I know, if the type parameter is annotated with the +, which is the covariant annotation, then any method cannot have a input parameter typed with that class/tra... |
2018/03/17 | 744 | 2,883 | <issue_start>username_0: Getting started with a droplet on Digital Ocean, so far it's been a fun process. Now I want to begin migrating my site, so I set everything up and created an `index.php` to where to my root dir as a "construction" page for now. I'm setting up WordPress in a sub-dir and moved all of the contents... |
2018/03/17 | 1,298 | 4,337 | <issue_start>username_0: I was trying to update my Android Studio 2.2.3 to version 3 but when i did, below error blocked the build process :
>
> Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:multidex:1.0.3.
>
>
>
> >
> > Could not resolve com.android.support... |
2018/03/17 | 479 | 1,859 | <issue_start>username_0: So I have a XF application with multiple `Label`s. I want to be able to change all my label's `FontStyle` programmatically depending on the platform in one line if possible like below instead of listing the label's name one by one.
```
if(Device.RuntimePlatform == Device.Android) {
label.S... |
2018/03/17 | 638 | 2,305 | <issue_start>username_0: I am writing an application which has to find the sub string from a file and
write this sub string into some different file. For writing into a file , I am using fputs, but someone told me to check the safer version for writing into the file.
```
while (fgets(line, MAX_LINE_LEN, fp1) != NULL)... |
2018/03/17 | 1,708 | 6,462 | <issue_start>username_0: I have a register user route which takes `name` , `email` and `password`. It works perfectly fine if the data is correct i.e. unique email and params are present, but if the user is already registered then Laravel sends auto error message in its own format. I want return format to be consistent... |
2018/03/17 | 1,413 | 4,810 | <issue_start>username_0: I am trying to make a Horizontal UIPickerView. But i have som issues with the width. As you can se in the top of the image above[](https://i.stack.imgur.com/Gbfl2.jpg)
I want the width of the PickerView to be = view.frame.size... |
2018/03/17 | 1,414 | 4,217 | <issue_start>username_0: Here is my code:
```
func dump(w io.Writer, val interface{}) error {
je := json.NewEncoder(w)
return je.Encode(val)
}
type example struct {
Name string
Func func()
}
func main() {
a := example{
Name: "Gopher",
Func: func() {},
}
err := dump(os.... |
2018/03/17 | 1,662 | 4,283 | <issue_start>username_0: I have a docker-compose-cli.yaml file defining 5 services:
```
Starting peer0.org1.example.com ...
Starting peer1.org2.example.com ...
Starting orderer.example.com ...
Starting peer0.org2.example.com ...
Starting peer0.org1.example.com ...
```
Running the command
```
docker-compose -f dock... |
2018/03/17 | 1,526 | 5,014 | <issue_start>username_0: [UPDATED]: Split the code into 2 functions as suggested by @Ashton to make things a bit simpler.
I am a noob with flutter and I am trying to do some really simple things with flutter i.e. building a login page with either firebase login or google login. I face errors with both and I am not able... |
2018/03/17 | 1,024 | 3,344 | <issue_start>username_0: I am trying to solve a problem of making a sum and group by query in Prometheus on a metric where the labels assigned to the metric values to unique to my sum and group by requirements.
I have a metric sampling sizes of ElasticSearch indices, where the index names are labelled on the metric. T... |
2018/03/17 | 1,663 | 6,176 | <issue_start>username_0: I have a WooCommerce store, which is connected with Zapier to a Google spreadsheet. In this file, I keep track of the sales etc. Some of these columns contain -obviously- prices, such as price ex VAT, etc. However, for some reason the pricing values are stored in my spreadsheet as strings, such... |
2018/03/17 | 1,515 | 5,549 | <issue_start>username_0: I have a requirement to generate a unique number (ARN) in this format
```
DD/MM/YYYY/1, DD/MM/YYYY/2
```
and insert these in elastic search index.
The approach i am thinking of is to create an auto increment field in the doc and use it to generate a new entry and use the new auto generated ... |
2018/03/17 | 1,527 | 5,583 | <issue_start>username_0: I am trying to update update column based on combination of all columns.
Table A
```
NUM_1 NUM_2 NUM_3 Name
----- ----- ----- ----
1 4 6 Test1
4 4 5 Test2
4 4 3 Test3
```
Table B
```
NUM_1 NUM_2 NUM_3 Name
----- ----- ----- ----
1 4 6 Final... |
2018/03/17 | 841 | 3,456 | <issue_start>username_0: I'm new in CakePHP 3.5. Please answer me nicely because I really need help in solving this problem or at least give an idea on how to solve this. I've read almost the same question but most of the answers they provide are already deprecated.
My problem is I want to display in index the transa... |
2018/03/17 | 802 | 2,607 | <issue_start>username_0: I'm having a trouble with css trying to remove a text after < span> tag to append other text. how can i remove this
```
[yesi](#)
/ (this slash needs to be removed with css)
```<issue_comment>username_1: you mean you want to hide that text?
Then you can a class `.hideme {display: non... |
2018/03/17 | 832 | 3,134 | <issue_start>username_0: I have a big problem. I wrote script in jQuery which gets data from webservice by posing JSON and webservice by response sends me back data also in JSON.
The code looks like that:
```
function Product(date_from,date_to,API_KEY) {
var self = this;
self.productURI = 'https://api.xxxxxxxxxxxxxxxx... |
2018/03/17 | 541 | 2,150 | <issue_start>username_0: I want to know is that possible to have one laravel app installed but works differently in 2 directories or no?
purpose
=======
i want have my blogging application in `domain.com` and my store application in `store.domain.com`
basically is one laravel application and different installed pack... |
2018/03/17 | 886 | 2,710 | <issue_start>username_0: I am trying to run an angular web app. I have cloned confirmed working project, but when I run `pub get` I get following error:
```
/usr/lib/dart/bin/pub get
Resolving dependencies...
Got dependencies!
Precompiling dependencies...
Loading source assets...
Loading angular, sass_builder and dart... |
2018/03/17 | 1,163 | 3,554 | <issue_start>username_0: I want to insert a result that return by this query:
```
WITH rows AS
(
SELECT *, ROW_NUMBER() OVER (ORDER BY [発生時刻]) AS rn
FROM [PROC_MN].[dbo].[TBL_FINISH_STATUS]
where PO_NO='GV12762' and 発生時刻 BETWEEN '2018/03/16' AND '... |
2018/03/17 | 720 | 2,110 | <issue_start>username_0: I have a image with following dockerfile:
```
FROM ubuntu:14.04
# others here
```
Then I do follows:
```
docker pull user/prj:1.0
```
After somedays, I update my prj to `2.0`.
To save disk, I do as follows:
```
docker rmi user/prj:1.0
docker pull user/prj:1.1
```
But I found the new pu... |
2018/03/17 | 1,294 | 4,077 | <issue_start>username_0: I want to make an `X` button (close button) of the `MAIN WINDOW` unable when the modal window is opened.
I tried to find the answer what I was looking for, but there weren't the answer that I wanted.
I really emphasise that I want to make close button of `MAIN WINDOW` unable, NOT modal window... |
2018/03/17 | 1,148 | 4,138 | <issue_start>username_0: I have Excel vba macro to open specific Outlook inbox subfolders but the Outlook sub-folder opens in a new Outlook window.
This has the result that if i don't manually close the new window, then after running the macro several times I have multiple Outlook windows open.
How can I modify the c... |
2018/03/17 | 1,405 | 4,213 | <issue_start>username_0: I'm following this tutorial trying to set up kafka,
<https://kafka.apache.org/quickstart>
And I get this error when doing the part on zookeeper.
It certainly has something to do with the config, but I don't understand to what extend.
```
bin/zookeeper-server-start.sh config/server.propertie... |
2018/03/17 | 767 | 2,932 | <issue_start>username_0: ```
#include
#include
using namespace std;
void test\_bad\_alloc(unsigned char \*start) {
try {
vector v = vector(start + 1, start - 13);
}catch (bad\_alloc) {
std::cout<<"bad alloc"<
```
This code is similar to my real project, I found it will result in bad\_alloc exception, Why? Is t... |
2018/03/17 | 1,555 | 5,506 | <issue_start>username_0: I'm reading through Eloquent Javascript and facing one of the exercises, I found a rather odd behavior. (at least for me)
the exercise asks to create a function in order to reverse an array. I thought I could loop over the array and each time pop one item from the original array and push it in... |
2018/03/17 | 1,683 | 5,949 | <issue_start>username_0: I can connect to my device fine, I can see console and inspects the pages, but whenever I try to open the debug tab in the WebIDE it remains blank.
I connect to my android device using USB ADB, the debugger feature used to work until all of the sudden it went blank whenever I tried accessing i... |
2018/03/17 | 1,263 | 4,064 | <issue_start>username_0: ```
Sub Test()
Dim Cell As Range
With Sheets(1)
' loop column H untill last cell with value (not entire column)
For Each Cell In .Range("A1:A" & .Cells(.Rows.Count, "A").End(xlUp).Row)
If Cell.Value = "0" Then
' Copy>>Paste in 1-line (no need to use Select)
... |
2018/03/17 | 2,981 | 13,125 | <issue_start>username_0: In this article, <https://www.geeksforgeeks.org/inline-functions-cpp/>, it states that the disadvantages of inlining are:
>
> 3) Too much inlining can also reduce your instruction cache hit rate, thus reducing the speed of instruction fetch from that of cache memory to that of primary memory.... |
2018/03/17 | 553 | 1,978 | <issue_start>username_0: I have a solr indexed table in which I want to filter the results if one column is greater than the other, so far I am able to specify the range of a particular column but cannot do comparing of two columns. I read in this [post](https://stackoverflow.com/questions/36996043/how-to-compare-two-c... |
2018/03/17 | 653 | 2,376 | <issue_start>username_0: I am referring to this feedback:
[Azure Storage Blob Trigger to fire when files added in Sub Folders](https://feedback.azure.com/forums/287593-logic-apps/suggestions/20164843-azure-storage-blob-trigger-to-fire-when-files-adde)
I have a Azure Logic App that is fired every time a blob is added ... |
2018/03/17 | 214 | 749 | <issue_start>username_0: In my view file, I have this filter
```
```
And I have set that filter to be enabled by default.
```
"search_default_today":1
```
In my database, my table has a date column which is a date type (not DateTime).
Ubuntu server's time, timezone and date settings already correct. Postgresql t... |
2018/03/17 | 1,250 | 4,499 | <issue_start>username_0: I am trying to drop foreign key using migration.
Here is my code
```
public function up()
{
Schema::table('tbl_social_media_links', function (Blueprint $table) {
$table->renameColumn('vchr_link', 'vchr_social_media_link');
$table->dropColumn('vchr_social_me... |
2018/03/17 | 934 | 3,508 | <issue_start>username_0: I have a research project which is focusing on understanding user's curiosity and connecting to Free WIFI including remote areas where internet is poor here.
To do this, we developed simple webpages with the first as a Visitor's form where we need a user/visitor to enter their data and let it... |
2018/03/17 | 607 | 1,714 | <issue_start>username_0: I want to submit a series of jobs to a cluster, I am using a software that runs through each line of a file, but it has an option to define intervals of lines so you can parallelise it.
the command line looks like this:
```
# Run MetaTissueMM (Mixed Model) to obtain estimates of effects
~/Met... |
2018/03/17 | 593 | 1,801 | <issue_start>username_0: ```
#include
using namespace std;
```
The limit is to make 10 input numbers
```
const int LIMIT = 10;
int main ()
{
```
This is just declaring variables
```
float counter ;
int number ;
int zeros;
int odds;
int evens;
cout << "Please enter " << LIMIT << "integers, "
<< "positi... |
2018/03/17 | 515 | 1,741 | <issue_start>username_0: i get the following error message from the terminal (powershell) when i try to run my echo.js file using node js
```js
PS C:\Users\ASUS\Dropbox\Web Development\Backend\Intro To Node> node echo.js
C:\Users\ASUS\Dropbox\Web Development\Backend\Intro To Node\echo.js:1
(function (exports, require,... |
2018/03/17 | 252 | 866 | <issue_start>username_0: When I open a new terminal and execute "export", I always can find "http\_proxy=127.0.0.1:1080" there.
But after checking .bashrc in my home folder, there is nothing related with the variable "http\_proxy".
So the question is, where is the environment variable http\_proxy may be setting? Or how... |
2018/03/17 | 599 | 2,029 | <issue_start>username_0: When I execute the command `./byfn.sh -m up`
The following error occurs:
>
> Starting with channel 'mychannel' and CLI timeout of '10' seconds and CLI delay of '3' seconds
>
>
> Continue? [Y/n] y
>
>
> proceeding ...
>
>
> docker: Cannot connect to the Docker daemon at tcp://127.0.0.1:... |
2018/03/17 | 1,393 | 5,798 | <issue_start>username_0: I started learning Java Agent few days ago. But documentation is not very good and beginners like me struggling to understand the basics. I created a basic multiplier class and export it to runnable jar using eclipse. Here is the code snippet.
**Main jar file:**
```
public class Multiplier {
... |
2018/03/17 | 626 | 2,123 | <issue_start>username_0: When a `BUILD` phaser is called, it overrides default attribute assignment in Perl6. Suppose we have to use that BUILD phaser, like we do in [this module](https://github.com/fayland/perl6-WebService-GitHub/blob/master/lib/WebService/GitHub/Role.pm) (that's where I met this problem). What's the ... |
2018/03/17 | 433 | 1,422 | <issue_start>username_0: I'm using **Swift 3**. I've already made this chat bubbles, but I want it to change sizes...
for example, when there 4 lines of text it's not changing size (making bigger), and I want it to do automatically. How can I do it?
Thank You!<issue_comment>username_1: There are two things wrong in... |
2018/03/17 | 1,136 | 4,188 | <issue_start>username_0: I have a data frame as df1 which contains a column of the name of the university as University\_name and has 500000 number of rows. Now I have another data frame as df2 which contains 2 columns as university\_name and university\_aliases and has 150 rows. Now I want to match each university ali... |
2018/03/17 | 770 | 3,044 | <issue_start>username_0: I have an action which in turn must affect many other areas of my app state. In this case, when the user selects a website from a dropdown list, it must update many other components. I'm currently doing it like so:
```
setSelectedWebsite (websiteId) {
// The core reason for this component
... |
2018/03/17 | 1,463 | 4,804 | <issue_start>username_0: I have to solve an exercise in C. The exercise asks me to get 2 arrays (a, b) from input and see if there is a value of a[] which is less than all the values of b.
Both array have 3 elements.
The code I wrote is the following:
```
for (int i = 0; i < 3; ++i)
{
while(k<3)
{
if(... |
2018/03/17 | 1,512 | 5,787 | <issue_start>username_0: How many CPU cycles are "lost" by adding an extra function call in Java?
Are there compiler options available that transform many small functions into one big function in order to optimize performance?
E.g.
```
void foo() {
bar1()
bar2()
}
void bar1() {
a();
b();
}
void bar2() {
... |
2018/03/17 | 800 | 2,874 | <issue_start>username_0: Rails server will not start after install of paperclip. I have this error message in the console:
```
undefined method 'has_attached_file'.
```
In my Gemfile
```
gem "paperclip", :git => "http://github.com/thoughtbot/paperclip.git"
```
I tried this in my config/environments/development.r... |
2018/03/17 | 1,024 | 3,194 | <issue_start>username_0: I've already read [Cannot install distribute: pypi.python.org rejecting http](https://stackoverflow.com/questions/46962577/cannot-install-distribute-pypi-python-org-rejecting-http) and [Getting error 403 while installing package with pip](https://stackoverflow.com/questions/46967488/getting-err... |
2018/03/17 | 1,365 | 4,646 | <issue_start>username_0: I've a raspberry pi on my network with an LED strip attached to it.
My purpose is to create a jar file that will sit on the pi, monitor system events such as logins and load average, and drive the LED based on the those inputs.
To continuosly monitor the logged in users, I am trying to use akk... |
2018/03/17 | 318 | 1,205 | <issue_start>username_0: I am building an Android application. On the front page I am displaying a random background image. This means that the width and height is dynamic. The problem is that the background image is being stretched.
I am displaying it in the LinearLayout with the code
```
android:background="@drawab... |
2018/03/17 | 1,094 | 3,613 | <issue_start>username_0: I set animation BOUNCE for marker. When i click button hide to hide marker. After i click button show to show marker, it has not animation before.
```
var latlng = new google.maps.LatLng(21.0394475,105.7540192);
var marker;
function initialize(){
var mapProp = {
center:latlng,
zoom:14,
... |
2018/03/17 | 985 | 3,096 | <issue_start>username_0: So I had this c windows program that writes to a data file with this code.
```
fprintf(fo,"\xbf%06d",num) ;
```
It worked fine but at some Chinese computers it behaves differently.
I made a little test program in C and compiled it in borland C and mingw.
```
#include
void main(void) {
... |
2018/03/17 | 1,229 | 4,520 | <issue_start>username_0: I load image from drawable, it usually show black image if I enable proguard
If I build debug (disable proguard) everything look good.
Here is my config in proguard:
```
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.modul... |
2018/03/17 | 1,272 | 4,142 | <issue_start>username_0: I have input message from customer for ex:
```
"This is example message with bad words like FWORD"
```
I have pattern that allows me to check this message, but I want output like this:
```
"This is example message with bad words like F***D"
```
I just want to replace all letters with star... |
2018/03/17 | 1,677 | 5,234 | <issue_start>username_0: I have the following 2 list mapped to each-other :
```
Values =[1,2,3,4,5,6,8,9,10,9,7,6,5.50,5,6,7,8,10,12,15,14 ,13.50 12]
Dates =[Day1,Day2,Day3,Day4,Day5,Day6,Day8,Day9,Day10,Day11,..,Day20]
```
[](https://i.stack.imgur.... |