Data dodania Pytanie
2017-01-17 23:01 how to (programmatically) get fully computed HTML (instead of source HTML)? »
I am trying to learn jQuery and trying to build a Chrome Extension. Hacking around I ended up trying to parse a webpage that loads of javascript and A...
(1) odpowiedzi
2017-01-17 23:01 Making `std::get` play nice with SFINAE »
std::get does not seem to be SFINAE-friendly, as shown by the following test case: template <class T, class C> auto foo(C &c) -> decltyp...
(3) odpowiedzi
2017-01-17 23:01 problems with ejs(data.forEach is not a function)! »
Hello so i am trying to run a javascript function inside of a ejs file and this is what my code looks like : <div class='row'> <% data.forE...
(1) odpowiedzi
2017-01-17 23:01 "Missing map from System.Char to System.String" AutoMapper error »
I'm trying to map my Box object to my BoxedElectrodesRowModel. The Box object has a property SerialNumbers, and each of those has its own property o...
(2) odpowiedzi
2017-01-17 23:01 Why is this switch statement not working? »
I have this code (1..50).each do |num| case num when num % 4 == 0, num % 6 == 0 puts 'Cluck' when num % 4 == 0 puts '...
(3) odpowiedzi
2017-01-17 22:01 symmetric equality when making a sanitized string type (using scala.Proxy) »
I have a scala (2.10.4) application where email addresses are passed around a lot, and I'd like to implement an abstraction that's called at IO to "sa...
(0) odpowiedzi
2017-01-17 22:01 Custom redirect from AuthorizationHandler (ASP.NET Core) »
I'm using an authentication middleware that is making API requests to a third party service. This middleware then sets up the claims that are later ha...
(0) odpowiedzi
2017-01-17 22:01 Class definitions in the same file cause fatal error »
I knew that in PHP you could define a class and regardless of its position in the file, you could use the class. For example, take a look at the code...
(2) odpowiedzi
2017-01-17 22:01 How to create a constraint in Postgresql to prevent unique combination rows? »
Imagine you have a simple table: name | is_active ---------------- A | 0 A | 0 B | 0 C | 1 ... | ... I need to create a special unique...
(0) odpowiedzi
2017-01-17 21:01 Why should not directly extend UIView or UIViewController? »
I saw this question, with this code: protocol Flashable {} extension Flashable where Self: UIView { func flash() { UIView.animate(withD...
(1) odpowiedzi
2017-01-17 21:01 $routeProvider async not working »
i'm building a chrome app with USB device. In my main app.js i want always check when device added/removed and change url. angular.module('rfApp', [ ...
(1) odpowiedzi
2017-01-17 21:01 Why can I reference RecordCount on a query embedded in an object but I can't loop over it? »
I have a model, surveyTemplate, that has all but one of it's properties populated by a query. I am storing an additional query in the last property o...
(1) odpowiedzi
2017-01-17 21:01 Why do Scala function types conform to the FunctionN traits? »
In other words, what purpose do the FunctionN traits serve? Do they exist to enable the compiler to know how to treat functions as first class values?...
(2) odpowiedzi
2017-01-17 21:01 Send multiple files using ASP.net core web api »
I need to send multiple files to ASP.net core webApi method.I have tried as shown below.But it always shows as 0 files.Can you tell me why ? [Route("...
(1) odpowiedzi
2017-01-17 20:01 Find common objects in N lists »
I have N lists of "People". People have 2 properties: Id and Name. I want to find the People that are contained in all N lists. I only want to match ...
(1) odpowiedzi
2017-01-17 20:01 Multiple requests to connection.php by angular code »
I want to connect with phpMyAdmin database. The problem is that the browser make multiple (50+) requests for this file and I don't know why. I have a ...
(1) odpowiedzi
2017-01-17 20:01 `find_or_create_by!` and an `after_initialize` callback »
We have something like: class User < ActiveRecord::Base #... after_initialize do |user| # stuff1 end end User.find_or_create_by!(email:...
(0) odpowiedzi
2017-01-17 20:01 Sequel + ADO + Puma is not threading queries »
We have a website running in Windows Server 2008 + SQLServer 2008 + Ruby + Sinatra + Sequel/Puma We've developed an API for our website. When the acc...
(1) odpowiedzi
2017-01-17 20:01 Passing the NODE_ENV value using Webpack via DefinePlugin »
I am trying to inject the NODE_ENV value into my code using webpack via DefinePlugin. I checked, more or less, an identical question, but still can't ...
(2) odpowiedzi
2017-01-17 19:01 Rails: Importing CDN files vs using the assets for bootstrap »
I'm a brand new developer (~3-4 weeks), and I've been using rubymine to build my ruby on rails application. I installed a plugin for bootstrap-4, and ...
(1) odpowiedzi
2017-01-17 19:01 Rails app deployed using elastic beanstalk responds with "site can't be reached" »
I have built a rails app with the following stack: Puma (application server) 3.0 Ruby on Rails 5.0 Postgresql 9.5.3 I tried deploying this applica...
(0) odpowiedzi
2017-01-17 19:01 Use flatMap on List[Either] in Scala »
Either is right-biased ince Scala 2.12 which allows it to be used in for/yield blocks without projection just like Option. But apparently this isn't e...
(2) odpowiedzi
2017-01-17 19:01 Chrome adding weird padding between inside of div and my CSS display: table »
I am attempting to wrap a CSS table ( div, class of myTable, display:table) inside a div (class of index and display:block) but am having an issue w...
(2) odpowiedzi
2017-01-17 18:01 triggering an anchor within a list item by clicking on the list element »
I'm trying to trigger a click on an anchor by clicking a list element that is the parent of the anchor. <% conversations.each do |conversation| %&...
(1) odpowiedzi
2017-01-17 18:01 Foreign key not working as expected »
I know its not "The Rails Way" but I'm trying to add foreign keys to enforce referential integrity at the db level. I want to create a new table call...
(2) odpowiedzi
2017-01-17 18:01 Calling subproject binary with system() function 4 times faster than linking subproject »
I need to call a subproject from a main project and implemented two ways of doing that. It turns out, that the second way is a factor 4 slower than t...
(0) odpowiedzi
2017-01-17 18:01 Posting equirectangular 360° panoramas on Facebook using Javascript Graph API »
I am trying to post 360° photos on behalf of my app's users, but I can't figure out how to make it work. I loaded the Facebook Javascript Graph API,...
(1) odpowiedzi
2017-01-17 18:01 Laravel subdomain routing is not working »
I'm trying to have an admin subdomain (like this) Route::group(['domain' => 'admin.localhost'], function () { Route::get('/', function () { ...
(2) odpowiedzi
2017-01-17 18:01 JSONB query in Rails for a key that contains an array of hashes »
I have a Rails 5 project with a Page model that has a JSONB column content. So the structure looks like this (reduced to the bare minimum for the que...
(1) odpowiedzi
2017-01-17 18:01 Can't load JSON data to jQuery sqlalchemy-datatable »
I'm having troubles on loading JSON data to a datatable. Here it is my Python code to perform that (do the query to the database and return that data ...
(0) odpowiedzi
2017-01-17 18:01 CakePHP 3 Assocations delete »
Im new to CakePHP and all this stuff with associations. When i want to delete a category i also want to delete the competences who are linked to the c...
(1) odpowiedzi
2017-01-17 17:01 Why does my code only work inside of a DispatchQueue.main.async block? »
I wrote this code to select all the text when a user begins editing a UITextField: @IBAction func onEditingBegin(_ sender: Any) { print("editing ...
(1) odpowiedzi
2017-01-17 17:01 How to migrate api call wrapper from a redux thunk to redux saga »
I have recently started using redux-saga and I'm really liking it. I have the following wrapper which I was using for my api calls which would take ...
(1) odpowiedzi
2017-01-17 17:01 i try use stored procedure in apirest but don't work »
I need your help I have a program in C # That has entity frameworks 6.0.0.0 In which I am using an apiRest to access data from the ORACLE database T...
(0) odpowiedzi
2017-01-17 16:01 Align and center images in a fixed div »
i have a very simple page with a fixed footer. On this footer, i'd like to place 5 images centered with equals distances between them. Here is my HTM...
(5) odpowiedzi