Data dodania Pytanie
2017-01-16 19:01 How to correctly express arbitrary Promise chains without "indentation pyramids"? »
There are methods such as Q.reduce and Q.all that help flattening a promise chain on the specific case of heterogeneous collections of promises. Mind,...
(3) odpowiedzi
2017-01-16 19:01 Ionic 2 login via django-registration view causes 403 error »
I have trouble: I've ionic 2 app, in which user need login via form Django backend with django-registration for user registration/login/etc. Probl...
(0) odpowiedzi
2017-01-16 19:01 Trouble signing out with Google Sign in (gapi) with angularjs »
So I have tried the following templates trying to integrate this: HTML: <google-sign-in-button button-id="login-button" options="options"><...
(3) odpowiedzi
2017-01-16 19:01 Django template with multiple models »
I have a template from which I need to render information from multiple models. My models.py look something like this: # models.py from django.db imp...
(2) odpowiedzi
2017-01-16 18:01 Why Python hasn't true constants? Is it not dangerous? »
Python 3 I learn Python via a book. Right now I learned that Python hasn't constants in that sense in which they are available in C ++ or C#... For e...
(3) odpowiedzi
2017-01-16 18:01 Futures never resolve and deliver to promise »
I am reading a book to teach myself Clojure called Clojure for the Brave and True. Chapter 9 covers basic concurrent programming including delays, fu...
(1) odpowiedzi
2017-01-16 18:01 Rendering null in react element prevents me from using css's :empty selector »
To better explain my question, I'll use an example: Let's say I have two react elements, which contain one another. Lets call the container Box, and ...
(1) odpowiedzi
2017-01-16 18:01 How to modify the “asc" "desc" schema in jQuery's legacy Datatable sorting »
I have a table that with one column of strings, but my strings are in the following format: A1, A2, A12, A100, A200, A20. Right now when I click on ...
(1) odpowiedzi
2017-01-16 17:01 load mysql data to google chart in PHP »
could you please help here. Below is the script that am using to get the MYSQL data and pass that to google chart $result = DB_query($sql, '', '', Fa...
(1) odpowiedzi
2017-01-16 17:01 How to find next available time-slot for asset_type with multiple assets of type »
I've got a table with reservations for my assets. We have n-number of assets $nof, which can be reserved with increments of 15 minutes between an open...
(1) odpowiedzi
2017-01-16 17:01 Is '# -*- coding: utf-8 -*-' also a comment in Python? »
As we use # for inserting comments in Python, then how does Python takes: # -*- coding: utf-8 -*- differently? ...
(2) odpowiedzi
2017-01-16 17:01 Integrity error: update or delete violates foreign key constraint. Django + PosrgeSQL »
This my UserProfile modification class UserProfile(models.Model): user = models.OneToOneField(User) fb_id = models.IntegerField(pr...
(0) odpowiedzi
2017-01-16 17:01 What is equivalent of HostingEnvironment.ShutdownReason in ASP.NET Core? »
In old ASP.NET I could tell why my app stopped by looking at HostingEnvironment.ShutdownReason. In ASP.NET Core, this doesn't exist. Where can I get ...
(1) odpowiedzi
2017-01-16 17:01 How can Redux's reducers traversal be efficient? »
I've just started using Redux and as as any developer I'm concerned about performance. Redux documentation states that whenever action is triggered a...
(1) odpowiedzi
2017-01-16 17:01 fb login button not displaying properly in view »
I have the following code: override func viewDidLoad() { super.viewDidLoad() let fbLoginButton = FBSDKLoginButton() fbLoginView.content...
(2) odpowiedzi
2017-01-16 17:01 Order by column using infix operator »
It's possibly very simple question, but I couldn't find an answer. I'm trying to apply abs on my matrix and then apply order by the first column (desc...
(1) odpowiedzi
2017-01-16 17:01 Jade / Pug version of <template> </template> tags »
I was working with a friend today, he uses EJS as templating and I'm using Jade / Pug, I saw something in his code, this part is useful for me but we ...
(1) odpowiedzi
2017-01-16 17:01 set background image with ejs template »
Working on a blog site, Here's the effect I want : I use a forEach to loop through every post and create the same style for each post. This is my co...
(1) odpowiedzi
2017-01-16 16:01 How to sanitize or randomize sensitive database fields »
What's the most efficient method or tool to randomize a list of database table columns to obscure sensitive information? I have a Django application ...
(2) odpowiedzi
2017-01-16 16:01 Symfony3 Keeping locale after login »
Problem I have, is when user changes language in login page - it works, but after user login - it is back to default again. How to make it possible to...
(1) odpowiedzi
2017-01-16 16:01 How to add an identifier in a row if any cell for that row is changed in excel? »
Is there a way in excel to mark the rows with an identifier if any cell in that row is changed without using vb scripts and using a formula ? Such th...
(1) odpowiedzi
2017-01-16 16:01 Unable to Show onComingCall ViewController for my iOS VoIP Application »
I want my App to show IncomingCall ViewController, when App Receives Some Incoming Call. This is my Code that I uses to show Incoming Call.. From my ...
(1) odpowiedzi
2017-01-16 16:01 Using JSON Patch to add values to a dictionary »
Overview I'm trying to write a web service using ASP.NET Core that allows clients to query and modify the state of a microcontroller. This microcontr...
(0) odpowiedzi
2017-01-16 16:01 Migrating to Meteor/React »
Does anyone know of any resources available for Meteor that can help load large (20MB-80MB) assets for (mainly) offline use? My current development i...
(1) odpowiedzi
2017-01-16 16:01 Share OpenGraph activity on Facebook from android APP doesn't work on few devices »
I am developing an app similar to the runkeeper where user tracks his activity and shares on facebook. I am testing it on two devices with same API le...
(0) odpowiedzi
2017-01-16 16:01 How to "group" order data in R for a barplot? »
I'm doing bioinformatics and I need to output a graph (barplot) with the ancestry results in it. Usually, these graphs are draw by grouping the popula...
(1) odpowiedzi
2017-01-16 15:01 Check if there is any file or directory matching pattern using ruby »
I want to check if pattern with wildcards, e.g. /var/data/**/*.xml is matching to any file or directory on the disk. Obviously I could use Dir.glob b...
(1) odpowiedzi
2017-01-16 15:01 Why is Math.pow() (sometimes) not equal to ** in JavaScript? »
I've just discovered the ECMAScript 7 feature a**b as an alternative for Math.pow(a,b) (MDN Reference) and came across a discussion in that post, in w...
(1) odpowiedzi
2017-01-16 15:01 How to access client side scripts from Source View smart tag designer by using GetClientScriptsInDocument »
I am trying to get the Script node block of ASP page and modify it dynamically, through code implementation. In order to do that I have a custom wizar...
(0) odpowiedzi
2017-01-16 15:01 Download manager does not work on LG devices »
I try to perform downloading the file using DownloadManager. Everything works fine except LG devices. Here is my code: private void downloadFile(File...
(0) odpowiedzi
2017-01-16 15:01 Randomize different enemy in spritekit to move towards player »
I was wondering if anyone could answer my question. I have created 3 different enemy animations with texture atlas in Sprite-kit and I was wondering i...
(1) odpowiedzi
2017-01-16 15:01 How to obtain the most recent row per type and perform calculations, depending on the row type? »
I need some help writing/optimizing a query to retrieve the latest version of each row by type and performing some calculations depending on the type....
(2) odpowiedzi
2017-01-16 15:01 Small tweak to get this regex to get it to do what I want »
I wrote a coldfusion regex to match times of day in the source code of a page in which they appear scattered throughout the page like this: <span...
(2) odpowiedzi
2017-01-16 15:01 How to list wordpress categories id and name inside an array? »
This is my code to get categories ids and names: <?php $categories = get_categories('orderby=name&hide_empty=0'); foreach ($categories as $ca...
(1) odpowiedzi
2017-01-16 15:01 Oracle PL/SQL: Function Error when passing parameters »
When I pass a parameter to a function call, I get the following error: Error: PLS-00306: wrong number or types of arguments in call to 'GET_NUM...
(2) odpowiedzi