Data dodania Pytanie
2016-05-24 23:05 Firebase "throw new Error('Invalid service account provided');" error message »
I noticed that Firebase has changed recently. I'm building a node.js app that requires firebase and previously this was enough: var Firebase = requir...
(1) odpowiedzi
2016-05-24 23:05 Rails 4 - set session variable so user can see pages only during that session »
I am using rails 4 and want to give an instant quote that has some personal information. I need to make the quote viewable for someone's entire sessio...
(1) odpowiedzi
2016-05-24 23:05 Intertwined dependencies between sbt plugin and projects within multi-project build that uses the plugin itself »
I'm developing a library that includes an sbt plugin. Naturally, I'm using sbt to build this (multi-project) library. My (simplified) project looks as...
(1) odpowiedzi
2016-05-24 23:05 TypeError: JQuery(...).downCount is not a function »
I have been banging my head against this for a bit. The countdown timer I am using has not been hooking in correctly. <script type="text/javascrip...
(1) odpowiedzi
2016-05-24 23:05 How to do PostgreSQL crosstab query there values are missing in the column »
I'm trying to create a turn around time report using PostgreSQL 9.5 crosstab query where referrals are bucketed into days 1, 2, 3, 4, > 4 (see output ...
(1) odpowiedzi
2016-05-24 23:05 SELECT with Limit in SQL messing up order of rows »
I am trying to get some rows from SQL and order them by ID. Currently my query is like this: SELECT * FROM logs ORDER by id ASC; This will get all ...
(1) odpowiedzi
2016-05-24 22:05 Distance between locations from an Array of coordinates into a table »
Im trying to populate a table with rows that show distances to locations from the users current location from an Array of coordinates. I have the coor...
(2) odpowiedzi
2016-05-24 22:05 Methods from Tree::TreeNode not working »
I have a question about ruby gems. I'm writing some code in ruby and I want to use a tree. I decided to use the Tree::TreeNode class. See here http://...
(1) odpowiedzi
2016-05-24 22:05 JDBC Prepared statement parameter inside json »
I have a table which has a data column with an structure similar to following: {"title": "some title", "objects": [{"id": "id1"}, {"id": "id2"}]} n...
(1) odpowiedzi
2016-05-24 22:05 default value is not saved to the database »
I want to add a default value to an existing column in my database, this is my attempt: add_column :users, :gamelv1, :integer, default: 1 I added d...
(1) odpowiedzi
2016-05-24 22:05 How can I make JavaScript exceptions more informative? »
A very frustrating thing about JavaScript is that if it fails on an external module, it doesn't tell you the line of your code that initiated the path...
(1) odpowiedzi
2016-05-24 22:05 How to integrate clojurescript to existing javascript code base? »
I'm writing a addon feature in clojurescript using reagent. I would like to use this in a existing react, flux app. How should I connect the two? ...
(1) odpowiedzi
2016-05-24 22:05 Codename One - Facebook Marketing API »
I was looking for a way to integrate my CodenameOne app with Facebook. Particularly to collect data aimed to improve the adds shown on Facebook to use...
(1) odpowiedzi
2016-05-24 22:05 R Sorting data into a data frame »
Let's say I've got the following data: structure(c(4L, 4L, 2L, 4L, 5L, 5L, 3L, 5L, 5L, 3L, 3L, 3L), .Names = c("oranges_53", "oranges_32", "squash_...
(3) odpowiedzi
2016-05-24 21:05 Why do I have to place () around null-conditional expression to use the correct method overload? »
I have these extension methods and enum type: public static bool IsOneOf<T>(this T thing, params T[] things) { return things.Contains(thing...
(4) odpowiedzi
2016-05-24 21:05 How to render image path correctly in Razor when using bundle configuration »
BundleConfig.cs snippet public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new StyleBundle("~/bundles/css").I...
(1) odpowiedzi
2016-05-24 21:05 Postgresql Master-Master Replication with Bucardo »
I installed Bucardo as below Current connection settings: Host: 192.168.0.153 Port: 5432 User: postgres Database: ...
(0) odpowiedzi
2016-05-24 21:05 Android - Firebase .orderByChild() not working in FirebaseRecyclerAdapter »
Currently I have a FirebaseRecyclerView and I am trying to order each item based on how many views it has. Each item contains the child views which st...
(0) odpowiedzi
2016-05-24 20:05 Is a constant list used in a loop constructed/deleted with each pass? »
Will the following snippet create and destroy the list of constants on each loop, incurring whatever (albeit small) overhead this implies, or is the l...
(2) odpowiedzi
2016-05-24 20:05 Error in streaming-analytic service in Bluemix »
I followed this tutorial to use the streaming-analytic service in Bluemix to interface with message-hub: https://developer.ibm.com/bluemix/2015/10/16...
(1) odpowiedzi
2016-05-24 20:05 Active Record: Query different associations that belong to the same parent »
I have a Rails application where users may select the shows they are watching, and which episodes they have already watched. The ActiveRecord associat...
(1) odpowiedzi
2016-05-24 20:05 How to compare values from structure and array? »
I have my query outputted in structure. Then I have my array where I loop through. I want to compare value from my structure and my array. First to co...
(1) odpowiedzi
2016-05-24 20:05 FIREBASE_AUTH_API is not available on this device »
I have followed the new Google Firebase guide for Facebook sign-in on Android but I am consistently getting the following error on a particular device...
(1) odpowiedzi
2016-05-24 19:05 Unable to reference self in closure when defining property »
I saw this example online somewhere: let newButton:UIButton = { let button = UIButton() return button }() when I add: button.addTarget(sel...
(2) odpowiedzi
2016-05-24 19:05 How to replace a specific character in a string along with the immediate next character »
I have a string of text: string = "%hello %world ho%w is i%t goin%g" I want to return the following: "Hello World hoW is iT goinG The % sign is ...
(2) odpowiedzi
2016-05-24 19:05 How to get the id of selected radio button in Razor code? »
I have three radio buttons on my HTML form i.e. <input type="radio" name="radioBtn" id="rdBtn1" /> <input type="radio" name="radioBtn" id="r...
(1) odpowiedzi
2016-05-24 19:05 How can I access my node data in ejs »
I have a node web server that gets data from a nedb database. I want to pass this data to some ejs code on my page but node dies and tells me that the...
(2) odpowiedzi
2016-05-24 19:05 Dynamic reloading of page with Chrome extension re-injects content script »
I have an extension that injects content scripts when the tab is updated. Main script: chrome.browserAction.onClicked.addListener(function(tab) { ...
(1) odpowiedzi
2016-05-24 19:05 jQuery Datatables - select multiple row from different pages »
I have implemented jQuery datatables with pagination enabled.I want to select multiple rows via radio buttons from any random pages and want to perfor...
(1) odpowiedzi
2016-05-24 18:05 Website doesn't recognize GET even though manual URL works »
I have a custom website which checks on document.ready if there is a parameter called 'temp' in the URL-line. If so, I call a PHP-function on my serve...
(2) odpowiedzi
2016-05-24 18:05 If async-await doesn't create any additional threads, then how does it make applications responsive? »
Time and time again, I see it said that using async-await doesn't create any additional threads. That doesn't make sense because the only ways that a ...
(7) odpowiedzi
2016-05-24 18:05 iOS - Swift - Callback when phone gets plugged in »
I have an Android app which uses a BroadcastReceiver for older versions of Android and a JobScheduler-based implementation for Android 5.0+ which star...
(1) odpowiedzi
2016-05-24 18:05 Does PyPy work with asyncio? »
Does PyPy support the aio and Python 3.5? I need the performance of PyPy and asynchrous code of asyncio. Also I need to use async/await in my code. I...
(2) odpowiedzi
2016-05-24 18:05 Will the compiler create extra strings if a string reference is set to strings in quotes? »
Normally I wouldn't ask this here, but I don't seem to have found any articles on what happens in this circumstance. Take the following example: stri...
(1) odpowiedzi
2016-05-24 18:05 Reflux - How do I decide whether to create a new store or extend an existing one? »
In theory, it seems like you could have a single store that keeps track of your entire application state or you could also have a store for each piece...
(0) odpowiedzi