date stringlengths 10 10 | nb_tokens int64 60 629k | text_size int64 234 1.02M | content stringlengths 234 1.02M |
|---|---|---|---|
2018/02/27 | 360 | 1,244 | <issue_start>username_0: I want to unsubscribe the observable, shall i use the first() operator for unsubscribe?
Example below,
```
Rx.Observable.interval(100)
.do(x => console.log(x))
.first()
.subscribe(x => x);
```
Is the above code will do automatic unsubscribe or need to do anything?<issue_comment>username_1: ... |
2018/02/27 | 598 | 2,204 | <issue_start>username_0: In my file download API case an error like this.
```
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:380)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.ja... |
2018/02/27 | 1,329 | 5,261 | <issue_start>username_0: In a sequence diagram, when should a message originate from an *occurrence specification* and when should it originate from an *execution specification*?
Likewise, when should the message's target be each of the two?
**Clarification of terms**
I understand that the terms *occurrence specific... |
2018/02/27 | 314 | 1,088 | <issue_start>username_0: I have to extract the rows where the **created\_at** is inside the week. Unfortunately, only one line is extracted from me and no more lines as I expected. Why?
**Query:**
```
$scadenze = DB::table('processi')
->leftJoin('scadenze', 'processi.id', '=', 'scadenze.processo_id')
->where('resp... |
2018/02/27 | 318 | 1,378 | <issue_start>username_0: I have a class (Model) an object of which serves as a blueprint for (short-lived) objects of another class (ModeledRelation). Model defines an event ModeledRelation always subscribes to in order to be notified when Model changes, so ModeledRelation objects can reflect these changes 1:1.
Now Mo... |
2018/02/27 | 428 | 1,498 | <issue_start>username_0: Is it possible to declare a UTF-8 CLOB if the database is set up with the following character sets?
```
PARAMETER VALUE
NLS_CHARACTERSET CL8ISO8859P5
NLS_NCHAR_CHARACTERSET AL16UTF16
```
I tried passing a charset name to the declaration, but it looks like it can only ac... |
2018/02/27 | 1,339 | 4,124 | <issue_start>username_0: ```
#import
@implementation Foo
+ (void)test
{
[Foo performSelector:@selector(foo)];
[Foo performSelector:@selector(foo) withObject:@"works"];
[Foo performSelector:@selector(foo1)];
[Foo performSelector:@selector(foo2)];
}
+ (BOOL)resolveClassMethod:(SEL)sel
{
NSLog(@"resolveClassMetho... |
2018/02/27 | 466 | 1,409 | <issue_start>username_0: I write a php code to save the input posted value, it send to the same page. The matter is here nothing will posted.
The code is Bellow:
```
paid code:
php
if(empty($\_POST["pcode"])){
echo "<br/ This Field Cannot Be Empty";
}
else{
$num = $\_POST["pcode"];
# To get a shorter version... |
2018/02/27 | 530 | 2,100 | <issue_start>username_0: As you know that there are three concepts in Sql Server:connection, session and request.
We can monitor them with `sys.dm_exec_connections, sys.dm_exec_sessions, sys.dm_exec_requests` system views.
Could you explain difference among them with samples?<issue_comment>username_1: Connection is P... |
2018/02/27 | 762 | 2,648 | <issue_start>username_0: On an assignment I had to make a recursive binary search algorithm output the index instead of True/False without modifying the parameters. I had a really tough time but after resorting to semi-trial-and-error I stumbled upon this mess:
```
#include
#include
#include
using namespace std;
... |
2018/02/27 | 824 | 2,761 | <issue_start>username_0: Situation
=========
* I need to calculate the day count between two dates
* Not all days are counted, only given days (e.g. monday, thursday, friday)
* The list of given days is variable
* The list if a `boolean[]` of the size `7`, whereas each position in the array will have the value `true` ... |
2018/02/27 | 2,158 | 5,450 | <issue_start>username_0: I want to Cythonize portion of a `pyx` script which involves work with numpy arrays with complex numbers. The relevant portion of the python script looks like this:
```
M = np.dot(N , Q)
```
In my work, `N`, `Q` and `M` are numpy arrays with complex number entries.
Specifically, I want to ... |
2018/02/27 | 1,203 | 4,398 | <issue_start>username_0: I'm learning reactjs+redux-thunk and implemented the following modified code (copied original from another site):
```
//reducers/items.js
export function itemsHasErrored(state = false, action) {
switch (action.type) {
case 'ITEMS_HAS_ERRORED':
return action.hasErrored... |
2018/02/27 | 363 | 1,239 | <issue_start>username_0: This is my object
```
"filterValue":[
{"label":"--Select a Member--","value":""},
{"label":"ghi.jkl","value":{"Id":"1",}},
{"label":"abc.def","value":{"Id":"2",}},
{"label":"asd.vdf","value":{"Id":"3",}},
]
```
from this i want to search where value.Id = 2 and i want to remove that obe... |
2018/02/27 | 336 | 1,143 | <issue_start>username_0: I was able to successfully install Lando and Docker for windows. I am able to init the directory with `lando init pantheon` and then did a `lando start` command. And I imported the database from pantheon. How do I view the site on localhost?<issue_comment>username_1: This probably can be resolv... |
2018/02/27 | 823 | 3,201 | <issue_start>username_0: I am using onListItemClick with simple\_list\_item\_1
```
public class DrinkCategoryActivity extends ListActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ListView listDrinks = getListView();
ArrayAdap... |
2018/02/27 | 935 | 3,629 | <issue_start>username_0: I'm trying to call a JS function (API call) in Angular . I first tried it in HTML/JS where everything worked, but now in Angular it doesn't.
In my app.component.html I made a button, which should call a function in the ts file.
```
Login with Facebook
```
In my app.component.ts I got the fu... |
2018/02/27 | 866 | 3,106 | <issue_start>username_0: I have a backend interface which I invoke with my Angular 1.3 application without problems. With my Angular 5 application I get an HTTP 403 (Forbidden)
I faced the request parameters in an picture (Angular 1.3 at the left side, Angular 5 at the right side):
[ at a time.<issue_comment>username_1: I have specified the connection strings for the Excel files of both 2003... |
2018/02/27 | 1,144 | 4,675 | <issue_start>username_0: 1.Php code is as follows and i do not have an auto increment field
full error description
>
> ERROR: Could not able to execute INSERT INTO employee( emp\_name, rate,
> ifsc\_code, acc\_num, acc\_holder\_name) VALUES ( '', '', '', '', '').
> Incorrect integer value: '' for column 'rate' at r... |
2018/02/27 | 851 | 2,528 | <issue_start>username_0: I thought the `#methods` method would list all methods in a class.
Why aren't `to_i` and `to_f` appearing when I type `String.methods.sort`?
`to_i` is supposed to convert a String into an integer and `to_f` -
convert a string into a float.
```
String.methods.sort
[:!, :!=, :!~, :<, :<=, :<=>... |
2018/02/27 | 472 | 1,771 | <issue_start>username_0: I've released several paths:
1) Recording video with <https://caniuse.com/#feat=html-media-capture>
But it works only on iOS and cannot be customizable. I need to render a red frame over the video preview layer and limit video length to 30 seconds.
2) Recording with a WebRTC client placed on ... |
2018/02/27 | 812 | 2,629 | <issue_start>username_0: This is my code and I'm struck in filtering the date. I need to save the date and time info of `User(<EMAIL>)` email for last 30 days from now. have to be saved that info(time & date) in Excel sheet
```
Set ObjO = CreateObject("Outlook.Application")
Set olNs = ObjO.GetNamespace("MAPI")
Set ob... |
2018/02/27 | 462 | 1,604 | <issue_start>username_0: Hi I have struck in a issue that appending a special character to a variable that contain the value from a `textbox`. I have used `.append()` function to append a character but I getting error in console as append is not a function can anyone help me out from this issue
```
```
jquery
------... |
2018/02/27 | 777 | 2,563 | <issue_start>username_0: ```
String[] daysList = {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
```
Now given input string is
```
String getRoutePlanDay = "Thu";
```
So the output should be
```
output: "Thu", "Fri","Sat","Mon" ,"Tue","Wed".
```
Similarly for eg: If given string is
```
String getRoutePlanDay = "F... |
2018/02/27 | 1,406 | 4,190 | <issue_start>username_0: I'm still very new to programming, and have bumped into an issue that I'm sure is very basic.
So what I'm trying to do, is use functions that I defined in one .h-file, and then wrote out in the .cpp-file belonging to that .h-file, in another .cpp-file. Is this possible?
**Date.h file:**
```
... |
2018/02/27 | 1,466 | 5,214 | <issue_start>username_0: I am accessing different websites to practice web scraping and trying to web scrape the following website - <http://www.pizzahut.com.cn/StoreList>
I have posted a similar question previously on web scraping the same website. The answer provided worked perfectly well allowing me to extract all ... |
2018/02/27 | 312 | 1,242 | <issue_start>username_0: I have a small front-end project with javascript running on firebase hosting and I have to call the build script manually before every time I run `firebase deploy`. So I was looking for a way to put it in a pre-deploy script but there's no such thing in firebase CLI documentation.
So anyone has... |
2018/02/27 | 633 | 2,035 | <issue_start>username_0: I'm looking for an elegant way of accessing two items in a `Seq` at the same time. I've checked earlier in my code that the `Seq` *will* have exactly two items. Now I would like to be able to give them names, so they have meaning.
```
records
.sliding(2) // makes sure we get `Seq` with two i... |
2018/02/27 | 799 | 2,076 | <issue_start>username_0: Maybe has been asked before, but I can't find it.
Sometimes I have an index I, and I want to add successively accordingly to this index to an numpy array, from another array. For example:
```
A = np.array([1,2,3])
B = np.array([10,20,30])
I = np.array([0,1,1])
for i in range(len(I)):
A[I[i... |
2018/02/27 | 349 | 1,217 | <issue_start>username_0: How to get `ColumnIndex` of a `Column` by `ColumnName` from a `DataGridView`?
Here's the pseudo-code:
```
ColumnIndex = ColumnName("SampleName");
```<issue_comment>username_1: You can use `IndexOf`. Like this:
```
var dataGridViewColumn = dataGridView1.Columns[ColumnName];
if (dataGridView... |
2018/02/27 | 847 | 3,120 | <issue_start>username_0: I have a question.
[](https://i.stack.imgur.com/l98Ur.png)
Here's My inspector Window.
In case of On Click() window, I'd like to set parameter that is type of Enum.
not string or int.
In other words, I'd like to use
void G... |
2018/02/27 | 567 | 1,978 | <issue_start>username_0: I have MySQL queries that generate lists that they are actually links to other PHP scripts like deleting a record etc.. and looks like this:
```
[Title A](delete_record.php?id=1)
[Title B](delete_record.php?id=2)
[Title C](delete_record.php?id=3)
...
[Title n](delete_record.php?id=xyz)
```
W... |
2018/02/27 | 2,336 | 8,289 | <issue_start>username_0: For example, I have a compiled binary `cudaDeviceQuery` which returns a list of devices as JSON. Here's a piece of code:
```
export default function cudaDeviceQuery(): Promise {
const throwError = () => {
throw new Error("Unfortunately your platform isn't yet unsupported");
};
const file ... |
2018/02/27 | 816 | 2,746 | <issue_start>username_0: for example i have transaction table
```
id_transaction|description|id_operator
1 |foo |21
2 |fooo |21
1 |oof |20
```
and the operator table like this
```
id_operator|operator_name
20 |op1
21 |op2
```
how can i query... |
2018/02/27 | 8,275 | 14,150 | <issue_start>username_0: I'm trying to make a similar plot to Fig. 2d-f in an [article published on Nature](https://www.nature.com/articles/nature25479) this year. It's basically a half boxplot with points on the other half.
Can anyone give me some hints? Thank you very much!
[ to build my Vue app using webpack. My application is served by Firebase.
For SEO purposes, I need to serve the file robots.txt at the root of my application (`GET /robots.txt`).
How can I configure webpack/vue-loader to serve this file ?
T... |
2018/02/27 | 422 | 1,820 | <issue_start>username_0: I want to make my app more responsive when there are problems with getting data from server.
Right now I am using Reachability library to check access to Internet but i think that it is not enough. Sometimes server can handle request for long time or even be down and not responding.
In cases ... |
2018/02/27 | 606 | 2,185 | <issue_start>username_0: I'm trying to declare an int that has an equivalent of a string like if you have an option between numbers 1-3 and if you choose 1 it will be equal to strawberry or 2 for apple 3 for banana and how do i call the string equivalent of it? This is my Code:
```
public class RockPaperScissors {
... |
2018/02/27 | 245 | 778 | <issue_start>username_0: I would like to be able to switch Python version permanently, in OS-wide manner and reboot tolerant, is it possible?
I don't want to use usual `activate` approach, which shows environment in command line prompt.<issue_comment>username_1: You can use a Map:
```
Map myMap = new HashMap<>();
m... |
2018/02/27 | 801 | 2,141 | <issue_start>username_0: I have an image on google drive and I would like to use that inside my html code.
[Image on Google Drive](https://drive.google.com/file/d/1BXGs4wvPdiz1JHoEuSkMMLbjaRN0od5a/view)
I give this url inside `css background-image: url()` but which is not loading the image.How can i fix this?.I'm adde... |
2018/02/27 | 774 | 2,140 | <issue_start>username_0: Hi I have a $row2 and I only need to echo the first index but there's something wrong with my syntax. $row2 has 5 values and I only need to echo the first.
```
php
$diag = " SELECT walkindetails.IntID, intervention.IntName FROM walkindetails INNER JOIN intervention on walkindetails.IntID = i... |
2018/02/27 | 1,029 | 3,691 | <issue_start>username_0: I'm fairly new to game programming, and made a simple platformer game with JS.
```js
(function() {
var requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
window.requestA... |
2018/02/27 | 779 | 2,909 | <issue_start>username_0: I learn how to use ModelMapper by official documentation <http://modelmapper.org/getting-started/>
There is code sample for explicit mapping using java 8
```
modelMapper.addMappings(mapper -> {
mapper.map(src -> src.getBillingAddress().getStreet(),
Destination::setBillingStreet);
ma... |
2018/02/27 | 1,122 | 3,521 | <issue_start>username_0: I made a small webpage that takes information from the "Yahoo Weather" API and displays it in divs on the page.
This is the JS:
```js
const url = 'https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20... |
2018/02/27 | 1,763 | 5,048 | <issue_start>username_0: I have a Dataset which has below Below Cols .
```
df.show();
+--------+---------+---------+---------+---------+
| Col1 | Col2 | Expend1 | Expend2 | Expend3 |
+--------+---------+---------+---------+---------+
| Value1 | Cvalue1 | 123 | 2254 | 22 |
| Value1 | Cvalue2 | 124... |
2018/02/27 | 715 | 1,779 | <issue_start>username_0: Very popular answer but my one differs from others.
I have a list:
```
s = [(1, 2, 3),
(4, 5, 6),
(7, 8, 9)]
```
I need without another lists combine my lists inside and make one big list.
I need them to be string so I do
```
[map(str, x) for x in s]
```
But in this way I get `... |
2018/02/27 | 916 | 2,701 | <issue_start>username_0: I want to know how to calculate agnle between 2 lines at intersection point.
Please see following image. Here Red line is crossing Green line how can i calculate that angle.?
[](https://i.stack.imgur.com/Wuz0y.png)<issue_comm... |
2018/02/27 | 443 | 1,636 | <issue_start>username_0: Why when I click on the submit button for the first data it just entered in the database but it is not in the page view. after that click again once the data is entered in the page, but when I check the database, the data is two of the same. how about.
```html
php
include 'xx.php';
?
| **... |
2018/02/27 | 907 | 3,419 | <issue_start>username_0: I have a for loop that iterates over a fair few items.
At the start of each iteration I use the same `var newObj = new ...`
However, I'm wondering, is this completely replacing that object each time or should I be releasing it at the end of each iteration.
If I should release - how do I do... |
2018/02/27 | 788 | 3,028 | <issue_start>username_0: I am trying to add if statemenet into $html variable. But it see php as a html tag. how can add this statement. Thanks
```
$html = '
php if (x=y):?
Help me )
php endif ?
';
```<issue_comment>username_1: Short answer: no.
Slightly longer answer: There is no manual memory manageme... |
2018/02/27 | 853 | 3,301 | <issue_start>username_0: [onchange event search() function is calling which is sending requests to GoodReadApi](https://i.stack.imgur.com/FwTF6.png)
[](https://i.stack.imgur.com/FwTF6.png)
I am new to Javascript and react js and I wanted to execute m... |
2018/02/27 | 844 | 2,881 | <issue_start>username_0: Currently the form data is passed via the URL, like below.
```
document.getElementById('newChildForm').action = "./populateImageProcessing?personId="+ temp+ "&category="+ strUser+ "&fromDate="+ frmDate+ "&toDate=" + toDate+"&advFromDayID="+advFromDayID+"&advFromMonthID="+advFromMonthID+"&advFr... |
2018/02/27 | 723 | 2,332 | <issue_start>username_0: Say, I have a table with three columns and two rows:
```
x y my_type
---------------------
4 0 a
2 1 a
1 0 b
```
Here is what I'm trying to accomplish: in each of `my_type`, return *a* row with the minimal `x` coordinate.
The following SQL query
```
... |
2018/02/27 | 762 | 2,755 | <issue_start>username_0: I am providing a web-component that is displayed inside a iframe. The iframe that loads my component is created like:
```
this._iframe = document.createElement( "iframe" );
this._iframe.allowtransparency = "true";
this._iframe.src = url;
```
When my component is no longer needed, it... |
2018/02/27 | 570 | 1,664 | <issue_start>username_0: i am getting segmentation fault while writing data into file. here is code
```
int arr[N]; // where N = 1508065
f = fopen( "datafile.txt", "w" );
if (f == NULL)
{
printf("Error opening file!\n");
exit(1);
}
for( i=1;i<=N;i++)
{
arr[i]=rand()%100;
fprintf(f, "%d... |
2018/02/27 | 711 | 2,676 | <issue_start>username_0: ```js
var typeTemp = document.getElementById("demo3");
document.getElementById("f").addEventListener("click", function(){
var tValue = parseFloat(typeTemp.value); // allows the number to be functional
document.getElementById("Fanswer").innerHTML = (1.8 * tValue) + 32;
});
docume... |
2018/02/27 | 469 | 2,109 | <issue_start>username_0: Is it possible to have two tables with the same name in different schema in MSSQL?
For example ***dbo.tableX dbo2.tableX*** ?
If I try it in console doctrine:schema:validate, I get exception "Table with name DB.tableX already exists". It looks as if Doctrine is ignoring database schema.
Each... |
2018/02/27 | 766 | 2,439 | <issue_start>username_0: i have a problem with my php script.
```
php
error_reporting(-1);
ini_set('display_errors', 1);
$output = "";
$befehl = exec('./start.sh', $output);
var_dump($output);
?
```
This is my shell script:
```
#!/bin/sh
echo "<NAME>"
echo "Hal<NAME>..."
cd /home/support/projects/big/
bash sta... |
2018/02/27 | 1,283 | 5,050 | <issue_start>username_0: I was using SQL Server 2014 earlier. When I am trying to execute the following query
```
EXECUTE msdb.dbo.sp_send_dbmail
@profile_name = "Mail"
,@recipients = "<EMAIL>"
,@from_address = "<EMAIL>"
,@execute_query_database = "EYE"
,... |
2018/02/27 | 458 | 1,779 | <issue_start>username_0: I recently started looking to Angular 4. I have created my project using Angular CLI. I was wondering how do we compile an existing `style.sass` to `style.css` since the CLI uses `webpack` as a default.
In my `angular-cli.json`, I have mentioned `default styles: sass`. Not sure where to go fr... |
2018/02/27 | 1,061 | 4,376 | <issue_start>username_0: I have a problem about changing image when audio is finished. How i change the image of cell ? Please help me. I printed "Done" with 'audioPlayerDidFinishPlaying' but i dont know how to control the cell image or etc.
```
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexP... |
2018/02/27 | 556 | 1,418 | <issue_start>username_0: I want to delete the first, third, fifth and sixth columns of this text file:
```
10 11 12 46 48 39
20 21 22 34 23 24
30 31 32 78 29 38
40 41 42 21 43 12
```
My code looks like this:
```
f = open("Exercise2.txt", "r")
g = open("Output.txt", "w")
for line in f:
if l... |
2018/02/27 | 563 | 1,710 | <issue_start>username_0: Working with MySQL and I can't find the right combination of terms for this expression.
Using a PHP user input variable in my statement, I need to find a partial substring match and group by the full match word
Taking example input *"#bea"* I want to find matches for *"#bea"* as a substring i... |
2018/02/27 | 540 | 1,675 | <issue_start>username_0: When I execute the code, it print" function aa in 0x0000... "and all.
I want it to print aa,a,b,c,d,. Is it possible?
Sorry for the stupid question, thanks a lot.
```
def main():
lunch = {
0: aa,
1: a,
2: b,
3: c,
4: d,
}
for i in rang... |
2018/02/27 | 467 | 1,590 | <issue_start>username_0: I was struggling to do basic operations on disk, an `init` command couldn't find Z: and the usual `Z:` command didn't let me change to disk Z:
After a while I realized I only had this problem with the command prompt as administrator and the regular cmd worked fine.
Why is that? I was using a... |
2018/02/27 | 957 | 2,642 | <issue_start>username_0: What I currently have:
```
ID FROM_REF TO_REF
--- -------- ----
1 1 10
1 2 3
1 3 4
1 3 5
1 5 6
1 6 7
1 7 9
1 8 11
1 9 8
1 10 2
```
What's needed is the SORT column which I can use to sort according late... |
2018/02/27 | 424 | 1,524 | <issue_start>username_0: I am running a **CentOS 6.9 OS**. I have **Apache/2.2.15 (CentOS)** Server running. I have a *cakephp 2* application that I want to run here. I have an `index.php` file inside `/var/www/html` that runs perfectly. I have another folder called test inside `/var/www/html`.
Inside that folder ther... |
2018/02/27 | 886 | 2,970 | <issue_start>username_0: I use the following python code to get list of jpg files in nested subdirectories which are in parent directory.
```
import glob2,os
all_header_files = glob2.glob(os.path.join('Path/to/parent/directory','/**/*.jpg'))
```
However, I get nothing but when I cd into the parent directory and... |
2018/02/27 | 450 | 1,686 | <issue_start>username_0: so created a new method in my controller called new\_consultation and tried to redirect to it but it shows a blank page. When i try to use the default methods like create, show, edit and delete they work properly and display as expected.
My Controller
```
public function new_consultation() {
... |
2018/02/27 | 523 | 1,869 | <issue_start>username_0: I am new to Codeigniter and have two small question
1: How can I pass two table data array to view?
```
$data['customers']=$this->customer_model->get_all_customers();
//$products['product']=$this->customer_model->get_all_categories();
//$this->load->view("customer_view",$data... |
2018/02/27 | 380 | 1,548 | <issue_start>username_0: I develop right now a small flutter app. I think as everyone, I fell in love with the hot reload feature.
So now I'm wondering if there is any possibility to have the same developer experience during unit test. Do have to turn a flag somewhere or is it right know just no possible.
If is not ... |
2018/02/27 | 235 | 793 | <issue_start>username_0: i am do searching in codeigniter an its work using this query
```
$this->db->where("(h_name LIKE '".$term."%' )");
```
i would like to advanced this search like dataTable in codeigniter any way to improve the query serch all letter from the word please help me?<issue_comment>username_1: You ... |
2018/02/27 | 439 | 1,358 | <issue_start>username_0: Currently we are developing an Image browser Using Unity on Android platform。
We use Unity 5.5 first and use WWW.texture function to load external images stored in sdcard, WWW.texture funtion work fine in Unity 5.5 and the Image is clear to show(Image size is 5000\*10000).
Now we upgrade Unit... |
2018/02/27 | 818 | 2,799 | <issue_start>username_0: I am fairly new to Cython and haven't done any C in a long time, so this may be fairly obvious, but I don't know how to go about doing it. Consider the simple example of a binary tree:
```
ctypedef struct binary_node_t:
double value
binary_node_t[2] * children
```
Sure, I could just ... |
2018/02/27 | 966 | 3,668 | <issue_start>username_0: Can I inherit my class from a generic type `T`?
For example:
```
public abstract class BasePage : T, IDisposable where T : Page
{
// Realization
}
```
I need to do this to provide basic functionality to other types of pages.
```
public class ContentBasePage : BasePage
{ }
public class Ta... |
2018/02/27 | 702 | 1,969 | <issue_start>username_0: I want make a def get day when you input the day. We have 5 day working in week except weekend.
Ex: to day : 27/02/2018
you input: 3 -> out put: 02/03/2018
you input: 5 -> out put: 06/03/2018
you input: 7 -> out put: 08/03/2018
you input: 10 -> out put: 13/03/2018
my code:
``... |
2018/02/27 | 756 | 2,171 | <issue_start>username_0: I can't get bootstrap working with slick slider. If I remove bootstrap cdn slick slider works ok but when I add it back it stops working. idk what's wrong. Here's the code:-
```



df.columns = list('ABC')
df.index= list('ABC')
df
# result-
A ... |
2018/02/27 | 913 | 2,299 | <issue_start>username_0: Have been hearing a lot about BDD with Selenium being adopted for regression testing. Are teams using BDD for writing regression tests? I am asking about automating test cases for a decent consumer based application like a banking app.<issue_comment>username_1: Use [`stack`](http://pandas.pydat... |
2018/02/27 | 315 | 1,060 | <issue_start>username_0: I have news section in my app, I'm displaying news using iframe tag from some website, I want change iframe content size depending on the mobile screen size.
**News.html code:**
```
```
**My screens looks like this:**
[](https://i.stack.img... |
2018/02/27 | 328 | 1,094 | <issue_start>username_0: I'm in QlikView. I have received the below error from the server.
>
> "a connection attempt failed because the connected party did not
> properly respond after a period of time or established connection.."
>
>
>
[](http... |
2018/02/27 | 964 | 3,286 | <issue_start>username_0: It is possible to add a ImageView inside a XML LinearLayout with the 15% of the width of the screen of width and also exactly the same height?
I tried it with this dialog code which is being displayed when a user clicks on a marker on the map:
```
.
. [some more content here]
.
```
But is ... |
2018/02/27 | 870 | 2,929 | <issue_start>username_0: I have a model 'Contract' and a model 'ContractLine' in a classic master-detail relationship. In Laravel terms: the contractlines have a belongsTo relationship with a contract. I would like to audit all changes a user makes to his contracts. Not just the changes in the general 'contracts' table... |
2018/02/27 | 907 | 2,529 | <issue_start>username_0: How to convert this string to Datetime
20180227105954636241
```
select CONVERT(datetime, '20180227105954636241', 120)
```
>
> Conversion failed when converting date and/or time from character string.
>
>
><issue_comment>username_1: According to your question, I can suggest use SUBSTRING ... |
2018/02/27 | 856 | 2,466 | <issue_start>username_0: can we install Cordova plugin "cordova-plugin-wkwebview-engine" in MFPF 7.1
If Yes, can someone please advise what steps we need to follow.
Thanks,<issue_comment>username_1: According to your question, I can suggest use SUBSTRING Method and parse NVARCHAR values and then convert it to DATETIM... |
2018/02/27 | 285 | 1,102 | <issue_start>username_0: My current installation of Redash is somehow corrupted (installing it in a new PC worked fine so I know my local copy is broken), and I want to basically remove it fully and install it again.
I cannot find any documentation of how to uninstall it,
* I don't find it installed as a service
* I ... |
2018/02/27 | 760 | 2,227 | <issue_start>username_0: I have a Python dictionary which contains list as values corresponding to the keys. Now each list contains two another dictionaries and the data looks like this:
```
data = {'A': [{'Set1': {'Apple':1, 'Banana:2'}, 'Set2': {'Orange':1}],
'B': [{'Set1': {'Apple':3, 'Banana:1', Carrot:2},... |
2018/02/27 | 2,208 | 7,228 | <issue_start>username_0: Currently I have an [angular component](https://stackoverflow.com/q/48987397/296328) `x.component.html` which contains the following (using [angular material](https://material.angular.io/components/table/overview)):
```
farbeKey
{{element.farbeKey}}
....
```
Furthermore I have the c... |
2018/02/27 | 245 | 858 | <issue_start>username_0: When I uncheck a checkbox and validation fails I expect that checkbox remains unchecked, instead it is checked.
My checkbox:
```
member == 1) ? 'checked' : '' }}
{{ (old('member') == 'on') ? 'checked' : '' }} />
```
Where `$mode == 'edit'` is passed from controller to indentify the case w... |
2018/02/27 | 425 | 1,512 | <issue_start>username_0: Lets say that we have a text file like this:
what i am trying to do is produce a list in descending order with using a DatePeople and DateComparator classes (using collection.sort)
what i couldnt really understand is after reading txt file how do i put them in correct way into arraylist as ... |
2018/02/27 | 488 | 1,766 | <issue_start>username_0: i have a wizard from a metronic theme where I'm trying to call a function to check if my array contains dublicates.
if I remove this part of my code it works without problems.
```
console.log(this.checkIfArrayIsUnique());
```
code
```
var wizard = ($('#m\_wizard')).mWizard();
//== Valid... |
2018/02/27 | 513 | 1,763 | <issue_start>username_0: I am using Virsual Studio 2017 and working on Win7 system, I having following code that using `Winhttp`:
```
#include "stdafx.h"
#include
#include
#pragma comment (lib, "Winhttp.lib")
int main(int argc, char \*args[])
{
return 0;
}
```
I can build it successful When Options -> Configrat... |
2018/02/27 | 609 | 2,125 | <issue_start>username_0: I debug my program and add here and there a breakpoint. After a stop I want to inspect some of the variables and get sometimes a `com.sun.jdi.ObjectCollectedException`. After searching in different sources I figured out that most likely the object was **G**arbage **C**ollected. Clicking here an... |
2018/02/27 | 427 | 1,428 | <issue_start>username_0: I Start a Demo Project just for testing.
But on this demo work good and I just tried to create a release from it.
The problem, when I tried to start it (On debug mod for example) I see a process name like
[](https://i.stack.img... |
2018/02/27 | 334 | 1,281 | <issue_start>username_0: Very newbie here about databasing. I copied a POS system to my friend and I want to study it's function how it works stuff like that.[enter image description here](https://i.stack.imgur.com/jIlk2.png)<issue_comment>username_1: First click the database in which you want to import your data, then... |