date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/20 | 475 | 1,528 | <issue_start>username_0: I'm new to VBA and really trying to get working on a project for work, I apologize for my lack of knowledge but really trying to nail this for the boss.
What I'm trying to accomplish is as follows:
I have a list of numbers that start from H2 and go to H200, each ranging from 1~150.
I am tryin... |
2018/03/20 | 950 | 3,474 | <issue_start>username_0: I'm not exactly sure what to call this so I might have missed some things in my search for an answer for this but basically I have data that comes in from an external api and it gets inserted into an `innerHTML` tag now in the data that is being returned is some html which then gets processed t... |
2018/03/20 | 681 | 2,370 | <issue_start>username_0: So basically I have these json values in my config.json file, but how can I read them from a .txt file, for example:
```
{"prefix": $}
```
This would set a variable configPrefix to $. Any help?<issue_comment>username_1: It looks like you have control of the dynamic data. If that is so, It wo... |
2018/03/20 | 745 | 2,624 | <issue_start>username_0: I'm trying to dynamically create a query and filter from a table not known at compile time (specifically, I want to filter on `id` if I'm querying the `requests` table, `operation_ParentId` otherwise). The following fails because `id` is not a column in the `exceptions` table:
```
let dataset ... |
2018/03/20 | 863 | 3,036 | <issue_start>username_0: I'm currently interested in F# as it is different to everything I have used before. I need to access the first element of each list contained within a large list.
If I assume that the main list contains 'x' amount of lists that themselves contain 5 elements, what would be the easiest way to ac... |
2018/03/20 | 731 | 2,507 | <issue_start>username_0: How would you take a list of strings, eg.
```
["jeff", "bezos", "21"]
```
and map that to a struct
```
%{:fistname => "jeff", :lastname => "bezos", :age => "21"}
```
Is it possible to use the Enum functions or would you use the map functions. I need this struct in the specified format so... |
2018/03/20 | 923 | 2,849 | <issue_start>username_0: I'm making a form where i have to insert in my dB several values from a checkbox btn group into different columns. I also have to insert two different values depending if the btn is checked or not.
I made it work in the following way, but is there another way for this became more simple? It´s a... |
2018/03/20 | 412 | 1,299 | <issue_start>username_0: I am trying to develop a subquery to get the average attendance from two tables along with full details<issue_comment>username_1: ```
$checks = array(
'fixvalue',
'frtvalue',
'secvalue',
'thevalue',
'fovalue',
'fitvalue'
);
$data = array();
foreach( $checks as $value){
... |
2018/03/20 | 1,572 | 4,113 | <issue_start>username_0: I have a solution containing 4 projects.
* One .NET Framework project *(Ananas)*
* Two .NET Core project *(Bananas & Cherries)*
* One Xamarin project *(Dewberries)*
Every time I start Visual Studio 2017 Community (15.6.2) and load the solution, it hangs itself while loading in the first proje... |
2018/03/20 | 477 | 1,631 | <issue_start>username_0: I'm sure there is a perfectly logical explanation to why this isn't working the way I want it to but I am new to JavaScript so would love some help. Is there any reason you would know as to why it prints out yes even when I want it to print out no.
Thanks in advance
```
var username = prompt... |
2018/03/20 | 1,009 | 3,753 | <issue_start>username_0: I am creating an API using ASP.NET Core, and below is my controller code.
I have given the controller and Startup code below, along with fiddler request/response log. I am getting a 404 Not Found error. Please advise what am I missing?
```
[Route("api/[controller]")]
public class UserControll... |
2018/03/20 | 377 | 1,268 | <issue_start>username_0: I'm trying to invoke the iris endpointfrom the [SageMaker example notebooks](https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/tensorflow_iris_dnn_classifier_using_estimators/tensorflow_iris_dnn_classifier_using_estimators.ipynb) using the aws cli. I've tried... |
2018/03/20 | 411 | 1,212 | <issue_start>username_0: I have a table with dates in this format "12/14/2017" and I want to create another column that separates month from this date string and states it like "January" not "01". I think I need a mix of CASE function with some kind of DATE function.
Table:
```
Column A
12/14/2017
12/11/2017
2/16... |
2018/03/20 | 307 | 1,150 | <issue_start>username_0: The problem is that I have a file input field that takes only one file at a time, I need it to be like this.
If I try to upload one file, everything is fine. But if I need to upload more files it seems like the "change" handler method is not being called unless I reload the page, which is not... |
2018/03/20 | 669 | 2,384 | <issue_start>username_0: I need to know when a UIKit notification has been closed.
The UIkit notification plugin (<https://getuikit.com/docs/notification>) mentions that it has a close event. Is it possible to use this for instances triggered programatically?
e.g.
```
UIkit.notification({
message: 'my-message!',... |
2018/03/20 | 945 | 2,914 | <issue_start>username_0: ```
def f(c: String) = {
val array = ("google.com|yahoo.com|gmail.com|mail.com").split("\\|")
for (i <- array) {
if (c.contains(i)) {
println("comparing " + c + " with " + i)
i
}
}
"N/A"
}
```
My intention for the above function is that, it will return `N/A` if `c`... |
2018/03/20 | 534 | 2,146 | <issue_start>username_0: I have a main storyboard which consists of a single `UITabBarController`, and each `UITabBarItem` simply takes you to another storyboard. My issue is that not all the tabs should always show. There is anywhere between 2 and 5 tabs, and the combination of tabs can be completely different based o... |
2018/03/20 | 1,037 | 3,249 | <issue_start>username_0: This is my first attempt of reversing a dynamic array:
```
bool reverse()
{
T *newArray = NULL;
// Validate operation.
if (!isValid() || isReadOnly())
return false;
// Allocate new array
newArray = new (std::nothrow)T[m_size];
if (newArray == NULL)
ret... |
2018/03/20 | 1,533 | 4,371 | <issue_start>username_0: I'm stuck on how to get a name stored in a string including white space characters, and then get the rest of the input stored separately as an int, char, and double. In other words, four separate data types: string, int, char, double.
Here is the file contents I need to read and extract data ... |
2018/03/20 | 347 | 1,226 | <issue_start>username_0: ```
var csv = require('fast-csv');
var fs = require('fs');
const app = express();
exportCSVfile: function(req, res){
var ws = fs.createWriteStream('my.xls');
console.log(req.body.save);
session = req.session;
if(session.uniqueID){
if(session.uniqueID.access == 2){
... |
2018/03/20 | 1,252 | 4,536 | <issue_start>username_0: I want to make a new process that runs a Common Lisp program with parameters given from my C# program. In other words, I'm looking for interoperability between those programs. Right now I'm using this code to open `clisp` in `cmd`:
```
Process cmd = new Process();
cmd.StartInfo.FileName = "cmd... |
2018/03/20 | 1,425 | 4,208 | <issue_start>username_0: I have the following data (you can reproduce it by copying and pasting):
```
from pyspark.sql import Row
l = [Row(value=True), Row(value=True), Row(value=True), Row(value=True), Row(value=None), Row(value=True), Row(value=True), Row(value=True), Row(value=None), Row(value=None), Row(value=True... |
2018/03/20 | 6,719 | 21,746 | <issue_start>username_0: Thank you for taking time to read all this, its a lot! Appreciate all you fellow enthusiasts!
How to natural sort?
ie. order a set of alpha numeric data to appear as:
```
Season 1, Season 2, Season 10, Season 20
```
instead of
```
Season 1, Season 10, Season 2, Season 20
```
I use a v... |
2018/03/20 | 966 | 3,541 | <issue_start>username_0: I'm trying to make a basic contact form (using HTML and PHP). I usually host my websites as gh-pages on GitHub. However, the form won't work on GitHub as GitHub doesn't allow PHP because "GitHub Pages is a static site hosting service and doesn't support server-side code such as, PHP, Ruby, or P... |
2018/03/20 | 742 | 2,824 | <issue_start>username_0: I am working on a searching system with pagination, and I am just confused while using my code,
```
SELECT * FROM musics WHERE name LIKE '%".$query."%' AND id BETWEEN $start_from AND $end_to
```
But it is not working as expected, it results 0 rows;
I want to use LIKE query with within t... |
2018/03/20 | 1,548 | 6,154 | <issue_start>username_0: Look at the GIF first:
[](https://i.stack.imgur.com/a9l20.gif)
The 2nd page is listening to the actions on the 1st page. At first, the 2nd page has states: `counter = 2` and `language = Chinese`. But when buttons are pressed ... |
2018/03/20 | 422 | 1,630 | <issue_start>username_0: I'm trying to calculate the number of payments but output was wrong so i tried to calculate a simple operation on the month value.But "+" operator doesn't sum my values it acts like string.For example 3 and 5,output isnt 8 its 35.
```
Mortgage Calculator
function validateForm() {
var prin... |
2018/03/20 | 378 | 1,221 | <issue_start>username_0: The program is meant to invert the values in the array. When the program is run, the only values that show are 3 and 2, then it ends. I've been looking online but I can't figure out why this happens. Switching val[i] for temp in the SOP gives values of 0 and 1 then ends.
```
int[] val = {0, 1... |
2018/03/20 | 776 | 2,633 | <issue_start>username_0: This is something that makes sense in my head but I haven't been able to find any facts/articles to back this up.
Essentially is doing something like
```
render() {
return (
someBoolean && Some Markup
)
}
```
less performant than
```
render() {
return (
someBoolean &&
)
}
... |
2018/03/20 | 661 | 2,216 | <issue_start>username_0: I dynamically create a button in the way I found in the Internet:
```
...
outPut +=
"" +
""+
"[](\"#\")"+
""+
"#### "+
"["+ nome +"](\"#\")"+
"
"+
"##### "+ preco +"
"+
""+ descricao +"
"+
""+
""+
"+ Carrinho"+
""+
""+
"";
...
$("#div... |
2018/03/20 | 1,460 | 4,512 | <issue_start>username_0: Is there anyway to get a type from a static base class method? For instance
```
class A
{
static std::type_info getClassType
{
// What do I do here
}
};
class B : public A
{
};
B instance;
auto my_type = instance::getClassType()
```
With C++'s lack of static variable o... |
2018/03/20 | 537 | 2,247 | <issue_start>username_0: I am new to front end web development. I work with a designer who makes mockups (no html) wire frames and the finished product is a React/Angular single page application.
I was thinking of this workflow.
1) Get the mockup wireframe
2) Recreate it in HTML/CSS and collaborate with the designer t... |
2018/03/20 | 3,501 | 8,841 | <issue_start>username_0: My Postgresql database stopped working, which has shut down all of my Django applications that use it. I tried restarting with 'service postgresql restart', but it gives me this response
```
* Starting PostgreSQL 9.3 database server ... |
2018/03/20 | 754 | 2,373 | <issue_start>username_0: I want to print a constant message in the form of:
```
Time remaining: X Seconds
```
Where `X` will be a count-down number. But I don't want to have an output like:
```
Time remaining: 5 Seconds
Time remaining: 4 Seconds
Time remaining: 3 Seconds
Time remaining: 2 Seconds ...
```
I want o... |
2018/03/20 | 280 | 965 | <issue_start>username_0: I'm trying to read all the bytes of a file using Julia into an array. So far I have:
```
s = open(file_path,"r")
```
I'm not sure how to tell how big the file is. I'm also not sure that I need to. Perhaps I can just pass an empty array into readbytes!<issue_comment>username_1: The simplest w... |
2018/03/20 | 547 | 1,771 | <issue_start>username_0: I can't figure out how to access the enum class enumerators, either as a returning value or just a value, from a templatized class. As you can see in the following example I'm totally clueless. I've googled over the error messages with no luck.
Glad if you point me out to the correct syntax.
... |
2018/03/20 | 254 | 952 | <issue_start>username_0: I added dotnet task (.Net Core) to do a nuget push. In the Nuget server section it asked me to use create a new Nuget Connection. I went with the API Key option and game in connection name,Feed URL, and API Key.
when I run this step I get the following error
>
> Error: DotNetCore currently... |
2018/03/20 | 1,496 | 5,805 | <issue_start>username_0: I define mContext as val and I need to assign a value to it in the fun onCreate.
The code `private lateinit val mContext: Context` isn't correct, how can I do?
```
class UIMain : AppCompatActivity() {
private val mContext: Context
override fun onCreate(savedInstanceState: Bundle?) {... |
2018/03/20 | 541 | 1,810 | <issue_start>username_0: I am working with a json object that has nested arrays as well as names with spaces such as `Account ID`. I need to display just the `Account ID`'s in my Vue.js application. I am able to get my entire `response.data` json object but not too sure how to get just the `Account ID` when it's nested... |
2018/03/20 | 1,143 | 3,482 | <issue_start>username_0: I have a directory containing a number of .cntl files - I am using a For Loop to delete all the files however I want to keep 2 of the .cntl files. This is a basic version on what I have so far
```
MY_DIR=/home/shell/
CNTL_FILE_LIST=`find ${MY_DIR}*.cntl -type f`
CNTL_EXCEPTION_LIST="/home/sh... |
2018/03/20 | 1,616 | 5,255 | <issue_start>username_0: I have this simple express code:
```
const api = Router()
api.post('/some-point', async (req, res, next) => {
const someStuffToSend = await Promise.resolve("hello");
res.json({ someStuffToSend });
})
```
It works well on my dev environment, but on the prod I get the error bellow:
```
T... |
2018/03/20 | 955 | 2,924 | <issue_start>username_0: In R you can perform a condition across all rows in a column variable by using the all() or any() function. Is there an equivalent method in SAS?
I want condition if ANY rows in column x are negative, this should return TRUE.
Or, if ALL rows in column y are negative, this should return TRUE.
... |
2018/03/20 | 1,094 | 3,638 | <issue_start>username_0: So, I am trying to create a visualizer for the peak volume and I found this piece of code in the website which uses CsCore. So when I tried running it, it threw the following error message:
>
> **System.InvalidOperationException:** 'RegisterSessionNotification has to be called from an MTA-Thr... |
2018/03/20 | 632 | 2,334 | <issue_start>username_0: I am putting together a small mailing application within my application, and have run into a strange error - even just following the instructions for the advanced queries. I need to get -just- the mailboxes that are named:
```
$CoreMailboxes = TableRegistry::get('CoreMailboxes');
$quer... |
2018/03/20 | 522 | 1,933 | <issue_start>username_0: I have a file hierarchy that gets files and folders from one of the users hub. All of these calls are on server side. Can these calls reside on the client side and still remain secure? None of these calls have my client secret from my Forge application. To clarify can you answer what calls can ... |
2018/03/20 | 707 | 2,574 | <issue_start>username_0: I have a background image a and i want to right the text **align from bottom to top**.Just like the image showed as following. In my case, the background image is fixed, i cannot rotate it,so i just tried to rotate text!However, i cannot align it well!
Background Image(**cannot be rotated**)
... |
2018/03/20 | 547 | 2,348 | <issue_start>username_0: I have a service bus trigger function that when receiving a message from the queue will do a simple db call, and then send out emails/sms. Can I run > 1000 calls in my service bus queue to trigger a function to run simultaneously without the run time being affected?
My concern is that I queue... |
2018/03/20 | 510 | 1,837 | <issue_start>username_0: So I'm trying to sort this Arraylist of "Movies" type, alphabetically based on the actor's name and containing no duplicates, which means using a treeSet.
So I have implemented the "comparable" interface and then didn't know what to do after for making the list sorted by alphabets
```
public ... |
2018/03/20 | 1,186 | 5,171 | <issue_start>username_0: I am making a game where the player first has to choose the type of control to use before playing. The three options being: Keyboard, Controller, Touch
The player must click the button corresponding to his choice. Each button runs this script when clicked on:
```
public class KeyboardButton :... |
2018/03/20 | 1,037 | 2,774 | <issue_start>username_0: I have a data frame of participant questionnaire responses in wide format, with each column representing a particular question/item.
The data frame looks something like this:
```
id <- c(1, 2, 3, 4)
Q1 <- c(NA, NA, NA, NA)
Q2 <- c(1, "", 4, 5)
Q3 <- c(NA, 2, 3, 4)
Q4 <- c("", "", 2, 2)
Q5 <- ... |
2018/03/20 | 784 | 2,811 | <issue_start>username_0: I have two dropdown menus. The first is to choose your location. The second is to choose what type of pictures you want to upload. (i.e. Option 1 - Akron, Option 2 - Skyline). I've setup a file request (DropBox generated upload link) in my DropBox account for these options (Akron, Skyline). If ... |
2018/03/20 | 864 | 3,024 | <issue_start>username_0: Query:
```
where (table1.subject_1 like '%TEST1%' OR
table1.subject_1 like '%TEST2%' OR
table1.subject_1 like '%TEST3%' OR
table1.subject_1 like '%TEST4%'
)
OR
(table1.subject_2 like '%TEST1%' OR
table1.subject_2 like '%TEST2%' O... |
2018/03/20 | 733 | 2,369 | <issue_start>username_0: I am trying to remove entries from an `unordered_map`. A `vector` holds the keys that need to be removed from the `unordered_map`. I am trying to use `for_each` to iterate through the vector and call `erase` on the `unordered_map`.
```
#include
#include
#include
int main()
{
std::unordered... |
2018/03/20 | 960 | 3,448 | <issue_start>username_0: I am working on angularjs and bootstrap application. I'm trying to validate the simple form, when user click on submit button all the fields in the from should have a value.
Please find the demo : <https://plnkr.co/edit/aHtODbTTFZfpIRO3BWhf?p=preview>
In the demo above, when user click on subm... |
2018/03/20 | 554 | 2,046 | <issue_start>username_0: I have a bootstrap modal where I want to call functions when it is shown or hidden. Is it possible?
I tried with focus/blur.
Those work but those get triggered multiple times depending on where you click.
Are there other events I could call just once each when the modal is shown or hidden?
``... |
2018/03/20 | 879 | 2,926 | <issue_start>username_0: I am having some issues setting up django-crontab in my django project. I have followed the instructions given on the official documentation :-
<https://pypi.python.org/pypi/django-crontab>
I have defined my cron.py under an app named ciscoaci. So its location is project/ciscoaci(which is th... |
2018/03/20 | 901 | 2,568 | <issue_start>username_0: file1
```
:once:echo Hello # this is a comment
:once:echo 1
:once:echo 2
:once:echo 3
:once:echo 4
```
Consider the file above, If I wanted to print out each line one by one how would I remove the "# this is a comment" and ':once:'
```
#include
#include
#include
int main(int argc, char ... |
2018/03/20 | 611 | 1,990 | <issue_start>username_0: I'm trying to monkey-patch the class "Tumble" with the module "Tinder". But when I add methods to the class, they aren't inherited. Constants, however, are.
lib/tumble.rb:
```
class Tumble
...
```
lib/tumble/tinder.rb
```
module Tinder
APP_ID = 1234567890
# Without self
def xyz
... |
2018/03/20 | 994 | 2,788 | <issue_start>username_0: I am writing a program that returns every rth element from a list. The list can be any type. I want to report an error when r is zero but my code isn't working (it is working fine when I comment out the error line). Can anyone tell me how to report an error in this situation
```
rthElem :: Int... |
2018/03/20 | 1,336 | 4,113 | <issue_start>username_0: I'm trying to display a GridView of images to allow a user to pick from within a Dialog Box and I'm having rendering issues. My UI fades as if a view was appearing on top of it, but nothing displays. Here is my code...
```
Future \_neverSatisfied() async {
return showDialog(
context: context... |
2018/03/20 | 373 | 1,397 | <issue_start>username_0: Sometimes I want to contrast two separate pieces of code in a Stackoverflow post without putting spaces between them. However, Stackoverflow places consecutive code blocks all in the same block, regardless of spaces between them.
```
// first code block
// second code block
```
I want them ... |
2018/03/20 | 2,306 | 7,280 | <issue_start>username_0: I'm trying to begin developing a skill for alexa using flask-ask and ngrok in python. Following is my code:
```
from flask import Flask
from flask_ask import Ask, statement, question, session
import json
import requests
import time
import unidecode
app = Flask(__name__)
ask = Ask(app, "/reddi... |
2018/03/20 | 678 | 2,218 | <issue_start>username_0: ```
import pytest
def add(x):
return x + 1
def sub(x):
return x - 1
testData1 = [1, 2]
testData2 = [3]
class Test_math(object):
@pytest.mark.parametrize('n', testData1)
def test_add(self, n):
result = add(n)
testData2.append(result) <-------- Modify testData ... |
2018/03/20 | 463 | 1,654 | <issue_start>username_0: I am trying to pass the selected Id of an account when a user clicks the click zone.
```
```
However, on my Account component, which this 'to' takes us to:
```
```
I am getting Undefined.
```
export default class Account extends Component {
constructor(props) {
super(props);
... |
2018/03/20 | 681 | 2,030 | <issue_start>username_0: I generated a bugreport in Android through ADB and extracted the large report file. But when I open and read that file, it prints:
```
>>> f = open('bugreport.txt')
>>> f.read()
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.6/codecs.py", line 321, in decode
... |
2018/03/20 | 745 | 2,682 | <issue_start>username_0: I recently installed [Git-LFS](https://git-lfs.github.com/ "Git-LFS") to manage large files. I've quickly reached the 1 Gb storage limit, however, and now when I try to push commits I'm prompted with:
>
> batch response: This repository is over its data quota. Purchase more
> data packs to r... |
2018/03/20 | 955 | 3,432 | <issue_start>username_0: I have the following code to clear all filters in every sheet:
```
function clearAllFilter() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var ssId = ss.getId();
var sheetIds = ss.getSheets();
for (var i in sheetIds) {
var requests = [{
"clearBasicFilter": {
"shee... |
2018/03/20 | 798 | 2,895 | <issue_start>username_0: I want to create peerAdmin@\*\*\*.card via node. I only find `exportCard,importCard etc.` api in adminConnection.
How can I create a peerAdmin card or other card using composer-admin api?<issue_comment>username_1: You might have hit your current quota limit. Be noted for the [Usage Limits](http... |
2018/03/20 | 551 | 2,068 | <issue_start>username_0: I have developed a plugin for myself and was using it for a little and after decided to go public. But the plugin got declined after submission and code review with the reason ##Calling core loading files directly. I fixed already all issues they mentioned, but only one bothering me now. I have... |
2018/03/20 | 3,550 | 10,898 | <issue_start>username_0: I was looking into StackExchange for a site for discussing just the basic ideas as I'm almost sure I come across it some time ago, but I couldn't find any out of beta, and the lack of developer friends to discuss in depth the issue, makes me come to StackOverflow for help, so here's my question... |
2018/03/20 | 744 | 2,785 | <issue_start>username_0: This is my controller but so that I can download excel. The locations of the controller and the model are both the same I already checked it but still there's an error and it says that "Class "App\Item" Not Found".
```
namespace Vanguard\Http\Controllers\Web;
use Input;
use App\Item;
use DB;
... |
2018/03/20 | 594 | 1,936 | <issue_start>username_0: my assignment is to reverse a string array in place. I must use a swap function that swaps individual characters and this swap should be in a loop. Pass two character pointers to the swap function to manipulate the locations in memory. So here is what I have so far:
```
#include
using namesp... |
2018/03/20 | 974 | 3,523 | <issue_start>username_0: **Update**
I've trying to sign in in this website:
[Salesforce Trailhead](https://trailhead.salesforce.com/en/home)
Unfortunately, I have not been successful. Here's my code:
```
WebDriver driver = new HtmlUnitDriver();
driver.get("https://trailhead.salesforce.com/en/home");
System.out.pri... |
2018/03/20 | 922 | 3,499 | <issue_start>username_0: I started to discover the environment of angular I have to install the environment as the video tells me. And I added a first component and the second component.And i added the button **save** and in component I add this code which already contains a deactivated button and after 4 seconds and t... |
2018/03/20 | 739 | 2,624 | <issue_start>username_0: I am using iTerm on my mac and ZSH and oh my zsh with the theme `dstufft`
I wrote this in my `.bash_rc`
```
function goToPythonApp {
# no params given
if [ -z "$1" ]; then
cd ~/Documents/Apps/PythonApps
else
cd ~/Documents/Apps/PythonApps/$1
... |
2018/03/20 | 2,778 | 10,223 | <issue_start>username_0: I am developing a **Java Web Application** using **JSF, Primefaces and XHTML**.
In which, I am trying to read the **Cell** content from **Excel** using **POI**. In cell, it contains some styling like (bold, color, line-through, underline and etc) along with the value.
So now, I need to show ... |
2018/03/20 | 1,747 | 4,790 | <issue_start>username_0: >
> Git Bash version is "Git-2.16.2-32-bit".
>
>
>
After installing the Git Bash, and set up the env PATH.
adb.exe has no response when I execute "adb shell".
>
> **I can do "adb devices" or "adb push", but adb shell has no response**
>
>
>
Please refer below's picture :
[ function to perform fisheye calibration work. My image is a Circular fisheye ([example](https://i.stack.imgur.com/vzv4x.jpg)), but I'm getting [this result](https://i.stack.imgur.com/DoDos.jpg) fro... |
2018/03/20 | 3,018 | 11,065 | <issue_start>username_0: I'm playing around with keys in android and am trying to generate a public/private cryptographic key-pair. Unfortunately I keep getting a 'KeyStoreException: Invalid key blob'.
I'm following the instructions here:
<https://developer.android.com/training/articles/keystore.html>
Particularly t... |
2018/03/20 | 661 | 2,046 | <issue_start>username_0: Fabric found that the `NSMutableArray` found crash when calling `removeAllObjects`.
Most of the crash happened in iOS9. This is my code, crash in `[self.recommentGoodsArray removeAllObjects]`:
```
- (void)clickColorWithIndex:(NSUInteger)index {
[self.recommentGoodsArray removeAllObjects];... |
2018/03/20 | 471 | 1,643 | <issue_start>username_0: I am getting this error when running:
terminate called after throwing an instance of 'std::out\_of\_range'
what(): basic\_string::substr:
I am brand new, any other tips would be appreciated as well.
```
#include
#include
using namespace std;
int main()
{
string name;
int position = 1;
... |
2018/03/20 | 1,967 | 6,273 | <issue_start>username_0: I am trying to use angularJS to repeat div cards in rows of 3. However, it doesn't seem to be working. Rather than showing the cards in their rows, it shows pure html, where the object keywords in {{ }} are showing up plain. Here is all the relevant code.
Index.html
```
Client App | InLine
... |
2018/03/20 | 353 | 1,263 | <issue_start>username_0: Below code was working fine on Production from last few months.
Recently it started breaking.
Yesterday it was giving HTTP error issue for `file_get_contents` function.
Today, On Execution it shows Undefined Offset error.
I am not sure what has changed for Finance Google API.
```
public func... |
2018/03/20 | 2,441 | 8,358 | <issue_start>username_0: I want to ellaborate a regex that covers the following scenarios:
The searched word is "potato".
**It matches if the user searches for "potaot" (He typed quickly and the "o" finger was faster than the "t" finger. (done)**
**It matches if the user searches for "ptato" (He forgot one letter).... |
2018/03/20 | 457 | 1,555 | <issue_start>username_0: Assume I have the following object:
```
var jsonObj = {
"response":{
"result":{
"status":{
"name": "Eric"
}
}
}
}
```
And now i'd like to dynamically access a nested property:
```
jsonKey = "response.result.status.name";
console.log("the status is: " ... |
2018/03/20 | 1,889 | 5,185 | <issue_start>username_0: I am having a problem trying to solve an equation in programming.
Imagine I have this line of code:
```
Math.round(((x / 5) + Math.pow(x / 25, 1.3)) / 10) * 10;
```
Given x = 1000, the result is 320.
Now, how can I solve this equation given a result?
Imagine given the result 320 I want to... |
2018/03/20 | 2,980 | 9,045 | <issue_start>username_0: Hi im having trouble with this Cash Register program im writing. Specifically the output2 method. Im attempting to to find a way to output the specific dollar amounts the user will receive in change without writing it as:
system.out.println("Your change will be "+hundred+" on hundred dollar bi... |
2018/03/20 | 1,152 | 4,650 | <issue_start>username_0: I have written a function on firebase that downloads an image (base64) from firebase storage and sends that as response to the user:
```
const functions = require('firebase-functions');
import os from 'os';
import path from 'path';
const storage = require('firebase-admin').storage().bucket();
... |
2018/03/20 | 701 | 2,548 | <issue_start>username_0: I have a xlsm workbook and with 2 sheets, I call it as workbook 1, sheet 1 is visible, sheet 2 is set as xlsheetveryhidden. And then vbe password setted.
Now the situation should be no one can unhide sheet 2 manaually, right?
Now I open another workbook, I call it as workbook 2, open vbe at w... |
2018/03/20 | 559 | 2,009 | <issue_start>username_0: How can I restrict access to admin login page based on IP address in LARAVEL?
I want to set a permission to the admin login page to a single IP Address.<issue_comment>username_1: you can use `Request::ip();` and check it in middleware.. below is basic poc
middleware
```
class AdminAccessChec... |
2018/03/20 | 1,828 | 6,201 | <issue_start>username_0: I've been having an issue with some code in a project I'm doing at school. I have an array of length 4, where each element of the array is an integer. The values of the integers are determined through multiplying Math.random() by the length of another array. The goal of my code is to find some ... |
2018/03/20 | 1,594 | 5,442 | <issue_start>username_0: I really don't know why this is not working. data1 and data2 will be sent to my php form but data3 will not no matter what i set it to be. Can anyone point out what is wrong that I may be simply overlooking.
```
function flap(span) {
var id1 = span.getAttribute('data-id1');
var id2... |
2018/03/20 | 704 | 2,323 | <issue_start>username_0: I have a dictionary with repeated keys but different values for those keys and i want to pull all values for a specific key. Here is the abbreviated version of what I mean:
```
x_table = {'A':'GCT','A':'GCC','A':'GCA','A':'GCG'}
AA_list = [{'A'}]
for aa in AA_list:
if aa in x_table:
... |
2018/03/20 | 649 | 2,180 | <issue_start>username_0: After connecting to the database, here is the simplest code that should update my database after clicking the submit button :
```
php
if (isset($_POST['update'])){
$sql = "UPDATE accounts SET download='Yes' WHERE id=15 ";
}
?
```
I dont know what am i doing wrong.<issue_comment>username_1:... |
2018/03/20 | 420 | 1,512 | <issue_start>username_0: I am using react with react-router for a project and I need to pass props to the child component from the route.
I have this setup:
**App.js**
```
} />
```
**Home.js**
```
import React from 'react'
const Home = () => (
Welcome to the Tornadoes Website!
===============================... |
2018/03/20 | 622 | 2,173 | <issue_start>username_0: I'm starting a new process like this:
```
$p = Start-Process -FilePath $pathToExe -ArgumentList $argumentList -NoNewWindow -PassThru -Wait
if ($p.ExitCode -ne 0)
{
Write-Host = "Failed..."
return
}
```
And my executable prints a lot to console. Is is possible to not show output from... |
2018/03/20 | 1,153 | 3,632 | <issue_start>username_0: I'm currently having an issue getting data from my json files in PHP.
What I got right now is
```
$jsondecoded = json_decode('[{"chat":{"username":"RobloxProtectorKing","message":":slender me","time":"2018-03-20 01:56:12"}}', true);
echo ($jsondecoded[0]->chat);
```
I'm attempting to get t... |
2018/03/20 | 1,099 | 3,024 | <issue_start>username_0: I am having a little trouble doing this one SQL homework problem and have tried multiple different attempts but keep getting the same wrong answer. I am not sure what i'm missing, if anyone can please help me out that'd be really nice! :)
Question: **Show distinct id's of all professors who ta... |
2018/03/20 | 535 | 1,834 | <issue_start>username_0: I was wondering what the best approach would be to separate multiple items from a string in swift. I'm hoping to separate a unit and an amount from a string and then use those values to create an object of my ingredient class.
For example:
```
var string = "4 cups sugar"
```
I would need ... |
2018/03/20 | 498 | 1,915 | <issue_start>username_0: Hello I have been digging to find the solution but unfortunately I have not been able to find an answer. My issue is that I have my application that uses crashlytics. When pulling my crashlytics I see the Dsyms missing issue, i tried to add all the missing ones through the organizer but unfortu... |