vsim does not accept -modelsimini parameter on Windows
◷
تاریخ انتشار: 1395/2/15 | ساعت: 6:40
Vote count: 0 I'm using the command line argument -modelsimini <modelsim.ini> to specify my own modelsim.ini file for most QuestaSim / ModelSim executables. This works perfectly fine on Linux for vcom and vsim, as well as for vcom on Windows. But the Windows vsim aborts and throws an error: C:Mentor...
jQuery change the width of input search box
◷
تاریخ انتشار: 1395/2/15 | ساعت: 6:40
Vote count: 0 I would like to change the width of input search box as soon as the cursor was placed in the input box. However once the user click on any of the body element which is not input box, I would like the width go back to its original length. However it seems that the program also change th...
Getting unexpected ValueError when computing norm of NumPy array
◷
تاریخ انتشار: 1395/2/15 | ساعت: 6:40
I'm writing an implementation of k-nearest neighbors and in the code is the following function: def k _predict(k, X_train, user_num, joke_num): # Distances defined by (user, distance) pairs distances = [] for idx, rating_vec in enumerate(X_train): if idx != user_num: dist = np.linalg.norm(X_train[us...
How to create a get() member function for a std::tuple
◷
تاریخ انتشار: 1395/2/15 | ساعت: 4:32
Vote count: 0 My problem is std::tuple has no member function like auto t = std::make_tuple(1,2,"foo"); t.get(1); how can I implement such a function when I create a wrapper class arround std::tuple asked 1 min agoExagon Let's block ads! (Why?)
Coloured Status Bar on a TabBarController with NavigationBar not working
◷
تاریخ انتشار: 1395/2/15 | ساعت: 4:32
Vote count: 0 I've read a lot of posts on here and tried most of the options mentioned, but none fix the issue for me. I have an app that is based off of a Tab Bar Controller. Each tab is a UIViewController with a Navigation Bar at the top. Adding this code to the AppDelegate gives me an orange colo...
C++ APIs for LibSodium Crypto
◷
تاریخ انتشار: 1395/2/15 | ساعت: 4:32
Vote count: 0 I need to select a C++ API for use with Sodium Crypto library. for use in an advanced Game Theoretic Mechanism design based cardinally ranked choice voting system. I seem to have options: SodiumPP, Tears which may require also including the Qt5 source tree, or the C++ API that seems to...
GreenPlum vs SAP IQ Database
◷
تاریخ انتشار: 1395/2/15 | ساعت: 3:32
Vote count: 0 Sorry if this question does not fit here - but would like to know about Pivotal GreenPlum Database We are looking for alte ative to SAP IQ and this open source database caught our attention - would appreciate any insights. Any experience on migration from tradition DW products would al...
Error at creating simple x y smooth chart
◷
تاریخ انتشار: 1395/2/15 | ساعت: 3:32
Vote count: 0 I am trying to create a dynamic chart that will change the data set with time, but I am stuck at the first step which is creating a simple chart with a certain limited number of points. My x values and Y values are at rows 3 and 5. The code I am trying to run is to create the chart in ...
SQL: How to replace values in a union of conflicting types
◷
تاریخ انتشار: 1395/2/15 | ساعت: 3:32
Vote count: 0 I have a single table in Postgres (with PostGIS) in which I have a few thousand rows, each with the name(text), code(text), city(text) and geom(geometry) of a statistical area unit (like a county). The geometries tessellate perfectly. I'm trying to write a single query that will select...
My Nullable DateTime view is failing with a Null
◷
تاریخ انتشار: 1395/2/15 | ساعت: 2:29
Vote count: 0 In my MVC app, I have a shared DateTime.cshtml view defined like this: @model DateTime? @{ var value = ""; if (Model.HasValue) { value = String.Format("{0:d}", Model.Value); } } @Html.TextBox("", value, new { @class = "form-control datepicker", type = "text" }) In one of my views I use...
iAds not showing on device after release to App Store?
◷
تاریخ انتشار: 1395/2/15 | ساعت: 2:29
Vote count: 0 I have recently released my game to Apple Store. The iAd ba er and medium ads is now showing up after almost a week now. All its showing is just blank space as in the screenshot. Can anyone check if there is anything wrong with my iAd code ? Before Release Screenshot After Release Scre...
F# Azure Web App deployment via Git Issue (Bitbucket)
◷
تاریخ انتشار: 1395/2/15 | ساعت: 2:29
Vote count: 0 I am deploying an F# WebApi + MVC app to Azure via the Git (bitbucket) process and everything works fine until the final stage of the process. After a 'sync' or a commit the Azure tool blows up with the following error in the activity log: error MSB4062: The "MSBuild.ExtensionPack.File...
Scan HBase rows by ignoring a part of the start and end row in Java
◷
تاریخ انتشار: 1395/2/15 | ساعت: 1:23
Vote count: 0 I have HBase rows as follows ABC_A1_20160101 ABC_A2_20160102 ABC_A3_20160103 XYZ_A9_20160201 from my Java code I know first part (ABC) and last part (20160101). There is no way I can get the middle part (A1, A2, A3....). In this case how can I query in Java ? From ABC_A1_20160101 To AB...
which rule is being applied here?
◷
تاریخ انتشار: 1395/2/15 | ساعت: 1:23
Vote count: 0 I have the following: My css is as follows: ion-item.comment-format { white-space : normal!important; } and the html is : <ion-list> <ion-item ng-repeat="comment in vm.comments" class="comment-format"> From the image above, I expected the comment-format rule to apply but it is only whe...
Designing Angular custom form validations (multiple fields) generated by ngRepeat
◷
تاریخ انتشار: 1395/2/15 | ساعت: 1:23
Vote count: 0 I would like some feedback on improving/designing custom form validations(multiple fields) the Angular way. I have some form input fields that are generated by ngRepeat. Basically, the next input must be greater than the the previous. I called these fields beginLevel. My current implem...
Capital letters for directories and file names angular/node front end on linux
◷
تاریخ انتشار: 1395/2/15 | ساعت: 0:14
Vote count: 0 I am in the process of converting a front-end angular website from .Net/IIS to a Node/Linux environment. After removing all visual studio/.net files and setting up appropriate node routes I seem to have the project working again. However, when deploying to the linux aws server I am bei...
Syntax for row_to_json with sqlalchemy
◷
تاریخ انتشار: 1395/2/15 | ساعت: 0:14
Vote count: 0 I would like to figure out how to use Postgres' (9.2) row_to_json with SqlAlchemy. However I haven't been able to come up with any working syntax. details_foo_row_q = select([ Foo.bar_id, Foo.id, Foo.x, Foo.ts, Foo.velocity, Foo.y, ]).where(Foo.alert_id == Bar.id ).alias('details_foo_r...
Django - How to build an intermediate m2m model that fits? / best practice
◷
تاریخ انتشار: 1395/2/15 | ساعت: 0:14
Vote count: 0 First of all I have to admit that I'm quite new to all this coding stuff but as I couldn't find a proper solution doing it myself and lea ing to code is probably the best way. Anyway, I'm trying to build an app to show different titleholders, championships and stuff like that. After re...
I'd'd like to take a list of strings, find them in another csv file and print a field from the matching line
◷
تاریخ انتشار: 1395/2/14 | ساعت: 22:58
Vote count: 0 I have a large .csv file with a few thousand lines and a handful of columns. For simplicity, it looks a little like Name, ID One, 1 Two, 2 I'd like to write a script which takes a list of strings, treating each line as a separate entity, and finds the line containing a match to that en...
ASP.NET Core 1.0 installed nuget package needs to read web.config
◷
تاریخ انتشار: 1395/2/14 | ساعت: 22:58
Vote count: 0 The company I work for would like to rewrite a MVC 5 application in ASP.NET Core 1.0 web applciation. The core DAL layer we use is using EF 6.13 has its assemblies packed into a nuget package which is published on an inte al server. This nuget package has been installed in the legacy M...