How to change inactive color on bottom navigation?
Vote count: 0 I can't change inactive color on my bottom navigation http://i.stack.imgur.com/uNjUu.jpg and this my xml <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/home_item" android:icon="@drawable/ic_home" android:color="#FFFFFF" android:tint="#FFFFFF" a...
Make color fade on new div
Vote count: 0 Basically I have two divs, one with a background of a an image of house on snow and the second a plain white background.Each div will take up 100% width and height of the page. The aim, is so that when scrolling it will have an almost natural fade from the snow in the image to the whit...
Angular update button on timer
Vote count: 0 Hi I'm trying to update a button with the elapsed time. I can console log the timer, and update the button label once, but it's not updating with the time <button ng-show="location" class="button button-large assertive icon {{buttonIcon}} button-block" ng-click="record()"> {{buttonLabe...
Sorting linked list from greatest value to smallest - C
Vote count: 0 I have to sort a linked list from greatest value to the smallest. But the way I'm doing is not working. Can somebody please help me? This is the structures I have: typedef struct{ int identificador; char nome[50]; float comissao; float salario; }Vendedor; typedef struct celulav{ Vended...
Python for loop appending to every key in dictionary
Vote count: 0 I'm iterating over a list of tuples and a list of strings. The strings are identifiers for the items in the list. I have a dictionary that has the strings identifiers as keys and has an initially empty list for each value. I want to append something from the tuple list to each key. A s...
getting AWS DynamoDB Timestamp in Android SDK
Vote count: 0 I'm to the AWS Android DynamoDB SDK and lately I encounter a problem and still ca ot fix it. When trying to get the 'Created' value of my DynamoDB I get the following error message:" Expected S in value {N: 1449848553974,} ". What I know so far from the AWS documentation is that 'N' st...
time dimension to time variable in ncfiles
Vote count: 0 I have a script that requires a 'time' variable within the ncfiles I am analyzing. My ncfiles did not include a time dimension at first, and I have successfully added one (the time dimension was created by reading a timestamp from the nc filename). Now I am trying to create a variable ...
REST API and polymorphism
Vote count: 0 I have classes hierarchy in JAVA that should be available through a rest API for an angularJS SPA application (the data persisted in PostgreSQL DB) the classes hierarchy looks as follows: PERSON BASE ABSTRACT CLASS contains name and and age CHILD EXTENDS PERSON contains favorite TV sho...
WebAPI memory leak in BuildManager
Vote count: 0 I have a precompiled web app (32 bit) where the memory usage slowly rises until I get OutOfMemoryExceptions. Using a profiler, I've observed that the prime suspect is strings in System.Web.VirtualPath objects, which are in tu stored in the _localResourcesAssemblies Hashtable in a Syste...
And statement not working properly (python 3)
Vote count: 0 Making a short little program which takes 3 numbers and tells you the largest one. Im a very new lea er so the code is really basic, but it should work. https://gist.github.com/anonymous/32cd9a53a876e8b5714e3344d6a1898a#file-gistfile1-txt Basically, if I input the numbers as 1,2,3/3,2,...
How to enable Hyper-V with Windows PowerShell?
Vote count: 0 I tried this command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All But, it will give me this feedback message: 'Enable-WindowsOptionalFeature' is not recognized as an inte al or exte al command, operable program or batch file. asked 41 secs agommahinay Let'...
For two lists, l1 and l2, how to check that for all e1 ∈ l1, ∃p(e1,e2) where e2 is some element in l2, efficiently in python?
Vote count: 0 Ok, not sure if that was the best title, but I have two python lists. L1 and L2 which both have elements of type T and do not have the same length. I have a function p(T,T) which is a predicate checking a property about two elements of type T. I would like to check that for all element...
MS Office 2016 KMS license won't stay installed
Vote count: 0 Nowhere on the interwebs have I been able to find a problem quite like what I started seeing yesterday. Maybe I'm just terrible at Google, but this issue has such a generic description I get results for every "Change/View Office Key" article on the inte et. God forbid I have to call Mi...
generating values programmatically scala
Vote count: 0 is it possible to generate a series of values with a function in Scala? something like this: def generateVal (nbrOfVal: Int) { for (i <- 1 to nbrOfVal) { val foo[i] = Seq.fill(6)(nextInt(100))} } asked 46 secs agoulrich Let's block ads! (Why?)
I'm getting error regarding closing of parenthesis in Mysql, but I strongly feel that the parenthesis are to be closed there.
Vote count: 0 Please go through the image. For error code please view sticky notes. Also could any one please explain me why RETURN and END statements and out of the prescribed area. this is my first task on Mysql.enter image description here asked 39 secs agoA Aditya Sharma Let's block ads! (Why?)
AngularJS best way to load data dynamically
Vote count: 0 In my AngularJS application, I have a standard CRUD component that manages most of the systems entities. This component (which is a directive) is basically a table that receives its columns metadata (JSON) and do its magic. The thing is, each entity has its own columns, and I want to l...
Specify width in link_to image_tag
Vote count: 0 I am using the following code to link to logo on the nav bar: <%= link_to " #{image_tag ("logo3.svg")}".html_safe, root_url %> I need to specify the width of the logo, but have got a little confused. Tried in/out of the brackets, with a trailing comma - breaks every time. Any ideas? as...