date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/03/18 | 713 | 2,446 | <issue_start>username_0: I want to define an object, and use a function to populate an array as one of the members of the object. I have tried using a function both inside and outside the object definition, but neither seems to work. Is this possible? Here is a simplified version of what I am trying to do:
```
object... |
2018/03/18 | 544 | 1,328 | <issue_start>username_0: I am trying to use the [jetbrains-toolbox](https://www.jetbrains.com/toolbox/app/) on NixOS.
The download is a single ELF binary. I fixed it using
```
patchelf --set-interpreter /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/ld-linux-x86-64.so.2
--set-rpath /nix/store... |
2018/03/18 | 1,516 | 2,757 | <issue_start>username_0: The m3u file looks like this:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:153741
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:11
#EXTINF:**10.005333**,
**/RTS\_1\_009/audio/2018-03-16-H13/audio-2018-03-16-13-58-29.ts**
#EXTINF:**9.984000**,
**/RTS\_1\_009/audio/2018-0... |
2018/03/18 | 978 | 4,347 | <issue_start>username_0: I followed several CKQueryOperation examples/narratives on problems to fetch from CloudKit. My table has about 370 rows and 8 columns..at best I can only fetch about 60 rows. resultsLimit parameter does not seem to help.. My queryCompletionBlock is not executing. Sometimes I fetch 5 rows and ot... |
2018/03/18 | 677 | 2,615 | <issue_start>username_0: I have a fade in effect working perfect when my login page loads.
I am using a form to collect username and password from the user which is connected to a database. I also have a PHP error that shows when the username and password is incorrect or no data has been inserted.
My issue is that wh... |
2018/03/18 | 558 | 1,159 | <issue_start>username_0: I've got variable containing such strings:
```
zvq:0.001:0.006 hqp:0.006:0.01 pgvqa:0.1:0.01
```
I'd like to find and echo
```
zvq:0.001:0.006
```
or
```
hqp:0.006:0.01
```
or
```
pgvqa:0.1:0.01
```
by using either `zvq` or `pgvqa` or `hqp` patterns, how should I do this?<issue_comm... |
2018/03/18 | 2,875 | 12,698 | <issue_start>username_0: I have started following TDD in my project. But ever since I started, even after reading some articles, I am confused since the development has slowed down. Whenever I refactor my code, I need to change the existing test cases I have written before because otherwise they will start failing.
Th... |
2018/03/18 | 1,220 | 4,986 | <issue_start>username_0: I have just started looking into .NET Core with Entity Framework. I have previously used .NET Framework with Ninject but I'm now trying to use the DI built into .NET Core.
I have a `TestBase` class which my tests will derive from. I want this class to be responsible for creating and deleting a... |
2018/03/18 | 412 | 960 | <issue_start>username_0: I want to reshape a tensor, it's shape is (?,12,12,5,512) into (?,12,12,2560) shape of tensor.
Is there anyone who can help me?
My code is as below.
```python
conv5_1 = Conv3D(512, (3, 3, 3), activation='relu', padding='same')(drop4_1) # conv5_1: Tensor("conv3d_10/Relu:0", shape=(", 12, 12, 5,... |
2018/03/18 | 1,644 | 5,257 | <issue_start>username_0: So I have been trying to have a index.php do three things.
If there is a thumbnail to show the thumbnail and do the specific styling.
if there isn't a thumbnail do something different
and the last statement will have if the page is singular it will show something else.
For some reason it k... |
2018/03/18 | 2,181 | 7,273 | <issue_start>username_0: I have been playing around with GLFX.js and have been able to setup some effects. What I am missing however is the capability to use each effect together in a sort of layering/blending. Currently if I increase the slider for say Sepia, and then increase the value for Saturation, Sepia will rese... |
2018/03/18 | 2,060 | 6,703 | <issue_start>username_0: Hello whenever i press the signin button onmy website i get this error:
>
> Notice: Undefined index: active in C:\xampp\htdocs\repute-multipurpose-theme-v1.3\theme\login.php on line 14
>
>
>
I was wondering if you guys know how to fix it. I keep reading about an `isset` function, but i tr... |
2018/03/18 | 654 | 2,851 | <issue_start>username_0: I am using an ARM embedded device but I think this is a general Linux question.
I'm using the Linux watchdog daemon with the 'file' option to periodically check my application changes the time every xx seconds or so. This works fine but I've noticed if the system time is way off and NTP update... |
2018/03/18 | 1,301 | 4,395 | <issue_start>username_0: I have a dataset of images on my Google Drive. I have this dataset both in a compressed .zip version and an uncompressed folder.
I want to train a CNN using Google Colab. How can I tell Colab where the images in my Google Drive are?
1. [official tutorial does not help me as it only shows how ... |
2018/03/18 | 886 | 3,505 | <issue_start>username_0: I am having trouble getting a video player to persist playing after a window resize in my responsive web app. I am using the react-responsive library to help with this. I have a different MediaQuery element handling each window size range in my outer "content" component which handles the overal... |
2018/03/18 | 524 | 2,097 | <issue_start>username_0: My website has two static pages and I need two other pages but in sub folders.
Under views I have a folder static\_pages and the current about page route is
```
get '/about', to: 'static_pages#about'
```
I have created a sub folder under static\_pages with the name: "es" which will include ... |
2018/03/18 | 551 | 2,302 | <issue_start>username_0: I have project of my own that employ stm32f407 mcu. I am using the discovery kit on board st-link to flash my project. Furthermore, I use the cubemx tool to configure the HAL of the project.
The problem is that while generating the HAL layer I checked power optimization check box which by defa... |
2018/03/18 | 613 | 2,577 | <issue_start>username_0: I built a website that gets data from an API using RestSharp. I am able to post the data and display it on the website, it works perfect when I run it on Loaclhost. After completing this website, I uploaded it to my hosting online and when I run the page I get this error:
**Server Error** in '... |
2018/03/18 | 766 | 3,037 | <issue_start>username_0: I've updated Spring Boot from version 1.5.6 to 2.0.0 and a lot of problems have started. One is the problem given in the subject.
I have a class with properties
```
@Data
@ConfigurationProperties("eclipseLink")
public class EclipseLinkProperties { ... }
```
which I use in configuration
```
... |
2018/03/18 | 1,200 | 4,457 | <issue_start>username_0: In my project I have table view with cells with 3 buttons. When I added target action for them, it did not work.
To avoid bad interaction with other items I created a clean project and tried to `addTarget` to button in `TableViewCell`. Even here, it did not work.
In this project I set one bu... |
2018/03/18 | 1,216 | 4,872 | <issue_start>username_0: I use the library *multiprocessing* in a *flask*-based web application to start long-running processes. The function that does it is the following:
```
def execute(self, process_id):
self.__process_id = process_id
process_dir = self.__dependencies["process_dir"]
self.fit_dependenc... |
2018/03/18 | 1,289 | 5,223 | <issue_start>username_0: Is it possible to setup Serilog minimum log level from environment variable?
If I try to configure it like this
```
"Serilog": {
"MinimumLevel": "%LOG_LEVEL%",
"WriteTo": [
{
"Name": "RollingFile",
"Args": {
"outputTemplate": "{Timestamp:yyyy-MM-dd H... |
2018/03/18 | 1,060 | 3,478 | <issue_start>username_0: I'm new to Python and trying to verify if a given port number is valid or not.
**1st Attempt**
```
PortNumber = input("Enter a port number: ")
if PortNumber.isdigit() == True:
print("This is a VALID port number.")
else:
print("This is NOT a valid port number.")
```
**Output**
```
C:\... |
2018/03/18 | 770 | 2,618 | <issue_start>username_0: I am trying to get the links I have routed to open in a new window using the "attr" feature in jQuery with no luck.
Here is the client site: <http://www.sunsetstudiosent.com> working in the "News" section.
Additionally is there a way to differentiate and apply this only to links that link off... |
2018/03/18 | 703 | 2,367 | <issue_start>username_0: I've got a list of path from a folder, so I have:
1. `folder/subfolder1/file1`
2. `folder/subfolder1/file2`
3. `folder/subfolder2/file1`
4. `folder/subfolder2/file2`
5. `folder/subfolder3/file1`
6. `folder/subfolder3/file2`
etc.
From this list of path I want iteratively extract the element ... |
2018/03/18 | 1,041 | 3,458 | <issue_start>username_0: Title says it all,
I'm trying to remove an specific entry, for example an entry ofwhich the users id is 1.
I've made a [JSFiddle](https://jsfiddle.net/eqntaqbt/8/) to demostrate how it isn't working, for some reason not every message gets removed but there's always one left.
```
var messages ... |
2018/03/18 | 753 | 2,590 | <issue_start>username_0: I'm trying to created a dynamic form in rails with a little bit of javascript I have a problem I only get one row in the output when using `pry` apparently it's because I have the same params for every field input since I use jQuery .clone, maybe someone has struggled with something similar can... |
2018/03/18 | 466 | 1,672 | <issue_start>username_0: In Android Studio I integrated an ImageView with an unwanted drop shadow, which I cant seem to get rid off.
How do you make the picture blend in to the background?
I tried setting the background of the button to transparent and `android:shadowRadius="0"` did not work.
[
2nd column: a constant string
3rd column: a value
What i want is to rank my list leaving with only unique gene IDs. For the duplicated gene IDs i want to leave only the ones with the hig... |
2018/03/18 | 1,061 | 3,752 | <issue_start>username_0: My app displays the price of something when it boots and I have the list of currencies hidden. When the user taps the price, I want to it reveal the list of currencies hidden below and then hide them again after one is selected. Can't figure out how though, not finding any Swift code for a tap ... |
2018/03/18 | 531 | 2,017 | <issue_start>username_0: My Tcl application will work with a [hypergraph](https://en.wikipedia.org/wiki/Hypergraph), i.e. edges having single-start-multiple-end or just many-ends. Looking at available live implementations I see ::struct::graph as a potential alternative. It seem however to be limited to single-start-si... |
2018/03/18 | 1,822 | 5,667 | <issue_start>username_0: I would like to identify the best process for producing summary text in a final report.
```
x <- tribble(
~year, ~service, ~account, ~amount,
"2001", "Army", "operations", 5000000,
"2001", "Navy", "operations", 1500000,
"2002", "Army", ... |
2018/03/18 | 934 | 3,329 | <issue_start>username_0: I'm using Swift 4 `Codable` and I'm receiving this JSON from my web service:
```
{
"status": "success",
"data": {
"time": "00:02:00",
"employees": [
{
"id": 001,
"name": "foo"
},
{
"id"... |
2018/03/18 | 721 | 2,465 | <issue_start>username_0: I'm trying to run a `for` loop inside of a `while` loop, but for some reason it's not being run at all.
Here's the code:
```
with open("Nominees_18.csv") as nominees:
reader = csv.reader(nominees)
next(reader)
for c, row in enumerate(reader):
print(row[0], row[1], c)
... |
2018/03/18 | 1,423 | 3,862 | <issue_start>username_0: I am using laravel mix to bundle my js libraries and codes. I am trying to use ES6 style of importing and use ES6 codes if possible. I need to also import jQuery and it's library.
So, i have imported jQuery and bootstrap like this:
```
import "jquery";
import "bootstrap";
```
At first when ... |
2018/03/18 | 519 | 1,260 | <issue_start>username_0: I have a doubt, is there a function in haskell that can help me solve this? I'm trying to receive as an input a String with the form of a list and the convert it into an actual list in haskell
for example:
convert `"[ [1,1] , [2,2] ]"` into `[ [1,1] , [2,2] ]`
Example 2:
convert `"[ [ [1,1]... |
2018/03/18 | 335 | 1,114 | <issue_start>username_0: I'm building a string and sharing it in an email. Problem is that everything is in the same line (it works fine when the string is built in the server side)
```
var sharing_txt = "";
sharing_txt = sharing_txt.concat("hello");
sharing_txt = sharing_txt.concat("\n");
sharing_txt ... |
2018/03/18 | 549 | 1,941 | <issue_start>username_0: I have an interface
```
public interface IIdentity
{
T GetUser();
}
```
I have a base class that implements the Interface as an abstract method
```
public abstract class BaseUser : IIdentity
{
public string UserId { get; set; }
public string AuthType { get; set; }
public List Claims { ... |
2018/03/18 | 459 | 1,737 | <issue_start>username_0: I have two files for deployment,
1) `deploymentpackage.zip` -> It contains the database package with few shell scripts.
2) `deployment.sh` -> It is the primary shell script which first unzips the deploymentpackage.zip and then execute the list of shell files inside it.
It is working as expec... |
2018/03/18 | 1,892 | 4,879 | <issue_start>username_0: It is possible to sum the values of an array if they are the same like this:
```
var COLLECTION = [
{
"coords":[1335,2525],
"items":[
{id: "boletus",qty: 1},
{id: "lepiota",qty: 3},
{id: "boletus",qty: 2},
{id: "lepiota",qty: 4},
{id: "carbonite",qty: 4}... |
2018/03/18 | 987 | 3,604 | <issue_start>username_0: I have a `json` file for tweet data. The data that I want to look at is the text of the tweet. For some reason, some of the tweets are too long to put into the normal text part of the dictionary.
It seems like there is a dictionary within another dictionary and I can't figure out how to acces... |
2018/03/18 | 397 | 1,780 | <issue_start>username_0: I now understand that async functions return promises of values not values directly. But what I don't understand is what the point of doing that in the first place. As far as I understand, async functions are used to synchronize code inside them, now after we got the value from a promise using ... |
2018/03/18 | 608 | 2,206 | <issue_start>username_0: What are the differences between SSDT and SSDT- Business Intelligence?
I've installed SQL Server 2017 and then proceeded to download Business Intelligence Development Studio but found out that it was replaced by SSDT/SSDT-BI (don't know the difference if there's any).
Do I need just SSDT or S... |
2018/03/18 | 250 | 1,112 | <issue_start>username_0: I have a column STR which may contain any strings. I'm using MySql. How to find strings which don't contain letters in SQL without using Regular Expressions? As I understand RegExp in SQL is [^...].
So how to select the strings without using [^...]?<issue_comment>username_1: I am not sure which... |
2018/03/18 | 468 | 2,067 | <issue_start>username_0: I've got a strange problem..
FIrst, take a look at my code:
This one is where I use my await..
```
case "detail": {
const lineMessages = [];
let item = await this.getItem(postback.id);
let lineMessage = {
type: "text",
... |
2018/03/18 | 414 | 1,728 | <issue_start>username_0: I am using Anypoint studio.
I have used esper CEP engine for event detection using java file. Once the event is detected i am getting output in the console from java file as system.out.println(Object).
I want the Obejct to be sent from java output to the mule flow either as a message property ... |
2018/03/18 | 1,774 | 5,866 | <issue_start>username_0: I would like users to be able to click on a plot, and when they do record leave a mark or a message at that the point they clicked.
I am using reactive values within the plotting environment. This seems to be resetting the plot. Almost immediately after the message appears.
Here is a minimum... |
2018/03/18 | 591 | 2,604 | <issue_start>username_0: Using .NET Core and C# I'm trying to make an HTTPS request to my Vizio TV, the API is somewhat documented [here](https://github.com/exiva/Vizio_SmartCast_API).
When visiting the HTTP server in Chrome I receive a "NET::ERR\_CERT\_AUTHORITY\_INVALID" error. When I make the request in C# with a ... |
2018/03/18 | 472 | 1,507 | <issue_start>username_0: I'm trying to make the Bootstrap 4 Dropdown fade in when clicked, however I am unable to achieve this result with using transitions:
```
.dropdown-menu {
-webkit-transition: 0.25s;
transition: 0.25s;
}
```
Thanks!<issue_comment>username_1: This is a working fade transition for dropdo... |
2018/03/18 | 758 | 2,660 | <issue_start>username_0: While trying to tune the ANN model using GridSearchCV, I faced the following error in Google Colab. Can anyone help me on this or have faced any similar issue like this?
```
def build_classifier(optimizer):
classifier = Sequential()
classifier.add(Dense(units = 6, kernel_initializer = ... |
2018/03/18 | 1,799 | 6,314 | <issue_start>username_0: I'm trying to connect to my database stored in GCloud from a PHP Laravel 5.5 app in the same Gcloud project.
When I deploy my app, the homepage is displayed well but, when I try to connect the user, I get these errors that show on the browser:
[`
```
class Course(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
name = models.CharField(max_length=250)
banner = models.ImageField(... |
2018/03/18 | 4,663 | 17,162 | <issue_start>username_0: I'm just starting to get the hang of Flutter, but I'm having trouble figuring out how to set the enabled state of a button.
From the docs, it says to set `onPressed` to null to disable a button, and give it a value to enable it. This is fine if the button continues to be in the same state for ... |
2018/03/18 | 298 | 1,204 | <issue_start>username_0: In JavaScript, we have 6 primitive data types (each with their own object wrapper) and 1 object data type.
Where / how does v8 store a value's data type?<issue_comment>username_1: The data type is part of the value. The type of JS values is a [sum type](https://en.wikipedia.org/wiki/Sum_type) ... |
2018/03/18 | 434 | 1,679 | <issue_start>username_0: I want interate a DataSetIterator and add it into a DataSet. Iterate is easy:
```
while (iterator.hasNext()) {
DataSet next = iterator.next();
dataSet.addRow(next, dataSet.numExamples()); // isn't work
}
```
if the DataSetIterator batch size is 1, when I do `dataSet.addRow(next, 1);`... |
2018/03/18 | 672 | 2,077 | <issue_start>username_0: Suppose `L = [{'C', 'T'}, {'L'}, {'M'}]`
let `c1 = 'C' and c2 = 'M'`
I want to union if c1 and c2 are in different sets.
How would I check that 'C' is in a different set than 'M' so that I can union it efficiently. I am trying to avoid multiple loops. (If c1 and c2 are in same set then do no... |
2018/03/18 | 616 | 1,786 | <issue_start>username_0: so i'm having some trouble creating a barplot with strings as the x axis and the height as its averages.
so say i have a column called `fruits = c("strawberry", "apple", "strawberry", "banana", "apple"....)`
and a corresponding column with its `count = c(2, 3, 4, 2,...)`
I've tried doing
... |
2018/03/18 | 1,200 | 4,094 | <issue_start>username_0: I am trying to solve a homework task involving date validation:
"*Whatβs the day?
Design a program to take 3 inputs, one for day, one for month and one for year. Get your program to validate if this is an actual day, and, if it is, output the day of the week it is!*"
I have done the first va... |
2018/03/18 | 2,548 | 7,505 | <issue_start>username_0: When my website is on 100% zoom it looks alright but...
* when I zoom in it all goes right
* when I zoom out it all goes left
How do I make it so my website zooms in and out without effecting the layout of the website from the center?
e.g. Like this website <http://www.johnlewis.com>
I am a... |
2018/03/18 | 416 | 1,518 | <issue_start>username_0: I'm trying to show an alert when a button is clicked, but it is not working for some reason:
```
```
This is my jQuery code, I haven't given any id or class to it.
```
$(":button").click(function(){
$(":button").alert("pressed");
});
```<issue_comment>username_1: You need a `div` as a... |
2018/03/18 | 576 | 1,965 | <issue_start>username_0: Having a bit of trouble passing props down from a parent component to a child component with es6.
```js
// Parent component
const Carousel = () => (
);
// Child component
const CarouselItem = () => (
);
// Child component where prop is inserted
const Title = ({ title }) => (
[{ti... |
2018/03/18 | 637 | 2,136 | <issue_start>username_0: I have a corpus of text that I'm parsing with a regular expression to find the most common words. Currently I'm using [`.match(/(?!'.*')\b\[\w'\]+\b/g)`](https://regex101.com/r/5rgYDx/1). My problem is that `\w` does not match on non-alphanumeric characters and my emoji never get parsed. Specif... |
2018/03/18 | 1,267 | 3,855 | <issue_start>username_0: I have a table with cus and rus. For some cus there are many rows but all of the rus are none. In this case I would like to return a message, e.g. "no ru unit." For cus that have rus I would like to return their rows. But not the rows that have none for rus....
I made up some data to work with... |
2018/03/18 | 539 | 2,000 | <issue_start>username_0: I found a gif I would like to play on my LaunchScreen.storyboard, and since my research supported that Swift 4 didn't natively support playing gifs, I found a CocoaPod named [SwiftGif](https://github.com/swiftgif/SwiftGif) that auto-plays gifs in a UIImageView. With SwiftGif, you have to progra... |
2018/03/18 | 528 | 1,946 | <issue_start>username_0: I created a simple Maven project with Eclipse (Oxygen.2 Release (4.7.2)) with the standard src/main/resources folder and added it to the classpath. The problem is that Eclipse adds an exclusion pattern of `**` to the src/main/resources folder. Here are some pics to better explicate the situatio... |
2018/03/18 | 354 | 1,269 | <issue_start>username_0: I've got an expression like this:
```
/* pierwszy */ using System;/* drugi */
```
and I want to match all comments in this line.
But this regex:
```
\/\*(.*)\*\/
```
is unfortunately not working, because it matches that:
```
pierwszy */ using System;/* drugi
```
So, as you can see, ... |
2018/03/18 | 1,863 | 5,251 | <issue_start>username_0: I have this project structure:
```
/project
|
|____/bin
|
|
|____/obj
|
|
|____/include
| |
| |____aaa.h
| |
| |____bbb.h
| |
| |____ccc.h
|
|
|____/src
| |
| |____aaa.c
| |
| |___... |
2018/03/18 | 1,117 | 3,400 | <issue_start>username_0: SQL PLUS:
I am trying to return ONLY the most frequent 'MAKE' from one table and the 'NAME' of those customers from another table. This is what I have:
```
SELECT sv.make, c.first, c.MI, c.last
FROM Sales s
INNER JOIN Sale_Vehicles sv
ON s.VIN = sv.VIN
INNER JOIN Customers c
O... |
2018/03/18 | 490 | 1,678 | <issue_start>username_0: i've just started learning Laravel and I have problem generating seed for my test table.
Console error says:
"Base table or view not found: 1146 Table 'laravel.testms' doesn't exists..."
My table is called "testm" - I have no idea why it looks for testm**s**
TestmFactory.php
```
use Faker\G... |
2018/03/18 | 480 | 1,669 | <issue_start>username_0: In Excel , I have to add the time allocated to different departments per month and also annually.So the excel has sheets 12 sheets that are from January to December. It looks like this : (Jan)
[](https://i.stack.imgur.com/RZ2iC.png)
The same... |
2018/03/18 | 516 | 1,257 | <issue_start>username_0: I have a huge tab-delimited file such as the following :
```
3 Line1 0 100 A
4 Line1 100 200 A
7 Line1 200 300 B
2 Line1 300 400 B
12 Line1 400 500 C
10 Line1 500 600 C
```
For all the rows that have the letters (A, B, ect), I need to combine their values based upon the number in the first c... |
2018/03/18 | 1,703 | 6,221 | <issue_start>username_0: Given is a struct which holds a struct with some byte code and an instruction pointer. It implements the pattern of fetch, decode, and execute:
```
use std::convert::TryFrom;
/// Trait for a virtual machine.
pub struct VirtualMachine {
code: CodeMemory,
instruction_pointer: usize,
}
... |
2018/03/18 | 505 | 1,839 | <issue_start>username_0: How to print content of all files of a directory if one of its file contain required data..... using bash?
I tried using 'grep' recursively but it only prints content of a single file! what to do ?
for example,
If I have two directories abc and xyz.abc has a file f1.txt("This is File1.") and f2... |
2018/03/18 | 517 | 1,831 | <issue_start>username_0: So, I have a `clojure.lang.PersistentArrayMap` with a key and another `clojure.lang.PersistentArrayMap` inside, like:
```
{:foo {:bar "bar"}}
```
When I use `for` with the bindings:
```
(for [[key value] {:foo {:bar "bar"}}] do-something)
```
It works fine, but when I try to use `let`, it... |
2018/03/18 | 498 | 1,898 | <issue_start>username_0: In my application, users have their own profile page in which there is their profile picture (I'm using react router to deal with routes on client side).
What I want to do is: when a user sends link to his profile on messenger/slack/twitter then the thumbnail of the link should be his profile ... |
2018/03/18 | 557 | 2,236 | <issue_start>username_0: I want to store the technical specifications of the Vehicles in a mysql table. Where table design should be optimized enough to manage various DB Operations (Such as Updating or Selecting datasets) using PHP.
There are more than 100 fields of vehicle features and specifications, for which I am... |
2018/03/18 | 1,271 | 4,185 | <issue_start>username_0: I have to set exif data on my Image. in Android 8 my code works fine but in Android 7 It report the error below and after that no exif data are saved on image:
>
> W/ExifInterface: Given tag (GPSLatitude) value didn't match with one of expected formats: URATIONAL (guess: STRING)
>
>
>
Thi... |
2018/03/18 | 1,238 | 2,897 | <issue_start>username_0: I do a merge on table and need to update data if they are different.
In MSSQL I usually do it by checking a checksum this way:
```
WHEN MATCHED AND
CHECKSUM(TARGET.Field1,TARGET.Field2, ... TARGET.Field25)
<>
CHECKSUM(TARGET.Field1,TARGET.Field2, ... TARGET.Field25)
THEN UPDATE
... |
2018/03/18 | 1,231 | 2,855 | <issue_start>username_0: I need to calculate the complexity of the following code:
```
function(a)
n=length(a)
i=1
while i<=n
for j=n to i+1
print(a)
i = i+5
```
The while loop is running n/5 times, but I am confused by the for loop.
is it n/5 as well?
any guidance would be appr... |
2018/03/18 | 780 | 3,341 | <issue_start>username_0: I have a usercontrol which datacontext is bind to a "SelectedSchedule", with a click on a button a window is open where the "SelectedSchedule" can be edited, works fine. In this window there is a combobox with some "SelectedSchedule" to choose, which SelectedItem-Property is bind to the "Select... |
2018/03/18 | 1,064 | 4,123 | <issue_start>username_0: I'm bashing my head against the wall to try and figure out how to programmatically get a list of images in an Azure Container Registry.
Everything seems to fall down to looking in Docker.DotNet's own *local* instantiation of an image list, and push/pulling to an ACR via that local repository -... |
2018/03/18 | 701 | 2,171 | <issue_start>username_0: I am getting an error and do not know how to fix it. I have to calculate square root with approximation and it should stop on the 20th element.
* Unable to resolve symbol: aprox in this context, compiling:(/home/jdoodle.clj:2:2)
Code:
```
(defn msqrt [n]
(aprox (n 1.0 1)))
(defn aprox [... |
2018/03/18 | 452 | 1,576 | <issue_start>username_0: Whenever I create a new branch in a remote repo, there is no way for me to get it to my local repo.
I've tried:
`git fetch --all`, which actually updates the remote branches, but they don't show up with `git branch`
`git branch -r | grep -v '\->' | while read remote; do git branch --track "$... |
2018/03/18 | 1,139 | 3,750 | <issue_start>username_0: I am getting the following error in my `Angular5` applications.
```
Error: call to Function() blocked by CSP
vendor.bundle.js:50077:40
bind_constructFunctionN self-hosted:1214:16 Function self-hosted:1132:24 evalExpression
http://localhost:9000/assets/ui/vendor.bundle.js:50077:40
jitStatement... |
2018/03/18 | 1,591 | 6,430 | <issue_start>username_0: I'm trying to build a collection view without using interface builder, but I haven't been able to adjust the width of the cells. The cells appear to stay at their minimum square size, where I'd like the cells to stretch the width of the view.
What am I getting wrong with the constraints?
Spec... |
2018/03/18 | 1,160 | 4,646 | <issue_start>username_0: I have a simple html code, which hits my php file on my server and files are uploaded. I need to use the same thing in ionic, but it doesnt work. Below is my `home.html` code
```
Select image to upload:
```
I tried `file chooser,file transfer` of ionic but I failed to implement it. I also ... |
2018/03/18 | 1,363 | 5,135 | <issue_start>username_0: This problem asks you to write two functions involving
matrices/grids of integers,
which are represented by two-dimensional lists.
(a)Write the functionmultiply\_perimeter, which
takes in a two-dimensional list of integers
(representing a grid of numbers and of any size)
and multiplies the... |
2018/03/18 | 1,841 | 6,501 | <issue_start>username_0: I have an RDD which look the following:
>
> ( (tag\_1, set\_1), (tag\_2, set\_2) ) , ... , ( (tag\_M, set\_M), (tag\_L, set\_L) ), ...
>
>
>
And for each pair from the RDD I'm going to compute the expression

for k=0,..,3 and to find the... |
2018/03/18 | 1,060 | 3,120 | <issue_start>username_0: I was writing a recursive function for fibonacci sequence and wanted to use a counter to keep track of the recursive calls i.e. how many calls it takes to finish this function
in this case it is 15.
[](https://i.stack.imgur.c... |
2018/03/18 | 2,248 | 8,557 | <issue_start>username_0: With firebase functions, you can utilize express to achieve nice functionality, like middleware etc. I have used [this example](https://github.com/firebase/functions-samples/blob/master/authorized-https-endpoint/functions/index.js) to get inspiration of how to write https firebase functions, po... |
2018/03/18 | 1,898 | 6,477 | <issue_start>username_0: I am trying to **efficiently** deduct which conditions caused an if statement to be overlooked by the program without using a sequence of if statements to verify each variable's relative integrity individually.
Is this possible?
```
bool state = false;
int x = 0;
int y = 1;
int z = 3;
if(x =... |
2018/03/18 | 2,322 | 7,881 | <issue_start>username_0: So I'm finishing up my code, and encountered an error and don't know why!
The String "Size" is null when it gets to the "baseArea()" Method.
No errors are displayed.
EDIT: Added the Main method of the class, where everything is referenced, please note this is not the full code in the class !... |
2018/03/18 | 2,048 | 7,487 | <issue_start>username_0: React Native app crashing without any error log. No output on "`react-native log-android`" terminal, no red screen with error, Android emulator just crashes. Tried running with Expo, again crashes with no error
Happens when working with `TextInput`. I have some ideas how I can fix the code, bu... |
2018/03/18 | 599 | 2,465 | <issue_start>username_0: First i am execute procedure for create #temp table with data in first, then after i want #temp some column with other table column using joins.
first query is execute after that on second query error occur (#temp object is invalid)
```
if (con.State == ConnectionState.Closed)
... |
2018/03/18 | 586 | 2,403 | <issue_start>username_0: I typically work with C++ but off late have to program a lot in Python. Coming from a C++ background, I am finding dynamic typing to be very inconvenient when I have to modify an existing codebase. I know I am missing something very basic and hence turning to the stackoverflow community to unde... |
2018/03/18 | 624 | 2,245 | <issue_start>username_0: **Scenario:**
I have 2 tables, Car Table, and Employee Table. Pretty simple tables, both tables however include a location code:
```
ββββββββββββββββββ βββββββββββββ
β Employee Table β β Car Table β
β βββββββββββββββββ£ β ββββββββββββ£
β empID β β CarID β
β empName ... |
2018/03/18 | 964 | 1,715 | <issue_start>username_0: i have a text file with 3 columns tab separated:
1st column: a gene ID
2nd column: a value
3rd column: a list of genes associated to the one in the 1st column comma separated (number of genes can vary across lines)
```
TMCS09g1008699 6.4 TMCS09g1008677,TMCS09g1008681,TMCS09g1008685
TM... |
2018/03/18 | 694 | 1,619 | <issue_start>username_0: The script that I am using to import external HTML which has my Bootstrap based Navbar, here is the Javascript:
```
var link = document.querySelector('link[rel="import"]');
// Clone the <template> in the import.
var template = link.import.querySelector('template');
var clone = document.impo... |
2018/03/18 | 674 | 2,590 | <issue_start>username_0: I'm currently working on a bot project and stuck in some line of codes.
What I'm trying to do is convert the user input into an array and then modify it before sending it back to the user.
It's like
```
user=> hello
bot => :indicator_h::indicator_e::indicator_l::indicator_l::indicator_o:
```... |
2018/03/18 | 737 | 2,747 | <issue_start>username_0: So far I can create my own Data Models in a swift file. Something like:
User.swift:
```
class User {
var name: String
var age: Int
init?(name: String, age: Int) {
self.name = name
self.age = age
}
}
```
When I create a Core Data model, ie. a *UserData* entit... |