date
stringlengths
10
10
nb_tokens
int64
60
629k
text_size
int64
234
1.02M
content
stringlengths
234
1.02M
2018/02/26
680
2,872
<issue_start>username_0: I have two component , in one component i have a button and in other component i have a popup which is bootstrap modal popup. i need to popup this modal popup and bind a data in that popup when click on this button. can you guys show me a example or sample project how to show popup and data tra...
2018/02/26
1,059
3,651
<issue_start>username_0: I wanted to get this tab component in function, using plain javascript. And I get the tab's content to display in the debug mode, where as after fully compilation it doesn't shows up on the browser(or the selected tab content appears as display set to none). Also I am applying class 'activeNav'...
2018/02/26
933
3,234
<issue_start>username_0: I'm trying to access from Outlook VBA, either a variable or content control ID that I've created in a word Macro. Basically I am trying to get set a text field equal to a string variable and load this variable to a message box in outlook. From outlook, I have the code that creates a word obje...
2018/02/26
929
3,241
<issue_start>username_0: I have names like "<NAME>" , "<NAME>" and I want only the initials to be removed from the names , "D" in the first name and "S." in the second name. How can i do it using java regex?<issue_comment>username_1: The following code snippet seems to be working well: ``` String input = "<NAME>"; inp...
2018/02/26
803
3,035
<issue_start>username_0: I have a scenario where i want to process csv file and load to someother database: **Cases** 1. pic csv file and load to mysql with the same name as csv 2. then do some modification on loaded rows using python task file 3. after that extract data from mysql and load to some other database CS...
2018/02/26
658
2,616
<issue_start>username_0: I am using SQL Server Database for my Power BI reports using import , is there any way to refresh the reports every hour (without using direct query)? Thanks<issue_comment>username_1: you can go on Power BI Services, on your dataset (the one related to your DB) and schedule a refresh and then, ...
2018/02/26
1,300
3,092
<issue_start>username_0: For example: (I assume something like JSON data) ``` const arr = [ {foo: 1, bar: 2, hoge: 3, fuga: 4}, {foo: 1, bar: 2, hoge: 3, fuga: 4}, {foo: 1, bar: 2, hoge: 3, fuga: 4}, {foo: 1, bar: 2, hoge: 3, fuga: 4},... ] ``` I dont need `bar` and `fuga` keys, So I wanna extract from this ...
2018/02/26
1,611
5,096
<issue_start>username_0: I am trying to do a simple override and load some data when my page loads, I am using the following code in the code behind page. ``` namespace XYZ { public partial class MainPage : ContentPage { private Label results; private Label groupResults; public MainPag...
2018/02/26
1,364
4,493
<issue_start>username_0: Let's say, I have the following JSON, which can be easily converted back and forth to a JavaScript object: ``` { "foo": { "bar": "Common substitute word", "baz": "Another common substitute word", "questionWords": { "wat": "Inadequate question word", ...
2018/02/26
1,556
4,922
<issue_start>username_0: I try to use DevExtreme component in partial view. But my partial view page shown when I click on the element. And in the main page after the click I have error ``` Newtonsoft.Json.JsonSerializationException: Self referencing loop detected for property 'ApplicationEntity' with type 'System.Da...
2018/02/26
2,104
5,932
<issue_start>username_0: I am getting the response like this ``` { "ResponseStatus":"True", "ResponseCode":"0", "ResponseMessage":"Calendar Details Received!!", "data":[ { "title":"Holiday", "titlePopup":"Holiday", "color":"#e1e5ec", "msgId":0, "start":"201...
2018/02/26
534
1,986
<issue_start>username_0: Guys please help I'm stuck in this, I'm trying to add an 'Edit' button in jquery datatable and pass the row id everytime user clicks it, thing is that that each time when I click it says 'undefined' and I've tried all methods but still i'm missing something ! This is my code: ``` function Loa...
2018/02/26
388
1,427
<issue_start>username_0: I am trying to query some data from SQL Server 2012 using sub query. I am trying to get first 3 records for each Id returned by Sub Query but I am not getting the idea how to do so for now I write this query: `Select * from Student Where TeacherId in (Select TeacherId from Teacher)`<issue_c...
2018/02/26
578
1,972
<issue_start>username_0: I'm using Django 1.11, Postgresql 9.2, python 3.4 I want to select data based on table's column named `event_type` if event type is **single** then compare date that should be of same date (today's) date else select all dates of given (today's) date that type would be of **recurring**. But ...
2018/02/26
827
2,809
<issue_start>username_0: For e.g. Consider a file sentences.txt ``` This is sentence X This is sentence Y This is sentence X This is sentence Y This is sentence X This is sentence Y This is sentence X This is sentence Y This is sentence X This is sentence Y This is sentence X This is sentence X This is sentence Y This...
2018/02/26
612
2,223
<issue_start>username_0: I'm looking for a keyboard shortcut to select all text/contents between HTML attribute, such as: ``` ![](https://example.com/wp-content/uploads/2018/26/imagename.jpg) ``` I want to select the entire text/path in src"...." and replace for multiple images, would be much help me there any optio...
2018/02/26
639
2,282
<issue_start>username_0: I am trying to create link that will activate when a specified value is created. If I have a link like: ``` a(class="nav-link" id="signal_" style="pointer-events: none" href="/goToStreamingPage") #{signal} input(hidden id="signalInput" value=signal) ``` how would I go about changing the sty...
2018/02/26
588
2,178
<issue_start>username_0: How to import data to existing table in Database from another Database in sql I am trying this but not working . It is saying > > 'Cannot insert an explicit value into a timestamp column.' Use `INSERT` with a column list to exclude the timestamp column, or insert a `DEFAULT` into the `times...
2018/02/26
519
1,984
<issue_start>username_0: I am developing a quiz app in it I retrieve one question per day date wise and the user has to answer only this retrieved question. I want to disable my button after user submitted his answer and it remains disabled until next day.<issue_comment>username_1: Try this: ``` Select * into SQLShack...
2018/02/26
320
1,301
<issue_start>username_0: First of all it works fine if i delete the row with a single swipe. Unfortunately whenever i'm just playing around with it without deleting it gets crashed. This is how i'm deleting my rows: ``` override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCellEditingStyle,...
2018/02/26
749
2,863
<issue_start>username_0: I'm developing an application that, listen a queue from different thread but I have a problem about thread management. I started a background thread from my main application. It is work fine but after Main application finished, then child threads kill. Is there anyway to continue child thread a...
2018/02/26
846
3,085
<issue_start>username_0: **So I have a text file that looks like this:** ''' Name: John Last Name: Brown ''' **All I want is to print something in the beginning of the ''' quotation marks and in the beginning of all the lines that follow UNTIL I read another set of quotation marks.** **This is what I've been tryi...
2018/02/26
492
1,679
<issue_start>username_0: I am converting a working chrome extension to a firefox extension. In the extension, it calls window.open() in the background.js. However, it is not working in my firefox version, and I have tested that everything else is working fine, and it is just not window.open'ing. I read online that it...
2018/02/26
337
1,298
<issue_start>username_0: I'm following this guide <http://www.c-sharpcorner.com/article/creating-and-distributing-android-app-using-visual-studio-2017/> to generate the APK file for my app, however when I'm archiving the project it gives me the following error: **Mono Shared runtime is enabled for 'MyApp.Android'.** ...
2018/02/26
2,725
8,673
<issue_start>username_0: **Please skip and jump directly to my update 4 below. I have summarised the problem in a better way.** I'm using mysql (not sure if I'm using mariadb) When I do a rails db:migrate, I got this error: ``` ActiveRecord::StatementInvalid: Mysql2::Error: Error on rename of './my_database_name/#sq...
2018/02/26
542
2,003
<issue_start>username_0: I have following json to prase and convert to POJO. ``` { "name" : "test", "parameters":[ {"key":"p1","value":["array of strings"]}, {"key":"p2","value": "some string value"} ] } ``` As you can see the parameters key is an array of objects(key value pair) where "value" ...
2018/02/26
483
1,743
<issue_start>username_0: I need to design following design layout with help of Bootstrap 4: [![enter image description here](https://i.stack.imgur.com/JeUHh.png)](https://i.stack.imgur.com/JeUHh.png) My code : ``` A B C ``` My output [![enter image description here](https://i.stack.imgur.com/a2tGw.png)](...
2018/02/26
369
1,434
<issue_start>username_0: I want to get **gps location** in my android project without using google maps. I developed an activity which is **run on emulator** *but not get the location on mobile phones*<issue_comment>username_1: Your problem is covered in [this](https://stackoverflow.com/questions/16227199/mysql-errno-1...
2018/02/26
389
1,478
<issue_start>username_0: I am creating a C# MVC5 Application. I have mentioned session timeout to be 60 minutes in `web.config` but it's not working and sessions break after couple of minutes. Here is the code I added in `web.config`: ``` ```<issue_comment>username_1: Your problem is covered in [this](https://stacko...
2018/02/26
951
3,819
<issue_start>username_0: I want to store a function, or a reference thereto, in a class as member variable. I am aware of both storing a function pointer as well as std::function or boosts equivalent. However, I recently [read](https://stackoverflow.com/questions/25848690/should-i-use-stdfunction-or-a-function-pointer-...
2018/02/26
1,221
3,078
<issue_start>username_0: Say I have two lists `[A, B, C]` and `[D, E, F]` on my hand now. The values in list1 and list2 are in the same range, but I don't exactly know how they match with each other. There is one possibility that `A = D = 1, B = E = 2, C = F = 3`. Based on the condition above, how can I print the res...
2018/02/26
494
1,690
<issue_start>username_0: We have many local gateways installed at different premises. These gateways will host an MQTT broker for connecting all the local services. Then it is required that the local MQTT broker sends this data to two remote MQTT brokers (each hosted with a different party). I have read the documentati...
2018/02/26
429
1,384
<issue_start>username_0: I have 5 entity class in spring. I have to encapsulate these all class in one class and collect all the values of that class in spring controller and send response. If you have any idea please let me know<issue_comment>username_1: You can declare are many bridges as you want with mosquitto. ...
2018/02/26
1,010
2,785
<issue_start>username_0: Here's my code that I've written : ``` public String binary(String s) { String[] a = { "0000","0001","0010","0011","0100","0101","0110","0111", "1000","1001","1010","1011","1100","1101","1110","1111" }; String k = ""; for(int i = 0; i <= s.length() - 1; i++) { ...
2018/02/26
729
2,178
<issue_start>username_0: How to convert string to timezone ? For example, I have string: ``` 2016.9.5 - 16:36 ``` This time is GMT+4, So how to convert to timezone?<issue_comment>username_1: Replace `k+=a[i];` with `k+=a[s.charAt(i) - '0'];` You're using your string index loop variable as an index into `a` rather t...
2018/02/26
767
2,357
<issue_start>username_0: I need following association in my app. ``` User has many role, Project has many user, ``` user1: manager for project 1 & employee for project 2 I am not getting idea about how can I set relationship between these tables and models. **User**, **Role** and **Project** How can I set this up...
2018/02/26
1,121
3,411
<issue_start>username_0: I have a leave system where user select dates *`from`* and *`to`* dates let say `2018-02-26` - `2018-03-03` that is 6 days in total. On our portal it shows all users that is on leave. supposing that this user applied for 6 days leave, How am I going to display this user for 6 days on our portal...
2018/02/26
1,105
3,435
<issue_start>username_0: I'm currently learning JS and working on creating a HTML invoice. I want to take values from three textareas that are entered and then add them to the end of my table (The total is calculated automatically whose function is working fine). Currently I've added blank fields using ``` $("#addrow"...
2018/02/26
156
623
<issue_start>username_0: ``` Android\stripe\res\drawable\ic_unknown.xml : Can't process attribute android:fillColor="@android:color/white": references to other resources are not supported by build-time PNG generation. ```<issue_comment>username_1: I face some similar problem after upgrading android studio , Solutio...
2018/02/26
551
2,022
<issue_start>username_0: I'm trying to multiply 2 values from input box and store it in the last row of that column. The **adding works perfectly** for this but the multiplication does not work. I want to multiply all the row inputs. I got an example for addition why doesn't multiplication work ? I've tried **tot ...
2018/02/26
1,496
4,787
<issue_start>username_0: I have a table full of data that tends to be larger than the screen. I put the table in a DIV and set the "overflow" to "auto" in CSS ``` div.scrolling-comps { width : 970px; height : 800px; overflow : auto; } ``` So the DIV can be scrolled up/down, left right using the browser...
2018/02/26
1,412
4,677
<issue_start>username_0: I have a parent div tag in which I load all my questions at once when my page loads and hide it. Questions are label specific when a **user** clicks on that label, those label specific questions show on the screen ``` ``` Initially, all its display is none ``` .labelsWARDROBE { display:...
2018/02/26
540
1,708
<issue_start>username_0: ``` unset($CFG); global $CFG; $CFG = new stdClass(); $CFG->dbtype = 'sqlsrv'; $CFG->dblibrary = 'native'; $CFG->dbhost = 'my remote db ip address'; $CFG->dbname = 'remote database name'; $CFG->dbuser = '****'; $CFG->dbpass = '**********'; $CFG->prefix = 'mdl_'; $CFG->dboptions...
2018/02/26
360
1,639
<issue_start>username_0: hey guys just wondering if you could help me debug this, this error comes up but only when i add a ui text view to a view controller here is everything i have for the view controller code as you can see i tried dispatchQueue but doesn't do anything. ``` import UIKit class ViewController: ...
2018/02/26
617
2,038
<issue_start>username_0: Issue: Once I assign the document.getElementById function to a variable then invoke it I get the error above. Full Code below But if I replace var $docid = document.getElementById to var $docid = (id) => document.getElementById(id); the html page is able to grab the quiz id and render it the p...
2018/02/26
847
2,208
<issue_start>username_0: I am trying to authenticate for a websocket. In the example in the docs it says if my client nonce is: ``` nonce = 0xf08c98caf1fd82e8cea9825dbff04fd0 ``` then I should *encode* it using base64 to get: ``` target = "8IyYyvH9gujOqYJdv/BP0A==". ``` I'm not sure what I'm doing wrong but I ...
2018/02/26
1,248
4,422
<issue_start>username_0: Let say I have a MySQL table like this: VARCHAR 100 | VARCHAR 100 | VARCHAR 100 [ ID ] [ NAME ] [ NICKNAME ] [ FAVORITE\_COLOR ] 1 <NAME> RED 2 Eric NULL GREEN **I want to select the 2nd row where Nickname is NULL using the following prepared statement in Java:** ``` statement = "SELECT ...
2018/02/26
2,487
8,255
<issue_start>username_0: I am trying a simple program with hibernate but while retrieving data from db i am getting this error. But the insertion is working fine. I have provided the all the annotations properly in the Bean class. Any help will be useful. This is the Bean Class: ``` @Entity @Table(name = "...
2018/02/26
893
3,679
<issue_start>username_0: I like to use google sheets with app script, but the online script ide is a hassle(lags...etc) and does not have many of the conveniences of a desktop ide. Hopefully, Google will make a desktop ide at some point. Does anybody know of a less painful way of making Google app scripts? Are there an...
2018/02/26
629
2,035
<issue_start>username_0: I got errors (*Not Showing CSS*) in my project after deployed to server, it works fine in local .I found same questions like this and tried them all but still im unable to solved . **what i have tried :** [Style bundling not working after IIS deployment (MVC 4)](https://stackoverflow.com/ques...
2018/02/26
394
1,389
<issue_start>username_0: I would like to know how I could fix this code to print a result if the last piece of the input string is a certain letter or print an error if it doesn't match the available letters. I can get everything else to function but this. The error I am getting is: ``` print("Your studying level is: ...
2018/02/26
562
1,995
<issue_start>username_0: We are using EntityFrameworkCore with Identity Server4. After initial setup, the discovery endpoint of identity server (`localhost:6000/.well-known/openid-configuration`) is working fine. When we tried to call the `connect/token` endpoint from postman it gives 400 bad request response. Here is ...
2018/02/26
839
3,170
<issue_start>username_0: This is my code for the file named `LoginBg` in which I have to encrypt the password. How can I get the text from the input field of password and encrypt that using base64 encoding? ``` export default class LoginBg extends React.Component { constructor(props) { super(props...
2018/02/26
831
2,997
<issue_start>username_0: I know an interfaced object is reference counted, so need not to manually free it. But if it has a TObject inherited member, should I manually free this member in the destructor? Consider the following code: ``` program Project2; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils, Syst...
2018/02/26
530
1,763
<issue_start>username_0: ``` def props = readJSON text: [ 'buildName':"${params.buildName}", 'targetRepo':"${params.artifactoryReleases}"] echo props.buildName echo props.targetRepo ``` Getting the following error > > org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any const...
2018/02/26
263
1,054
<issue_start>username_0: I am new to MVC application. I am trying to implement use Model data in view. MVC application consists of separate project for model controller and view.I dont understand how to access Users.cs in Partialviews Details.cshtml since User.cs is in different project within same solution.Thanks<issu...
2018/02/26
459
1,918
<issue_start>username_0: I am creating some circles dynamically in svg and I want to add an `onlick` function to all of them. I know that it can be done like this: , but I am creting the elements like this: ``` newCircle.setAttribute("class","circle"); ...
2018/02/26
798
2,476
<issue_start>username_0: I have the following geojson file: ``` { "type": "FeatureCollection", "features": [{ "type": "Feature", "properties": { "LINE": "RED", "STATION": "Harvard" }, "geometry": { "type": "Point", ...
2018/02/26
792
1,963
<issue_start>username_0: I have a dataset looks like : ``` time type amount 1 2017/1/1 0:00 income 729.64 2 2017/1/1 0:05 income 1465.15 3 2017/1/1 0:10 outcome 1456.07 4 2017/1/1 0:15 outcome 1764.28 ... 289 2017/1/2 0:00 income 719.64 290 2017/1/2 0:05 income 165....
2018/02/26
460
1,586
<issue_start>username_0: ``` $scope.stringArray = new Array(); angular.forEach($scope.questions, function(value, key){ if(value.type == 'select') { var string = value.value; console.log(string) //"This is item"; for(var i =0; i < string.length; i++){ $scope.stringArra...
2018/02/26
425
1,132
<issue_start>username_0: How to get `utf-8` in `json_encode` php when convert from array to string ? This is my code for `test.php`: ``` PHP session_start(); include("connect.php"); $word = mysqli_real_escape_string($db_mysqli,$_GET['word']); $xx = array(); $xx[] = $word; $xx[] = $word; $xx_1 = json_encode($xx); pri...
2018/02/26
883
2,977
<issue_start>username_0: I am writing units test. I put all of the test files in other directory. Let's say the folder mypack. There two files in the folder fun1\_test.go and base.go. The base.go has same common basic functions which are called by fun1\_test.go. The base.go looks like: ``` package mypack_test impor...
2018/02/26
1,324
2,184
<issue_start>username_0: I have two files: file1.txt: ``` samplefolder_appendtext.txt [ 1.23 34.2 12.4 5.34 56.3 12.2 24.1 1.42 21.4 1.24 42.1 12.4 12.4 56.5 2.53 1.24 4.64 2.23 1.42 1.42 1.45 12.4 45.2 12.4 35.2 ] ``` appendtext.txt: ``` 1.12 34.1 12.4 53.1 12.3 12.4 45.2 23.2 12.4 34.1 34.5 56.3 12.2 34...
2018/02/26
516
1,951
<issue_start>username_0: I am using Gii generated CRUD . There is a column `last_updated` which default set to `CURRENT_TIMESTAMP` in phpmyadmin. when I create the row row it takes current Date and time . But when I Update the row it takes the previous date and time (date n time when row creted). I want , when I up...
2018/02/26
349
1,185
<issue_start>username_0: Go build touches ~/.cache which is undesirable. How can I change the location of this directory?<issue_comment>username_1: > > The cache defaults to the operating system-defined user cache > directory but can be moved by setting $GOCACHE. > > > Source: [article from rsc](https://groups.g...
2018/02/26
545
1,941
<issue_start>username_0: I have this class: ``` public class Person { public String name; public int score; public float multiplier; public Person(String nameID) { name = nameID; score = 0; multiplier = 1.0f; } } ``` And I have a List containing these classes: ``` pr...
2018/02/26
498
1,412
<issue_start>username_0: How can I use regex to store the matches into variables in R? For instance my strings: ``` "1 win & 1 nomination." "1 win & 1 nominations." "1 wins & 1 nomination." "1 win" "21 nominations." ``` I want to store the number of wins and nominations for later use expected output for the sampl...
2018/02/26
636
2,240
<issue_start>username_0: What is difference between both class naming conventions, both resulting in the same output? ``` class class_name: def func(): print('1st class') class class_name(): def func(): print('2nd class') ```<issue_comment>username_1: The syntax with parenthesis defines an in...
2018/02/26
909
3,240
<issue_start>username_0: I want to know if perl has some try catch mechanism similar to python where i can raise user defined exceptions and handle accordingly. **PythonCode:** ``` try: number = 6 i_num = 3 if i_num < number: raise ValueTooSmallError elif i_num > number: ...
2018/02/26
395
1,309
<issue_start>username_0: I have a table in Database as below : ``` Id Name 1 Item1 1 Item2 2 Item3 1 Item4 3 Item5 ``` I need output as below(3rd column is count): ``` 1 Item1,Item2,Item4 3 2 Item3 1 3 Item5 1 ``` How it can achieved by SQL Query ?<issue_comment>user...
2018/02/26
577
2,001
<issue_start>username_0: I have 3 nodes, running all kinds of pods. I would like to have a list of nodes and pods, for an example: ``` NODE1 POD1 NODE1 POD2 NODE2 POD3 NODE3 POD4 ``` How can this please be achieved? Thanks.<issue_comment>username_1: You can use `kubectl get pods --all-namespaces` to list all the po...
2018/02/26
609
2,182
<issue_start>username_0: Two divs are there one containing the other. I want the parent to have an height more than 5px of the containing child. The contents in the child is dynamic. Can i achieve this using css? Edit : Without adding padding/margin to the parent div, can i achieve this? ```css .parent { backgroun...
2018/02/26
765
2,588
<issue_start>username_0: I am trying to disable previous days on a calendar using minDate: 0 but for some reason, its not working, here is my code; ``` $(document).ready(function () { var arrDisabledDates = {}; arrDisabledDates[new Date('02/22/2018')] = new Date('02/22/2018'); arrDisabledDates[new Date('02...
2018/02/26
725
2,063
<issue_start>username_0: I have been struggeling with building a query in access that calculates a "rolling 4 months" of sales data. I have been experimenting with DSUM, but I only seem to be able to get the subtotal or running total for a specific group (not a moving total). I have tried to illustrate what I am trying...
2018/02/26
710
2,129
<issue_start>username_0: The book that I am learning JS from has code like below : ``` function check(e) { if (!e){ e = window.event; // for IE } var target = e.target || e.srcTarget; if (**e.preventDefault**){ e.preventDefault() ; } target.returnValue = false; } var el = document.getElementById("list"); ...
2018/02/26
831
3,286
<issue_start>username_0: There is probably an easy answer to this, I just can't find it and I'm new to C#. Using Visual Studio, I've written a function that writes text to a file **asynchronously** (using async/await, and does not return anything), but it is called near the end of my program (that I'm testing it with)...
2018/02/26
837
2,959
<issue_start>username_0: I've google fews hours how to change my UISearchBar font size & color, but I cannot any documents related to it. This is what I've done so far on swift 4: ``` searchBar = UISearchBar(frame: CGRect(x: 0, y: 0, width: view.frame.width - (menuImage.frame.width + iconImage.frame.width + 55), hei...
2018/02/26
553
2,125
<issue_start>username_0: I am quite new to access and sql. Trying to convert the data in my recordset into an array (Excel VBA) so that I could work with the data without pasting the data on a spreadsheet. Did some research and most sites mentioned that GetRows function would work but I got an run-time error '3021'. ...
2018/02/26
3,461
17,084
<issue_start>username_0: I am working on a project for a Udemy course on learning Python. The goal is to create a tic tac toe game and whenever I run the script for some reason running the game when I chose where to put either marker on the board I get the error: ``` Traceback (most recent call last): File "C:\Users\z...
2018/02/26
1,848
9,158
<issue_start>username_0: I am using below command to run one `jmx` script in non-gui ``` jmeter -n -t "test.jmx" -r -l "testLog.csv" ``` I have a requirement to run like 5 scripts simultaneously in the same way. Could you please help me with the correct command?<issue_comment>username_1: As <NAME> has pointed out. ...
2018/02/26
1,407
4,769
<issue_start>username_0: I am using greendao 3.2 and making Entities and database. Its all working fine. But I am having trouble when creating Id property that must be Auto increment. I know How to do it in SQL but using greendao its giving me much more tough time. I have declared my entities as normal. let me give ...
2018/02/26
521
1,669
<issue_start>username_0: Is there any python library to generate ean128 barcode. I tried 'python-barcode' , but in that library there is no option for ean128.<issue_comment>username_1: I think that `EAN 128` is the same thing as `Code 128` (<https://en.wikipedia.org/wiki/Code_128>). It seems to be supported by [python-...
2018/02/26
4,499
16,892
<issue_start>username_0: I am asking this question because I've already found questions which are about this issue - but in my case I cannot find any alias or column name being too long. This is the line where the Entity gets saved (CSVService line 262 - you will see that the Exception points to this line): ``` l...
2018/02/26
413
1,488
<issue_start>username_0: i want to print the Data types of a list all at once. I have a mixed Data types in a list, like integers, strings and Alphanumeric values. I am able to get it individually but i am not able to get it all at once.<issue_comment>username_1: The ORA-00972 says identifier is greater than 30 charact...
2018/02/26
1,077
3,538
<issue_start>username_0: I'm running this in Java: ``` Runtime.getRuntime().exec("wmic bios get SerialNumber"); ``` and when I read the output of that command, the line separator is not the expected `\r\n`, but instead, `\r\r\n`. The output of that command on `cmd` looks like this: ``` C:\Users\pupeno>wmic bios get...
2018/02/26
913
3,341
<issue_start>username_0: I decided to upgrade from 5.5 to Optaplanner 7.5 Nurseroster but have run into a number of silly issues. Below is one. The routine I previously used is below. Now however the new version requires LocalDate. I have an MySql database back-end and the users select the roster schedule planner via a...
2018/02/26
1,129
4,379
<issue_start>username_0: I've been coding TypeScript for a few years now. I've seen it evolve and improve so much with every release. Still, all this static typing perfection falls apart with casts. Despite coding in TypeScript so much, I still don't understand how to **avoid casting** in functions that generate objec...
2018/02/26
483
1,703
<issue_start>username_0: I want my modal to show as a popup after every 5 seconds without triggering the button, but I am unable to do it. I used jquery function show and setTimeout but it works only the first time the page is loaded This is my jquery: ``` $(document).ready(function(){ setTimeout(function(){ $('#m...
2018/02/26
1,862
4,777
<issue_start>username_0: I want to see what value is stored in a1 and b1 but I get only "xxxxxx" as output. Why? My code is designed to take values of a and b which are 4 bit signed numbers. I am using intermediate variables a1 and b1 to make 2's complement of those numbers if the MSB of a or b is 1 otherwise use the ...
2018/02/26
396
1,600
<issue_start>username_0: I was trying to call jQuery.submit() function after ajax response. Where ajax response contains a form. But it couldn't call jQuery.submit() function when i submit the form without refresh. I prepend the form with the existing code after successfull ajax response ``` success: function(data) {...
2018/02/26
2,404
6,748
<issue_start>username_0: ``` from tkinter import * import tkinter.messagebox def message(): text='''sfjkasjdfkjasdfjsdjfjsdlfjasd fjsdkfjksadjfsajdjfl sdfasdjflsjdlfsldjflsjd''' tkinter.messagebox.showinfo("showing",text) def _price_inputs(): win2 = Tk() win2.title("Transac...
2018/02/26
1,952
5,432
<issue_start>username_0: I want to ask how to get the text from element where didnt have unic id/class, i tried using xpath(copied from web browser) but it's not working this is the picture. ![this is the picture](https://i.stack.imgur.com/wnyWL.png)<issue_comment>username_1: You haven't call function in which you hav...
2018/02/26
541
2,544
<issue_start>username_0: I have implemented FCM push notification in my android application. Push notifications are received under normal circumstances. My scenario is: 1. Turn off the phone. 2. Send the FCM push notification to the Token generated using `FirebaseInstanceId.getInstance().getToken()` 3. Turn on the pho...
2018/02/26
327
1,210
<issue_start>username_0: I use `CSV Data Set Config` in `JMeter` to provide username/password data to testsuite. In some cases it reads `%3CEOF%3E` from file instead of data. File is located in `/bin` folder. Structure of file: ``` username1,password1 username2,password2 ``` There isn't any empty lines at the end o...
2018/02/26
530
1,877
<issue_start>username_0: I'm trying to invoke a Lambda function and return a Promise on finish, but i get the following error: > > "createUser(...).then is not a function" > > > ``` const createUser = (phone) => { return lambda.invoke({ FunctionName: 'createUser', Payload: JSON.stringify({"phone": phon...
2018/02/26
372
1,402
<issue_start>username_0: I had trouble pushing to GitHub so I updated git for Windows 10. according to the GUI I downloaded I have the latest version and I can push to GitHub from it. However I don't normally use this and prefer the command line. The command line still says i have the old version of git and is not dete...
2018/02/26
1,724
7,186
<issue_start>username_0: I am building an app in Reactjs. I have to make fetch call, after verifying the access\_token. On signup, access\_token are acquired from back-end server. But, where to store these access\_token. Is there any way of making these access\_token global, so that all component can access it. I have ...
2018/02/26
1,647
6,115
<issue_start>username_0: I have included `FormsModule` but it showing me error. ``` There is no directive with “exportAs” set to “ngForm” ``` My Login.component.ts :- ``` import { Component } from '@angular/core'; import { Http, Response , RequestOptions , Headers , URLSearchParams } from '@angular/http'; import ...
2018/02/26
446
1,472
<issue_start>username_0: ``` var d1 = new Date("02/22/2018"); var d2 = new Date("02/22/2018"); if(d1 == d2){ } ``` \*\* - this is not working. its always return false. but if I write a condition as bellow then its working fine.\*\* ``` if(d1 <= d2 && d1 >= d2){ } ```<issue_comment>username_1: It was node...
2018/02/26
327
1,199
<issue_start>username_0: I have got a Heap Dump file of *Size 10GB in Hprof format* from production system. I tried analyzing it with MAT, Jvisual VM and Jprofiler. I have to conduct analysis of the same for memory issue and bottleneck. The loading of file hangs application in middle and then I have to restart syste...