How to resolve a hostname using chrome.sockets?
◷
تاریخ انتشار: 1395/2/9 | ساعت: 1:44
Vote count: 0 I am trying to co ect to a host but using the ipv4 address instead of its ipv6 address. chrome.sockets.tcp.co ect automatically resolves the hostname to an ipv6 address and co ects with that. So I thought I would resolve the hostname and co ect manually to the ipv4 address. But I can't...
What does the function map do in c++ 11?
◷
تاریخ انتشار: 1395/2/9 | ساعت: 1:44
Vote count: 0 I am trying to figure out what a piece of firmware code does on a particle elctron. It appears to be written in c++ and compiled against gnu++11 standard library linked to it. What does map do in this line of code. The value is set arbitrarily in this case but is actually the bitshift ...
returning arrays from functions
◷
تاریخ انتشار: 1395/2/9 | ساعت: 0:12
Vote count: 1 I am trying to refactor some of my code with arrays and what I have here is this $body[] = array( //array stuff part1 here ); $body[] = array( //another array stuff part2 here ); $body[] = array( //and another array stuff part3 here ); now what I want to do is separate them into functi...
Can't access my reddit installation
◷
تاریخ انتشار: 1395/2/9 | ساعت: 0:12
Vote count: 1 I install Reddit Script on my server but I can't access my installation. I try to access http://129.xxx.xx.xx (my server ip adress but is has a redirection to reddit.local and here looks to load for ever. I install it using my automatic installer and after that I just populate the scri...
VSTO/WinWord Bind to Entering Event for DropDownListContentControl
◷
تاریخ انتشار: 1395/2/9 | ساعت: 0:12
Vote count: 1 I have a VSTO addin (not a template project), and I'd like to bind to the Entering event for any content controls manually added to the document, but can't figure out how to do the binding. It's easy enough to find the appropriate Content Controls: ActiveDoc.ContentControls.Cast<Conten...
sqlserver.jdbc.KerbAuthentication GSSException Integrated authentication failed in apache storm 1.0.0
◷
تاریخ انتشار: 1395/2/8 | ساعت: 23:10
Vote count: 0 We're ru ing apache storm 1.0.0 on redhat and while trying to query an mssql database from within a bolt using Kerberos authentication jdbc:sqlserver://xxxyyy;databaseName=zzz;integratedSecurity=true;authenticationScheme=JavaKerberos we are getting the following exception [com.microsof...
JNDI LDAP logged user information
◷
تاریخ انتشار: 1395/2/8 | ساعت: 23:10
Vote count: 0 Is it possible to get informations about myself? I want to make co ection to LDAP and than get my informations as sAMAccount name, ... without DirContext search. asked 8 mins agouser2925656 Let's block ads! (Why?)
Want xib file to cover whole screen instead of covering top left ios
◷
تاریخ انتشار: 1395/2/8 | ساعت: 23:10
Vote count: 0 I am making an ios app and using xib files instead of storyboards. At first I didn't even have to use auto layout everything worked fine for all iphone devices in portrait. But as soon as I added a launch screen through assests only the the iphone 5 has the correct layout (because xib ...
How do ensure that Flow Router renders templates when the route changes in my Meteor app
◷
تاریخ انتشار: 1395/2/8 | ساعت: 19:54
Vote count: 0 I'm using Flow Router and Blaze Renderer for a simple website (think blog / brochureware). I'm using FlowRouter.path() to create links on my menu elements. The url changes as expected when these links are clicked and the action() method on the route is fired. However the templates don'...
Dynamic control is not loading in phantomJs browser but its loading in IE,Firefox,Chrome
◷
تاریخ انتشار: 1395/2/8 | ساعت: 19:54
Vote count: 0 I am trying to automate one scenario using phantomJS, in the scenario there is one dynamic grid. we have to populate the data in the grid manually. Before populating the grid one empty row should be displayed. That empty row is not being displayed in the phantomJS browser, while the ro...
Switch span | jQuery
◷
تاریخ انتشار: 1395/2/8 | ساعت: 19:54
Vote count: 0 I made code that will check is that the first letter is uppercase. There's one error, it says. Uncaught SyntaxError: Unexpected token This code Works in other languages like PAWN and C++/C. Why it doesn't work in jQuery? switch(_ime[0]) { case 'A' .. 'Z': { } default: retu -2; } edited...
SQL Server Output Parameter showing null value in EF C#
◷
تاریخ انتشار: 1395/2/8 | ساعت: 18:52
Vote count: 0 I have a below stored procedure with output parameter. ALTER proc [dbo].[CRS_GetNewMessageCount] @CaseId int, @Type varchar(50), @Location varchar(50), @Count int out as begin if @location='admin' begin if @type='consumer' select @Count=(Select count(fdId) from tb_CRS_Messages where fd...
Can't import tensor flow
◷
تاریخ انتشار: 1395/2/8 | ساعت: 18:52
Vote count: 0 I have successfully installed tensorflow using pip. I have python 2.7.11. To double check when I do pip show tensorflow, It shows me that tensorflow 0.8.0 version is succesfully installed. But to test the installation I did $python import tensorflow as tf then i get Traceback (most rec...
c programming, not getting proper value of long double
◷
تاریخ انتشار: 1395/2/8 | ساعت: 18:52
Vote count: 0 #include <stdio.h> #include <float.h> int main () { printf("storage size of long double %d n", sizeof(long double)); printf("minimum long double positive value of %e n", LDBL_MAX); printf("maximum long double positive value of %e n", LDBL_MIN); printf("Precision value of %d", LDBL_DIG)...
How to include r in this mqtt message when running command-line mqtt client?
◷
تاریخ انتشار: 1395/2/8 | ساعت: 17:28
Vote count: 0 I am using a command-line mqtt client. https://github.com/shirou/mqttcli I would like to publish a message with r carriage retu character inside. Below is what I did. mqtt-cli mqtt.test.com topic "mqtt_msg 1r" However, the carriage retu character is not sent. Instead, the ASCII "r" cha...
Pushing elements onto an array not working as expected
◷
تاریخ انتشار: 1395/2/8 | ساعت: 17:28
Vote count: 0 I am trying to build dynamic arrays based on a field in my database. The purpose is so that I can compare those arrays to ensure that they don't each contain certain data. This is a race track scoring app, I need to make sure that race classes don't have entries in back to back classes...
search an xml file for specific attribute values in testcomplete
◷
تاریخ انتشار: 1395/2/8 | ساعت: 17:28
Vote count: 0 I have this one xml file in which i need the value of the specific tag. I am using testcomplete as a tool and using c# script to code it in. Any suggestions on how to do it? asked 53 secs agoDixit Salecha Let's block ads! (Why?)
How to index document pages that can be retrieved later into elasticsearch
◷
تاریخ انتشار: 1395/2/8 | ساعت: 15:55
Vote count: 0 I am indexing PDF documents in elasticsearch without using the official plugin, I am using a PHP library to parse PDF content into plain text. This PHP library allows me to get the document content by pages so I would like my search page would retrieve some highlight similar to: [Page ...
Entity Framework 7 Stored Procedure Result to Model
◷
تاریخ انتشار: 1395/2/8 | ساعت: 15:55
Vote count: 0 I have a Model which is mapped to the database via EF7. All properties are identical to the mapped columns of the table. Now I have a Stored Procedure, which retu s some Joined Columns but the basis is still the mapped Model. Here is my model(Entity) which is mapped to Table1 on my dat...
Error: TS2345: when compiling with typescript
◷
تاریخ انتشار: 1395/2/8 | ساعت: 15:55
Vote count: 0 I get this error from the 1.8.10 ts compiler in the context of a nodejs / express project: Error:(17, 23) TS2345: Argument of type 'typeof "/Users/ME/Documents/Apps_And_Sites/Js_Apps/site/apps/directory/directory_contr...' is not assignable to parameter of type 'Router'. Property 'para...