date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/03/12
573
1,891
<issue_start>username_0: I am using Framework7 swiper in my app. When I use static data then swiper works fine but it is not working when I fetch the data from the server using web service. I have used DOM to update swiper but unfortunately, it is not updated. Please give me the solution to update the swiper. My code ...
2018/03/12
1,010
3,251
<issue_start>username_0: UPDATE: a solution has been found stated below: however new issue poses i didnt want to keep creating question so updated this one when i use ajax to pass through to html i get the following error response.forEach is not a function where the code is as below is this because there are now 2 arr...
2018/03/12
1,117
4,795
<issue_start>username_0: i have stuck up with below problem. I have got the below response. ``` ( { CarrId = 102; CarrName = "Fast and Furious"; CarrOptions = ( { Id = 8; Img = "400.jpg"; ...
2018/03/12
628
1,963
<issue_start>username_0: I'm trying to figure out how to use lodash to filter the following object: ``` contacts = { A: [ { name: "Albert", age: 16 }, { name: "Arthur", age: 24} ], B: [ { name: "Bob", age: 33 } ], C: [], D: [], ... }; ``` I'd like to be able to filter contacts by name (contains) wh...
2018/03/12
765
2,432
<issue_start>username_0: I can't manage to inject data from a Json file into my html. I get a good response, I can log it into chrome [console.log of my response](https://i.stack.imgur.com/bcykm.png) but i can't inject it in my html. here is my angularJs code : ``` var app = angular.module('monApp', ['ngSanitize'])...
2018/03/12
1,569
6,417
<issue_start>username_0: Appreciate some help here on a spinner issue I'm getting. The list appears fine when clicking on the drop-down arrow. However, when clicking on the selection, the spinner view still appears as blank. The selection's text does not appear. What gives? On Android Studio's preview, it appears fin...
2018/03/12
300
998
<issue_start>username_0: For routing, we use either route.params.subscribe() or What is the difference between these two and how to use them together?<issue_comment>username_1: This Acts as a placeholder that Angular dynamically fills based on the current router state. You can try this ----------------- <https://a...
2018/03/12
708
2,350
<issue_start>username_0: I have the following code that is working perfectly, but I am still not able to color cells with for example class bg-success due to the fact I use list.js to create tables. What I would like is that if the profit value is less than 0, class bg-danger should be added to the item in var options...
2018/03/12
426
1,469
<issue_start>username_0: I am newbie to Database: what will be my Primary and Foreign keys for the following database: user buys items and rates them by giving ratings(1,2,3,4,5) user(id, name) item(id, description, category, price) buys(user, item, price) rates(user, item, rating)<issue_comment>username_1:...
2018/03/12
647
2,176
<issue_start>username_0: Edge doesn't support [CSS mask](https://caniuse.com/#search=mask), yet the `@supports` statement below is calculating as `true` and the enclosed styles are being applied in Edge. What can I put into the `@supports` argument to get Edge to ignore the conditional block ```css body { font-fami...
2018/03/12
811
2,409
<issue_start>username_0: Check the following `C++` code: ``` #include #include class A { public: A (int a) {}; }; int main() { std::map p; return 0; } ``` The compilation is successful. While change `std::map` to `std::pair`: ``` #include #include class A { public: A (int a) {}; }; int main() { std:...
2018/03/12
677
2,514
<issue_start>username_0: Lets say I have C# class: ``` class Player { string Name; int HitPoints } ``` I would like to add modding/scripting support to my game where user would be able to extend it with his own variables. (let say *"bool StartedKill5RatsQuest"*) and then for him it would be same to access both h...
2018/03/12
538
1,828
<issue_start>username_0: I would like to add a host computer directory into my docker container and replace the contents of the /var/www/html directory. Then I presume when I make edits to my code and refresh the browser I can see the results of changes to the website. Right? This is my command ``` docker run --na...
2018/03/12
1,312
4,899
<issue_start>username_0: I am making an ios application. I am new to swift and not able to understand my code. can anyone please help me to understand what is going on with my code. This is login application on adding email id if the email exist it should go to next view controller and if not then it should give error...
2018/03/12
978
3,921
<issue_start>username_0: json Structure: ``` { "id" : "1", "Data" : [ { "name" : "abc", }, { "name" : "option1", "position" : [ { "name" : "option1", "status" : [ { ...
2018/03/12
878
3,629
<issue_start>username_0: I have tried below lines of code for making an option selected if it matches with the data's DepartmentName. It's not working. Please help !!! ``` function fillDepartments(selectedText) { $.ajax({ url: 'index.php?action=fetchAllDepartments', ...
2018/03/12
2,834
11,154
<issue_start>username_0: I'm created app, which gets images from gallery, shows in VewPager and we can slide it. There only problem is that if the image size is more than 1mb, the slide freezes, lagging. If i add images in gallery 100-200kb, that not freeze. Any solution? Thanks. Here the adapter. ``` public class Ph...
2018/03/12
1,243
4,961
<issue_start>username_0: I want to add Navigation Bar to my website using Bootstrap in ReactJS. But all NavItems are on separate lines. How to put them on one line. I followed the guide in Bootstrap docs. [Output image](https://i.stack.imgur.com/SCvQc.png) ``` import React, { Component } from 'react'; import { Navbar...
2018/03/12
1,435
3,766
<issue_start>username_0: Any suggestion to select the columns of the row when value =1 and the sum columns values =1. it means that I will just select unique values, non-shared with the other individuals. ``` indv. X Y Z W T J A 1 0 1 0 0 1 B 0 1 1 0 0 0 C 0 0 1 1 0 0 D 0 0 1 0 1 0 A: X, J B: Y C: W D...
2018/03/12
288
1,046
<issue_start>username_0: Im using simple: ``` ``` within a `.container-fluid` **div** and I'm wondering why the grid adds a horizontal scrollbar when the window **width** is below **623px**? I'm trying to figure it out because I don't want this to happen in my project. Someone knows anything about it? Here is a [...
2018/03/12
225
854
<issue_start>username_0: While using i am getting following error.Error: Syntax error, unrecognized expression: ng-form[name="form\_name". Can you please help me to solve this error. Thank you, <NAME>ar<issue_comment>username_1: On your codepen, it is because the "Right" word is to big for the col-1. Upvotes: 2 <issue...
2018/03/12
251
869
<issue_start>username_0: What is the difference between these functions: ``` callback(x: string[], y: string[]){ console.log(x.concat(y).join(', ')); } ``` and ``` (c,d) => console.log(c.concat(d).join(', ')) ``` ?<issue_comment>username_1: On your codepen, it is because the "Right" word is to big for the col-1...
2018/03/12
1,280
4,042
<issue_start>username_0: I have created a program to remove first smallest element but I dont how to do for second largest: ``` withoutBiggest (x:xs) = withoutBiggestImpl (biggest x xs) [] (x:xs) where biggest :: (Ord a) => a -> [a] -> a biggest big [] = big biggest big (x:xs) = i...
2018/03/12
305
1,038
<issue_start>username_0: I would like to console log the column name and the row name of my clicked cell. I have created the following table, where the click event works for the 'timesroom' but not for the 'weekday' which gives an undefined response. ``` | {{weekday}} | | --- | | {{time}} | | | | | | | ``` I...
2018/03/12
1,068
4,119
<issue_start>username_0: I got a `Stack_overflow` error in my OCaml program lately. If I turn on backtracing, I see the exception is raised by a "primitive operation" "pervasives.ml", line 270. I went into the OCaml source code and saw that line 270 defines the function `@` (i.e. list append). I don't get any other inf...
2018/03/12
347
1,069
<issue_start>username_0: I change my text size like following image. But my app doesn't change the the font size. Have any idea to me? ``` label.font = UIFont.systemFont(ofSize: 16.0) label.adjustsFontForContentSizeCategory = YES label.text = string ``` [![enter image description here](https://i.stack.imgur.co...
2018/03/12
775
2,932
<issue_start>username_0: I know I'm not the only one facing this issue but after searching the web for a while and trying out everything it gave me, I gotta ask for my case here. I'm getting the popular error that I receive a 404 whenever I try to access a route of my app, when not using an app-related way. So for exa...
2018/03/12
946
3,496
<issue_start>username_0: I have a string and I want to change colors of two words in that string. So, I created a function ``` func setup() { let main_string = "By continuing you agree to our Term of use and Privacy Policy " var string_to_color = ["By continuing you agree to our","and"] ...
2018/03/12
812
2,989
<issue_start>username_0: I have developed front end using html and javascript files.Now I want create 3 different build of this for different environment like DEV,UAT and production. Do we have any tool which packages files in this manner so we have different package for different environment.<issue_comment>username_1:...
2018/03/12
958
3,364
<issue_start>username_0: I know there are secret variables and I tried passing the secret to a bash script. When used on a bash script that has `#!/bin/bash -x` the password can be seen in clear text when using the docker login command like this: ``` docker login "$USERNAME" "$PASSWORD" $CONTAINERREGISTRY ``` Is th...
2018/03/12
517
1,834
<issue_start>username_0: Help to make the same window, as with Skype when we call, we see window with call info, via Electron. The point is that this window is always on top of all Windows on your computer, including games. The `alwaysOnTop` parameter: true sets the window in front of all other Windows, but the game c...
2018/03/12
3,922
12,575
<issue_start>username_0: I want to customize my pagination view for DataTalble for one of my client requirement. I want pagination view same shown in the image. [![Custom Pagination view](https://i.stack.imgur.com/FFzkM.png)](https://i.stack.imgur.com/FFzkM.png) For this purpose i have modified some code of datables....
2018/03/12
817
2,145
<issue_start>username_0: Indian style number formatting works with Lakhs and Crores. A Lakh is "100,000" in US Style, but would be "1,00,000" in Indian Style. A Crore is "10,000,000" in US Style, but would be "1,00,00,000". I have not been able to figure out the custom number formatting syntax sufficiently to be ab...
2018/03/12
557
1,918
<issue_start>username_0: How to use slack logging functionality in laravel 5.6.7? I wrote a line LOG\_SLACK\_WEBHOOK\_URL = "my slack url" in .env file and used Log::emergency("alert testing..."); but did not get any notification on slack. Also i have no idea where to configure slack channel it is required or not.<issu...
2018/03/12
1,329
5,092
<issue_start>username_0: I've got a problem with my crash reports from Fabric Crashlytics when I enable Dexguard in my project. I enabled Dexguard in my project and it works pretty well. Then I followed the instructions in this [this page](https://docs.fabric.io/android/crashlytics/dex-and-proguard.html) and added th...
2018/03/12
486
1,523
<issue_start>username_0: I don't understand why my loop render me only index[0] in my loop.... I have à state that's an array : ``` this.state = { days: ["Lundi","Mardi","Mercredi"] } ``` And i want to render each day in my component: ``` render(){ for (let i = 0; i < this.state.days.length; i++) { ...
2018/03/12
217
735
<issue_start>username_0: Are these constructions the same? ``` const {PI} = Math; ``` and ``` const PI = Math.PI; ``` What are benefits of using the first example?<issue_comment>username_1: It is a so-called "destructuring assignment". Searching this site I found a similar question with a good answer: [Javascrip...
2018/03/12
274
817
<issue_start>username_0: I need to update and replace all this IP in database and hold some index > > this = <ftp://192.168.1.2/Y2018/M2/JNxxxxx> > > to = <ftp://192.168.2.2/Y2018/M2/JNxxxxxx> > > > change only IP and hold all index default<issue_comment>username_1: It is a so-called "destructuring assignmen...
2018/03/12
372
1,370
<issue_start>username_0: Starting from yesterday (judging by the error logs), out of the blue, we notice the following error on the site: PHP Fatal error: Cannot access property WP\_Hook::$callbacks in …/public\_html/wp-includes/class-wp-hook.php on line 77 The site is working (possibly thanks to the caching plugin),...
2018/03/12
522
1,629
<issue_start>username_0: I have an array of file names. Names are of the format `company_ID_timestamp`. How do I apply a substitution on the array without running a loop? ``` for ( my $i=0; $i < scalar @todayFiles; $i++ ) { $todayFiles[$i] = s/_20[0-9]{10}//; } ```<issue_comment>username_1: Unless you want an ugl...
2018/03/12
1,419
3,843
<issue_start>username_0: I was looking for C code to generate a set of random even number in range `[start, end]`. I tried, ``` int random = ((start + rand() % (end - start) / 2)) * 2; ``` This won't work, for example if the range is [0, 4], both 0 & 4 included ``` int random = (0 + rand() % (4 - 0) / 2) * 2 => (ra...
2018/03/12
1,346
3,736
<issue_start>username_0: I would like to have floats printed out * in decimal notation * with no trailing zeros For instance: ``` 1e-5 -> 0.00001 1.23e-4 -> 0.000123 1e-8 -> 0.00000001 ``` --- Some things that don't work: `str(x)` outputs scientific notation for small floats `format(x, 'f')` and `"{:f}".f...
2018/03/12
664
1,910
<issue_start>username_0: CREATE TABLE `student` ( `s_id` int(10) NOT NULL AUTO\_INCREMENT, `s_roll_no` int(30), `s_name` varchar(30), `s_gender` varchar(4) not null, `class` int(2) not null, PRIMARY KEY (`s_id`) ); CREATE TABLE `attendance_date` ( `date_today` varchar(10), PRIMARY KEY (`date_today`) ); CREATE...
2018/03/12
542
1,664
<issue_start>username_0: I have the following query: ``` merge into A a using (select :1 as x, :2 as y from sys.dual) tmp on (a.x = tmp.x and a.y = tmp.y) when matched then update set a.z = case when :3 = 1 then :4 else null end when not matched then insert ( x, y, z ) values...
2018/03/12
1,912
6,220
<issue_start>username_0: I have a template class(CrMultiIndex) that receive as template parameter a definition of boost multi index(GlobalHash). I need : 1. To add statistics to my template class according to Index used. So i need a way to resize the vector(m\_StatsByIndex) at init with the number of existing indices...
2018/03/12
624
2,093
<issue_start>username_0: Can someone explain what will be the order of execution of following JavaScript Code: ``` (true + false) > 2 + true ``` I understand using + operator over two Boolean values returns the result as 0,1 or 2 depending upon the values being provided. I interpreted output of above code as 1 by b...
2018/03/12
530
2,051
<issue_start>username_0: In my Angular 5 application I'm using `ng build --aot --watch` to build application and watch any changes in code. Unfortunately usually after second, third save on file - webpack just stuck with message: `95% emitting` and I have to cancel terminal and do it again. I've found workaround `ng b...
2018/03/12
664
2,236
<issue_start>username_0: I am having an issue trying to use the cancan authorization. I have users with one role per user, so I added user.role column as suggested in [the cancan wiki](https://github.com/ryanb/cancan/wiki/Role-Based-Authorization "here"). I also have an index view for kindergardens and another index v...
2018/03/12
1,943
6,108
<issue_start>username_0: I added css by jQuery to my page to enable visitors changing the contrast by clicking button. But I would like to keep css active after reloading the page (when contrast button is already clicked). I hope it is possible, because I didn't find any solution yet. My code: ``` var applied = fals...
2018/03/12
943
3,129
<issue_start>username_0: I am interfacing some code with raw pointers. So I have extensive use of the map class: ``` void foo(T* raw_pointer){ const int rows = ...; const int cols = ...; Map> mat(raw\_pointer); // DO some stuff with "mat" } ``` Now I want to apply some cwise operations in `foo`, which ...
2018/03/12
338
1,419
<issue_start>username_0: Let's suppose I have a `Modal` component that triggers an `MODAL_CLOSE` action when the user closes it. Let's suppose I have an application that uses `Modal` component in many different places and, in some cases I want to change the application store when the `MODAL_CLOSE` event is triggered. ...
2018/03/12
281
1,145
<issue_start>username_0: I have figured out a way to do this, defining a variable inside a HTML attribute like this: ``` div data-name=some_var id="component" ``` Then from Javascript I can retrieve it: ``` alert($("#component").data("name")); ``` However, it looks very ugly to me. Is there another way to achieve...
2018/03/12
709
2,718
<issue_start>username_0: I cannot seem to figure out why it keep giving me this: executeQuery method can not be used for update. The way my code works is it takes in text from 5 jTextFields then converted to string double and int values. These values are sent to a method which will be pasted below. The problem is the s...
2018/03/12
249
939
<issue_start>username_0: I have an old webforms project with a login page that had a login control: ``` Username: Password: ``` I would like to perform some functions prior to the automatic redirect. How can I achieve that? The button has no code behind.<issue_comment>username_1: [Check This](https://msdn.mi...
2018/03/12
329
1,262
<issue_start>username_0: I need to deploy an Azure IoT Hub with an IoT Edge device by using ARM Templates. Unfortunately, I cannot find any property for the Edge device object in the official [documentation](https://learn.microsoft.com/en-us/azure/templates/microsoft.devices/iothubs). Should I assume that this feature ...
2018/03/12
471
1,847
<issue_start>username_0: When in Unity I want to symmetrically mirror a transform along the x axis, for many shapes this works fine: ```cs reflection.localRotation = new Quaternion( original.localRotation.x * -1f, original.localRotation.y, original.localRotation.z, original.localRotatio...
2018/03/12
960
3,265
<issue_start>username_0: `levenshtein` is a function that gets two argument, and computes distance between them: I want to remove the first item of both argument using `awk` then give them to the `levenshtien` function, but it did not work: ``` levenshtein awk '{$1=""; print}' text1 awk '{$1=""; print}' text2 ``` ...
2018/03/12
226
691
<issue_start>username_0: We are migrating our Database from Oracle to PostgreSQL. Currently we are using trunc(date) to remove time from a date column. I would like to know a common solution that works for both Oracle as well as postgreSQL db?<issue_comment>username_1: you can cast it to date in postgresql like t...
2018/03/12
1,659
4,734
<issue_start>username_0: Need to unpivot multiple columns which list options and option prices. Example starting dataset can be created with this code: ``` CREATE TABLE testtable ( ID int, OptionA nvarchar(25), OptionACost decimal(16,4), OptionB nvarchar(25), OptionBCost decimal(16,4), OptionC nvarchar(25), OptionC...
2018/03/12
539
1,606
<issue_start>username_0: I have a dataframe that looks like this. ``` raw_data = {'Enum': ['E330','E322','E124','E500'],'Count': [234, 122, 765, 433], 'Colors':['red','blue','green','yellow']} additives_count = pd.DataFrame(raw_data) ``` I want to plot a bar graph and I used the code below. ``` ax = additives_coun...
2018/03/12
3,272
11,333
<issue_start>username_0: I am working on the angular based project. I am using datatables to display data. When I try to do some modifications on the table, I get the following error. DataTables warning: table id=DataTables\_Table\_0 - Cannot reinitialise DataTable. For more information about this error, please see <...
2018/03/12
1,353
4,514
<issue_start>username_0: I am trying to migrate from RStudio to emacs ess and i am trying now to find auto-completion functionality in emacs ess similar to Rstudio For my question i'll use a simple RStudio example and i'll appreciate if you could tell me how to do the same in emacs ess (The purpose is of course to gen...
2018/03/12
397
1,385
<issue_start>username_0: How do we define a primary key in a database which contains transactional data on bank loans/accounts. For eg - if I take primary key as account no- there might be more than one row(transaction) for the same account no.<issue_comment>username_1: use auto incremented column for primary key. Upv...
2018/03/12
406
1,332
<issue_start>username_0: I have a table where I am trying to find all words that belong to the same category. The table looks like this: ``` ID | CATEGORY | word --------------------- 1 | 2 | elephant 2 | 2 | lion 3 | 5 | duck 4 | 5 | pig 5 | 5 | chicken 6 | 7 ...
2018/03/12
953
3,063
<issue_start>username_0: I have a utf16 encoded string, I want to convert it to float **For Example** If have a utf16 string like `u"1342.223"` it should return `1342.223` in floats, if it was utf8 i used to convert it using `stod` function, but how to do this job on utf16 enocoded string `std::u16string`<issue_...
2018/03/12
1,354
5,067
<issue_start>username_0: When I call `WrapperAsync` `AsyncLocalContext.Value` returns null. When I run the same code block outside the method, in the `Main` method, `AsyncLocalContext.Value` is not null (which is what I would expect). The functionality is exactly the same yet the results are different. Is this a bug w...
2018/03/12
648
2,533
<issue_start>username_0: As it says in the title I have already assigned claims to the registered user, I am now trying to retrieve the claim value when the user logs into the application within the UserClaims table in sql server which I find a bit difficult to do as this is my first time using claims. Looking for dir...
2018/03/12
1,444
5,517
<issue_start>username_0: Looks like `ConstraintSet` is finding hard to cope up with `Start/End` constrains. This example is taken from *Google samples*. Github: [android-ConstraintLayoutExamples](https://github.com/googlesamples/android-ConstraintLayoutExamples) When you replace Left & Right constrains with `Start`...
2018/03/12
331
1,386
<issue_start>username_0: I am developing a Gmail add-on and stuck at a point where I have to trigger my one app script function when compose button is clicked, So my use case is that whenever the compose button is clicked my app script function will return the text for the draft to be shown in the compose mail window a...
2018/03/12
323
1,246
<issue_start>username_0: Today I see a python file starting with ``` import sys import time import heapq import resource from itertools import groupby from collections import defaultdict ``` however, after I run the file, the error showed with ``` ImportError: No module named resource ``` then I try to install...
2018/03/12
516
1,946
<issue_start>username_0: I want to add dynamically CommandButtons to my Userform within the For-Loop. How can i get add new CommandButtons in the For-Loop? ``` Dim CommandButtons(5) As clsCommandButtons Private Sub UserForm_Initialize() Dim zaehler As Integer For zaehler = 0 To 4 Set CommandButton...
2018/03/12
1,305
3,624
<issue_start>username_0: Swift 4.0 iOS 11.x Just when you think your getting the hang of things, you realise you missed something critical. Wanted to create a label that changed itself when you tapped it. Created this sub class of label. ``` import UIKit class TapText: UILabel { private var changableValues: String ...
2018/03/12
339
1,312
<issue_start>username_0: Does anyone know if it possible to cache nulls with hibernate 2nd level cache and ehcache ? I mean when an entryKey is not found in DB i would like that entryKey in the cache with a null meaning that is not present in DB. I would like to avoid query's to DB when it's known an element is not in...
2018/03/12
1,755
5,562
<issue_start>username_0: Basic [example](http://coliru.stacked-crooked.com/a/9440ca7a8c43022a): ``` class Base { public: double mValue = 10.0; }; class Derived: public Base { public: double mAdditionalValue = 20.0; }; int main() { Derived derived; Base *rBase = &derived std::cout << "value " << r...
2018/03/12
769
2,372
<issue_start>username_0: ``` #include #define ABS(a,b) \ do { \ (a>0) ? b = a : (b = -a); \ return b; \ }while(0) \ int main() { int a = -2, b; ABS(a,b); printf("a=%d b=%d\n", a, b); } ``` I can't able to understand the output of this. Please explain. Thanks<issue_comment>username_1: The simplest explanation is to u...
2018/03/12
1,034
4,203
<issue_start>username_0: I have array look like this : ``` "results":[ { "code":"jne", "name":"<NAME> (JNE)", "costs":[ { "service":"OKE", "description":"Ongkos Kirim Ekonomis", "cost":[ { "value":380...
2018/03/12
1,765
5,434
<issue_start>username_0: **I use spark 2.2.1, kafka\_2.12-1.0.0 and scala to get some json data from kafka, however, I only connect the kafka but no data output .** here my scala code: ``` def main(args: Array[String]) { val spark = SparkSession .builder() .appName("Spark structured streaming Kafka e...
2018/03/12
732
2,696
<issue_start>username_0: I was trying to implement a custom DropDown filter in ag grid using React. The link I followed is [link](https://www.ag-grid.com/javascript-grid-filter-component/) I was able to create the filter, however the filter doesnot appear by default. As a user, we need to click the 3 arrow icon next t...
2018/03/12
953
3,757
<issue_start>username_0: *I deleted my previous question, since it was terribly worded and my non-working examples were just confusing.* I have a series of models, such as `Vehicle`, `Computer`, `Chair`, and whatnot. My goal is to be able to attach **an arbitrary number** of images to each of them. That's my question:...
2018/03/12
406
1,839
<issue_start>username_0: I've included Spring Actuator in my Spring Boot app but the health endpoint is not there/returning a 404. I can GET many of the other actuator endpoints and see them listed in the Tomcat log i.e. ``` EndpointHandlerMapping : Mapped "{[/autoconfig EndpointHandlerMapping : Mapped...
2018/03/12
226
749
<issue_start>username_0: JSON FILE: need to iterate each element using scala.read the JSON file in scala and iterate over the each element & and add it the particular list. Input: `{"details": [{"Level": "1", "member": "age", "claim": "age"}, {"Level": "2", "member": "dob", "claim": "dob"}, {"Level": "2", "member": "...
2018/03/12
3,429
12,874
<issue_start>username_0: I have an array of conversation between two entities, each distinguished based on parent and level. Every request will be followed by a response object. The sample input structure is like below ``` [ { "message": "one", "messageSequence": 0, "level": 1, "Parent": "", "messageType": "request" ...
2018/03/12
1,916
6,555
<issue_start>username_0: *TL;DR*: I have a PyTable with a float32 Col and get an error when writing a numpy-float32-array into it. **(How) can I store a numpy-array (float32) in the Column of a PyTables table?** --- I'm new to PyTables - following a recommendation of [TFtables](http://%20http://tftables.readthedocs....
2018/03/12
966
3,360
<issue_start>username_0: [Displaying posts by specific user?](https://stackoverflow.com/questions/14528885/displaying-posts-by-specific-user) this i saw is for ruby on rails and it couldn't help me.. I have two tables, users and posts. If a user posts anything, it displays on his dashboard which works fine for now. Bu...
2018/03/12
368
1,320
<issue_start>username_0: I am working on *THREE.js* **orthographic camera**, I am using 'OrbitalControls.js' for controls. I want to zoom in the direction of mouse in 3D world. Hoping to get solution in JS. I know this one is not easy solution like perspective camera.(where we add in camera direction)<issue_comment>use...
2018/03/12
901
3,187
<issue_start>username_0: I have a table containing roughly 5 million rows and 150 columns. However, there are several similar rows that I would like to consider duplicates if they share the same values for 3 columns : `ID`, `Order` and `Name`. However, I don't just want to delete the duplicates at random, I want the r...
2018/03/12
1,145
3,906
<issue_start>username_0: Here are my steps in my ``` steps: -run: name: Setup nvm and npm command: | wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash export NVM_DIR=$HOME/.nvm source $NVM_DIR/nvm.sh nvm install 8.9 && nvm alias default ...
2018/03/12
560
2,100
<issue_start>username_0: Hi everyone I've situation while uploading image in **Angular project** if user doesn't select image then i want to ***read image from the assets folder and send it to backend***. after hours of trial and error. i'm not able to read the image from the asset folder to a JavaScript file object. i...
2018/03/12
337
1,151
<issue_start>username_0: I'm trying to create four buttons where four labels appear in a random order: ``` ``` The labels are stored under the `var choiceLabels = ["Hola", "Hole", "Holo", "Holu"];` Then the code iterates through the choices to stick them in the buttons: ``` for (var i=0; i ``` But I get the fol...
2018/03/12
609
2,212
<issue_start>username_0: How do I make the selected row record from a `DataGridView` show in a `TextBox`? I got some `TextBox` and `Label` in a `Form`. I want the text inside the `TextBox/Label` to change when the user selects a row record from the `DataGridView`. I tried the following code to make it happen, but it do...
2018/03/12
942
2,729
<issue_start>username_0: I want to display a list within a header (which is animated). I want the list to sit with the rest of the text. I set the UL to display:inline-block expecting the li to sit on the baseline, but it does not: ```css * {margin:0;padding:0} .cycle { display:inline-block; position: relative; ...
2018/03/12
1,017
2,862
<issue_start>username_0: I have a tab-separated file, see below: The first column contains the position number, 1-end and the rest have some frequency numbers. ``` Position A B C D 1 117 0 1 0 2 4 0 0 16 3 0 5 11 0 4 0 0 0 ...
2018/03/12
997
2,749
<issue_start>username_0: I have a database: ``` ------------------------------ name |extension |filesize ------------------------------ abc | php | 12 def | php | 18 ghi | bat | 32 jkl | bat | 24 mno | php | 30 ``` I want to specify all extensions and summarize f...
2018/03/12
706
2,577
<issue_start>username_0: I am attempting to make the following code work: It is meant to delete the last character of the text widget named \_textBox (as a backspace on a keyboard would usually do)... ``` def addChar(_textBox, char): global charCount if charCount <= 15: if char == "backSpace": ...
2018/03/12
3,704
7,658
<issue_start>username_0: I try to spin up a server which should run docker and docker-compose with a simple "hello-world" container. My YAML file looks like this: ``` #cloud-config ssh_authorized_keys: - ssh-rsa MY_SSH_KEY_HERE package_update: true package_upgrade: true packages: - docker.io runcmd: - [ sh, -...
2018/03/12
2,377
6,788
<issue_start>username_0: I want to display the clicked `ul`, not every `ul`. The `ul` has the class `slide-in`. I would appreciate it a lot if anyone could help me, because I am stuck. My code is below for you to check it out: ```js $('.gallery li.slide-in').on("click", function() { var ele = $('.icon-to-change')...
2018/03/12
813
2,827
<issue_start>username_0: I am using Oracle.DataAccess, and need to access an older database, which means I need to use a bit older version of this assembly. Both the new and old assemblies are in the GAC, but I cannot seem to get the application to use the older version. Here is my .config file: ``` ``` fuslogvw sho...
2018/03/12
1,820
7,893
<issue_start>username_0: I have a service which runs in foreground with, among other things, a stopwatch. When the service starts the notification appears, and when it ends I update it with sound and some text that indicates that it's finished. The problem is that this works well until api 25, but for 26 and 27 it upda...
2018/03/12
3,142
10,878
<issue_start>username_0: I am trying to upgrade a historic Scala/Spark SBT project to SBT version 1.1.0. It uses Scala 2.10.6, as specified in the `build.sbt` file. It is unclear for which SBT version the `build.sbt` file was implemented, but presumably 0.12.x or even earlier. I fail to migrate the `assemblyExcludedJa...
2018/03/12
494
1,591
<issue_start>username_0: Hello i wrote some PHP code: ``` $number = $_POST['number']; $start = $_POST['start']; $end = $_POST['end']; $user_name = $_POST['user_name']; $phone = $_POST['phone']; $validation_query = "SELECT * FROM `rezerwacje_miejsc` WHERE `NR_MIEJSCA`='$number' AND `START` BETWEEN '$start' AND '$end'...