Data dodania Pytanie
2017-10-16 23:10 Make function available onClick and onKeypress JQuery/Javascript? »
I would like to make my function available for user if they click on the button but if they press enter as well. Here is example: $('#searchBtn')...
(2) odpowiedzi
2017-10-16 23:10 Postgresql jsonb multiple lateral joins »
I'm very new to postgresql jsonb and am trying to setup a query without having to have multiple subqueries as I want this to be readable as much as po...
(0) odpowiedzi
2017-10-16 23:10 How to sort by a calculated value in Activerecord? »
I have a rails API which returns JSON to my React front end. I'm trying to sort by a calculated value for each item in a collection. I have a Space mo...
(1) odpowiedzi
2017-10-16 23:10 WCF much slower than WebAPI running same code »
I currently have 2 exposed endpoints. The first is WebAPI (.NET 4.6). The second is WCF (.NET 3.5). They are both capable of performing the same calcu...
(1) odpowiedzi
2017-10-16 23:10 Can pip list its binary wheels? »
I'm trying resolve a behavior difference between two python installations that are usually deterministic and have the same python pip packages install...
(1) odpowiedzi
2017-10-16 22:10 Output Video Size Huge Using HEVC Encoder on iOS »
I have a project that currently uses the H.264 encoder to record video on iOS. I wanted to try using the new HEVC encoder in iOS 11 to reduce file si...
(0) odpowiedzi
2017-10-16 22:10 Insert a new array item at the end of JSON array using MarkLogic Patch Builder »
I have a cities.json file in my MarkLogic database which looks like: [ { city: "New York", pop: "8.538 million (2016)"}, { city: "Miami", pop...
(1) odpowiedzi
2017-10-16 22:10 Create a custom typings file »
I just created a published npm package for the first time, called "Foo". I am trying to consume it in a typescript project, but none of the tutorials...
(1) odpowiedzi
2017-10-16 22:10 Encoding a Seq of Map to a Spark Dataset »
I'm using Spark 2.2 and am running into troubles when attempting to call spark.createDataset on a Seq of Map. Code and output from my Spark Shell ses...
(1) odpowiedzi
2017-10-16 22:10 Algorithm for determining LR and TB order when not uniform »
wondering if anyone has any insight as to how to ascertain the order of differently sized rectangles from left to right and from top to bottom when th...
(1) odpowiedzi
2017-10-16 22:10 Laravel 5.5 LaravelCollective Form in Blade - calls Validator before Controller@store »
Validator for UNIQUE generates SQL from DatabasePresenceVerifier for the form request which has required|unique validation rules. Removing unique the ...
(0) odpowiedzi
2017-10-16 22:10 submit payload nonce to server Braintree SDK Paypal ruby rails »
Im uisng Braintree Paypal SDK to render paypal button in form with hosted feilds. however, I cannot figure out how to submit nonce to server. how do ...
(1) odpowiedzi
2017-10-16 22:10 How to transform an array to an object »
I would like to turn this: let myArray = [ {city: "NY"}, {status: 'full'} ]; to this: let myObj = { city: "NY", status: 'full' }; while I tried ...
(4) odpowiedzi
2017-10-16 22:10 Can we call a controller method inside rake tasks...? »
Is there any way by which controller methods can be used inside Rake task. ...
(1) odpowiedzi
2017-10-16 21:10 Need to apply a style for getting rid of bottom line on Entry »
First off, I'm brand new to Xamarin Forms so be gentle. I'm needing to get rid of the bottom line that shows for Entry input in Android. It displays f...
(1) odpowiedzi
2017-10-16 21:10 Using the word 'set' on a class's property in Objective-C »
I'm learning iOS development and choose to move back and forth between Objective-C and Swift to notice differences or similarities. While working thr...
(2) odpowiedzi
2017-10-16 20:10 Prevent Win32 from drawing classic title bar »
I wanted to add a nice shadow to my borderless form, and the best way I found to do it with minimal performance loss is to use DwmExtendFrameIntoClien...
(1) odpowiedzi
2017-10-16 20:10 AudioKit: Fade in from AKOperationGenerator »
Is there a way to fade in a sound from an AKOperationGenerator? E.g. in the code below .start() begins at full amplitude with a click. let whiteNois...
(1) odpowiedzi
2017-10-16 20:10 How to reset all fields when adding to WooCommerce Cart »
I'm developing a site with WooCommerce and have used the plugin Product Addons to add extra fields of text to the item being purchased (name, email ad...
(2) odpowiedzi
2017-10-16 20:10 Django page not found, ajax request not working correctly »
Trying to send an ajax request to a django server and get a response containing some random data. The homepage works, but the ajax request gives a 40...
(1) odpowiedzi
2017-10-16 20:10 Good way to implment a .NET Service layer pattern with REST calls? »
I'm trying to come up with a good way to have a service layer that is mainly making REST API calls to an external API. I've currently got a .NET Core ...
(1) odpowiedzi
2017-10-16 20:10 Taking a screenshot using Chrome headless and C# »
I'm trying to take a screenshot using Chrome headless from an ASP.Net MVC app, here's the code: public string TakeScreenshot(ScreenshotRequest reques...
(1) odpowiedzi
2017-10-16 20:10 Bootstrap switch and dataTable »
In my Admin Panel i use 2 plugins for display data from Database: 1 - Bootstrap Switch 2 - DataTable So far i don't have problems with Datatable an...
(0) odpowiedzi
2017-10-16 20:10 Rails - modeling multiple many to many relationships »
I have the following use cases for creating an app that handles courses; Class A is taught by Curt in Bos on 11/1 Class A is taught by Curt in NY on...
(2) odpowiedzi
2017-10-16 20:10 Convert string to number in where clause »
I have the following where clause: OnlineCourseRegistration.where(course_class_id: 6, status: "Completed") => #<OnlineCourseRegistration id: 14...
(2) odpowiedzi
2017-10-16 20:10 Does RSpec require openstruct? »
I have some strange behaviour in a small command line ruby app that parses cron strings. I use an OpenStruct in part of my code and I forgot to requ...
(0) odpowiedzi
2017-10-16 19:10 Combine jwt token, session, anti forgery token »
This is not a programming issue but a conceptual issue. I have searched all over internet and stackoverflow itself but not getting any clarity. Aim ...
(0) odpowiedzi
2017-10-16 19:10 Operators: "bool++" in C# »
Having public void Main() { int i = 0; Console.WriteLine($"I was {i++}, now I is {i}"); bool b = true; Console.WriteLine($"B was {b}, now B ...
(3) odpowiedzi
2017-10-16 19:10 facebook login / log out »
I have created a facebook login which is working fine. When the user is logged in he gets to proceed to the next activity. When he press the home butt...
(1) odpowiedzi
2017-10-16 19:10 Why is self-implemented quicksort faster than internal quicksort? »
Being a mostly PHP developer (and self taught), I've never really had a reason to know or understand the algorithms behind things like sorting algorit...
(1) odpowiedzi
2017-10-16 19:10 Using #update method to create new record if one does not exist »
In Admin::SettingsController, I want to create a new Survey record if one does not exists, OR updates existing Survey record. What is the best Rails w...
(1) odpowiedzi
2017-10-16 19:10 Check is it valid reset_password_token, Rails 5 devise »
I am using Rails 5 with Devise. I want when some1 make request for new password, then go to the URL to change his password, if it is not valid reset_p...
(0) odpowiedzi
2017-10-16 18:10 Rails: Help w/ multiple many to many relationships and creating new entries »
My rails app has multiple many to many models. The app has courses which can have many locations and locations can have many instructors, all through ...
(0) odpowiedzi
2017-10-16 18:10 Getting prime factors in functional Java streams with a single method? »
This method will take in a Long and return a LongStream of prime numbers for any digit passed to the method. factors.java public LongStream factors(...
(3) odpowiedzi
2017-10-16 18:10 Datetime format not displaying the Date and Time »
I am exporting excel file of a database table and its giving me ##### on the date and time format columns . <cfquery name="ArtOrders" datasource=...
(1) odpowiedzi