Data dodania Pytanie
2017-03-18 23:03 How do I update a postgres boolean field using Active Record in Rails 5? »
I created a join table like so: class CreateJoinTablePurchaseUser < ActiveRecord::Migration[5.0] def change create_join_table :purchases, :u...
(1) odpowiedzi
2017-03-18 23:03 How can I order a table in a loop depending on the highest number in a specific <td> »
How can I order lines of a table depending on the highest number in a loop like this : <?php while ($d = $data->fetch()) { $champs_files = fop...
(1) odpowiedzi
2017-03-18 23:03 How to generate a list of radio buttons/checkboxes with ejs from JSON object? »
I have a json object that I am passing to ejs, and based on certain fields in that object I would like to generate checkboxes and radio buttons, witho...
(0) odpowiedzi
2017-03-18 23:03 celery not getting tasks from Django Admin Periodic Tasks »
Using celery 3.1.25 with Django 1.10 I can get celery to run tasks by manually getting into the shell and manually launching the tasks. However when ...
(0) odpowiedzi
2017-03-18 23:03 Chrome onBeforeRequest redirect not working on Mac »
I'm updating a chrome extension that redirect some requests. It's working great on Chrome (windows), but not on Chrome (mac). This is on manifest: ...
(0) odpowiedzi
2017-03-18 23:03 How to find the number of matches a player has played? »
I have two tables namely match and player. I am trying to find the total number of matches played by each player by adding no_of_wins and no_of_loses ...
(2) odpowiedzi
2017-03-18 22:03 ORA-06512 : cannot set NLS in Distributed transactions »
I have an Oracle procedure containing this line: ALTER SESSION SET nls_date_format = 'dd/mm/yyyy' When trying to access the procedure from Coldf...
(0) odpowiedzi
2017-03-18 22:03 Get each day of the week as columns MySQL and PHP »
I am writing a web application in PHP with MySQL. I have a table called counts and this is how data is stored in that table: Table: counts id co...
(1) odpowiedzi
2017-03-18 22:03 How to prepare for mySQL too many requests? »
Thanks for taking time to my problem. I am new to MySQL. My problem is I want to make many (about 1000 clients' requests) select/insert queries...
(1) odpowiedzi
2017-03-18 22:03 Is following use of objc @protected directive safe/legit? »
I have to expose a private property to sub-classes. Since there is no such thing as "protected properties" in objc AFAIK, I'm using the @protected dir...
(2) odpowiedzi
2017-03-18 22:03 lambda syntax in scheme language »
I am learning functional programming. A question came to my mind when I read about the lambda section introduction about FP. In Scheme the syntax f...
(2) odpowiedzi
2017-03-18 22:03 Can't see my html file in view »
I am trying to run basic mean app. My app is working without the angular part. But when I have included angular I can't see the html page which is i...
(1) odpowiedzi
2017-03-18 22:03 How to add content inside div with angular without using jquery »
I'm trying to build a basic tic tac toe game in angular 1. When I click on a square I want to either add X or O depending on the turn. I cannot figure...
(1) odpowiedzi
2017-03-18 21:03 Modal not showing proper video in react »
Hi I'm implementing a sample app with react,I'm also using youtube api search and react bootstrap. The idea is the following, I enter a search term, ...
(1) odpowiedzi
2017-03-18 21:03 routing data to my param page in react.js »
I'm currently trying to pass my data when you click on a link on the list component, it will go to the article component where it displays all the dat...
(1) odpowiedzi
2017-03-18 21:03 How to insert id to database from text input »
Hi I've been searching how to do this for over 2 hours so I'll ask here. I have an eventlineitems table with product_id. On the create form I want to...
(1) odpowiedzi
2017-03-18 21:03 Storing names and grades in python »
I'm writing a program for A teacher. The teacher is suppose to ask the name of the student and then the grade of the student. And this for as many tha...
(2) odpowiedzi
2017-03-18 21:03 Adding Rails tests to an app with datatables »
I have a Rails app with datatables: https://github.com/rweng/jquery-datatables-rails https://github.com/antillas21/ajax-datatables-rails I am goin...
(0) odpowiedzi
2017-03-18 21:03 PHP CURL getting 400 error in loop »
here the foreach loops returns a phone number which goes in the link but whenever I try to run this script it gives me the error 400 bad request. I ha...
(1) odpowiedzi
2017-03-18 21:03 How can I implement Whatsapp life QR code authentication »
How can I create a dynamic QR code on a rails app such that the moment it is scanned and successfully processed, the open page bearing the QR code can...
(2) odpowiedzi
2017-03-18 21:03 selecting the dropdown from an page loaded through a div »
I am loading a page through a div because of iframe restrictions. What I want to do is access the page contents and select the first item in the dropd...
(3) odpowiedzi
2017-03-18 21:03 Create customized NavigationTransitionInfo for Page Navigation Transitions in UWP »
I am working on a Universal Windows (UWP) app and I want to add some page NavigationTransitions to my pages . I know that I can use default Navigatio...
(0) odpowiedzi
2017-03-18 20:03 Which method is more efficient when it comes to fetching data from database? »
I'm trying to fetch user data from MySQL database and output it in a HTML table. I found a jQuery plugin that automatically sorts tables and allows u...
(1) odpowiedzi
2017-03-18 20:03 How to create object methods in JSContext »
I'm implementing JavascriptCore in an app. I've set up a JSContext and I'd like to be able to add some object methods to it. Ideally, what I'd like to...
(0) odpowiedzi
2017-03-18 20:03 What's the Difference of Javascript Object "new" keyword »
Can someone tell me what is difference between: function Customer(name, age) { this.Name = name; this.Age = age; } var cust1 = new Customer(...
(2) odpowiedzi
2017-03-18 20:03 rails check if url ends with number »
I am trying to create a redirect_to :back that is triggered after a person object is deleted. There are several pages a user can come from before tri...
(1) odpowiedzi
2017-03-18 19:03 Why type any is returned? »
I have following ADT sealed trait Option[+A] { def map[B](f: A => B): Option[B] = this match { case None => None case Some(a) => ...
(1) odpowiedzi
2017-03-18 19:03 datatables Multi Column search filter when reload refresh Page lose column values »
Hello i have datatables with Multi Column search filter and Function bstatesave for save the search when reload the page the problem when i'm reload p...
(0) odpowiedzi
2017-03-18 19:03 Twitter-Like "Reply and Retweet" Rails 3 »
I'm building a sample rails application that mimics some of my favorite apps. I want to implement a photo reply to a photo and a repost of a photo -- ...
(1) odpowiedzi
2017-03-18 19:03 Reading integers from a list »
I'm facing the following problem in Haskell: I want to parse such list: ["1", "2", "3"] into a Maybe [Int]. What I can do is, using readMaybe from Te...
(1) odpowiedzi
2017-03-18 18:03 Scala primary constructors and the fields/properties they generate »
New to Scala and no matter how many articles/tutorials I read (like these | three | ones) I can't seem to wrap my brain around how constructors work. ...
(2) odpowiedzi
2017-03-18 18:03 Choosing the appropriate coding expression for a given job »
Common Lisp provides many flexible coding options for achieving a given result. However, it is sometimes difficult to choose the best approach. For ex...
(1) odpowiedzi
2017-03-18 18:03 Regex to replace ' (single quote once) but not '' (single quote twice) with '||''' »
In below line if we have single quote (') then we have to replace it with '||''' but if we have single quote twice ('') then it should be as it is. I...
(2) odpowiedzi
2017-03-18 18:03 unable to position background image correctly »
I'm trying to position a background image so it stays proportional/adaptive to screen size and not float into the nav bar. The css I'm using is: #ap...
(3) odpowiedzi
2017-03-18 18:03 F# functional coupled iteration: performance issue and preferred functional style »
I am getting through the excellent book "Real-World Functional Programming" by Tomas Petricek and Jon Skeet (two SO gurus, btw, thanks to both of them...
(1) odpowiedzi