Data dodania Pytanie
2017-06-18 19:06 Getting parameters of post request in node js »
I am struggling since I am trying to retrieve all the parameters of a POST request in node.js, but it's not gonna work. Here the post request from th...
(3) odpowiedzi
2017-06-18 18:06 SML syntax error »
Logic: eploy(list, constant) if list is empty then return: 0; else return: (first_element + constant*eploy(rest_of_the_e...
(1) odpowiedzi
2017-06-18 18:06 JQuery Datatables not displaying data created in a JSON object »
I am using a data table that was provided in the gentella admin template. This is the script i am using $("#datatable-buttons").DataTable({ ...
(1) odpowiedzi
2017-06-18 18:06 Write an array to multi column CSV format using Ruby »
I have an array of arrays in Ruby that i'm trying to output to a CSV file (or text). That I can then easily transfer over to another XML file for grap...
(3) odpowiedzi
2017-06-18 18:06 Iterating over array to use data-attribute to style elements, but only getting last value in the array »
Objective I'm trying to style a series of divs .table__color where the width of the div is equal to the value of a data-attribute from an array of ....
(1) odpowiedzi
2017-06-18 17:06 Call Laravel method on every pages before the page is loaded »
I'm looking for a way to call a method and do a specific action before a page is loaded on every routes, and every method called on my project. Exce...
(1) odpowiedzi
2017-06-18 17:06 Class reference inside class scope in python »
Some Context I have the following django/python snippet: from rest_framework import serializers from .models import Profile, Task class Serializabl...
(2) odpowiedzi
2017-06-18 17:06 How to map RuntimeExceptions in Java streams to "recover" from invalid stream elements »
Imagine I'm building a library, that will receive a Stream of Integers, and all the library code needs to do is return a stream of Strings with the st...
(2) odpowiedzi
2017-06-18 16:06 How to login to a site using POST request? (Swift,iOS) »
I want to create an iOS Application that logs into a website and parses the data from several pages of that site, while maintaining the login session....
(1) odpowiedzi
2017-06-18 16:06 Unknown provider: $resourceProvider <- $resource in AngularJS »
as stated in the title I get the following error: Unknown provider: $resourceProvider <- $resource. Specifically in the console of Microsoft edge:...
(1) odpowiedzi
2017-06-18 16:06 Wordpress : Sql select posts with all related meta »
I need to get an array of posts with all related meta. So it should be looks like that: post postfields from post table : [ ...
(1) odpowiedzi
2017-06-18 15:06 How to find a object and insert it in a database »
I’m trying to pick up the shop_id and subscription_id from a cart and insert/save them into the purchase database. I have a cart, line_items and s...
(1) odpowiedzi
2017-06-18 15:06 Accessing and displaying a filename of #datasource# »
I would like to find out how to display the filename (or entire path) of a #datasource#. The datasource connection was performed in the administrator...
(1) odpowiedzi
2017-06-18 15:06 What happens to a database session when the user closes the browser tab/windows before the transaction is completed? »
In a webshop scenario where for example a user goes on to press "buy" on his shopping cart, what happens in case he closes his browser window or tab d...
(1) odpowiedzi
2017-06-18 15:06 WebRTC existing session »
WebRTC comes essentially in 3 flavors depending on the network situation: No NAT - session is peer to peer NAT - session uses STUN but is eventually...
(1) odpowiedzi
2017-06-18 14:06 C# Casting Generic Child Type to Parent »
Let's say we have these types: class A {} class B : A {} class X<T> {} Why we can't do this? X<A> var = new X<B>(); Is there ...
(2) odpowiedzi
2017-06-18 14:06 Django constance - on save method »
Is there any way to call django command after changing constance value? I need to call: python manage.py installtasks for my kronos cron jobs. I d...
(1) odpowiedzi
2017-06-18 14:06 MySql select value if confition match or select first if not match »
I'm trying to select a user profile from a MySql database. I also have another table that contains user's telephone because they can have multiple pho...
(1) odpowiedzi
2017-06-18 14:06 has() always true when using null coalesce operator? »
I'm using the following code in my form currently: {{ $errors->has('email') ? ' has-error' : '' }} I tried changing it to this: {{ $errors->...
(2) odpowiedzi
2017-06-18 14:06 Best way to communicate between ViewModel and Controller »
I am new in development and recently practicing MVVM design pattern. To communicate between the ViewModel & Controller I am using Closure. I know ...
(3) odpowiedzi
2017-06-18 14:06 Which db manager for a 100Go Table? »
I realize a 2G / 3G / 4G data retrieval project as part of my studies. I have to store this data, and to make queries on it. My table : [freq {float},...
(1) odpowiedzi
2017-06-18 14:06 Rails responding to Javascript request even though format.js is not on controller »
In a standard, scaffolded Rails 5.1 (or 5.0) controller, you get this on the create action: def create @test = Test.new(test_params) respond...
(1) odpowiedzi
2017-06-18 13:06 facebook api: event url »
lets say I know I have an event ID. I would like the event URL (to link users to it), but the graph API does not seem to have it (https://developers.f...
(1) odpowiedzi
2017-06-18 13:06 Port 3306 not listening? Can't connect to MySQL remotely »
I'm trying to connect to MySQL remotely with pymysql and I'm getting the error message: (2003, "Can't connect to MySQL server on 'ip address' ([WinEr...
(1) odpowiedzi
2017-06-18 13:06 What is the right syntax to go through json and display the data in a view - Rails 5? »
I'm having a little trouble displaying all of the values in a json response from an api especially round the rullings part where some of the values ar...
(1) odpowiedzi
2017-06-18 13:06 how ternary expression in java are evaluated? »
I have followed the tutorial provide here and in line: boolean t1 = false?false:true?false:true?false:true; the final value of t1 is false. but i e...
(3) odpowiedzi
2017-06-18 12:06 Checkbox becoming 'sticky' in RecyclerView »
I have a dialog which takes in user input through a list with checkboxes, whose layout is a RecyclerView. But when I select a CheckBox in the list, an...
(2) odpowiedzi
2017-06-18 12:06 What is the syntax to be used for feed_dict in TensorFlow C++? »
I want to build and train a graph in TensorFlow C++ that consists of two layers, and to feed it with a given matrix as an input. I have two different...
(1) odpowiedzi
2017-06-18 12:06 Using the class name 'Object' in C++ is desirable? »
I think this is not the kind of question that has a definite answer, but has various opinions depending on one's preference. When naming a class, so...
(0) odpowiedzi
2017-06-18 12:06 Django-datatable-view X-editable internal server error »
I have been struggling with this one for a couple of days now. I would like to use django-datatable-view's xeditable columns integration. My code load...
(1) odpowiedzi
2017-06-18 12:06 DataTables: Show custom html code in last column »
AJAX: { "data": [ { "id": 1, "name": "Dashboard", "url": "/", "icon": "icon-home", ...
(0) odpowiedzi
2017-06-18 12:06 Open image in browser with Ruby »
Learning Ruby, early stages. I have a very simple script that I run on terminal and I want it to open files in browser based on user input. What code ...
(2) odpowiedzi
2017-06-18 12:06 Getting rid of #! in angularjs ngRoute »
I'm working with Angularjs ngRoute for SPA with Node.js as my backend, I have 3 pages in my website say: localhost:8000/#!/ localhost:8000/#!/red l...
(2) odpowiedzi
2017-06-18 11:06 Symfony: make CSRF token available to all twig templates »
My app has AJAX requests here and there, and I want to protect them with CSRF tokens. However, rather than generating and passing a CSRF token to the ...
(2) odpowiedzi
2017-06-18 11:06 How can I center float elements in CSS? »
How can i center the float element that you can see in this photo? I want to bring it from the left of the web page to the middle, but keeping it at t...
(2) odpowiedzi