Data dodania Pytanie
2017-08-13 18:08 Including external Json library into project giving error »
I am trying to integrate the web service http://api.punchfork.com/recipes?key=56d6e5d77b8f8f66&q=fish with my project .I am following this iP...
(0) odpowiedzi
2017-08-13 18:08 Append to end of string Ramda.js »
I am trying to append a string to the end of a string using Ramda, but the following does not work. R.append("A", "B") it returns ['A','B'] Does ...
(3) odpowiedzi
2017-08-13 17:08 Understanding behavior of old C++ code »
I am migrating some parts of old C++ code, originally compiled with CodeGear C++Builder® 2009 Version 12.0.3170.16989 The following code - minimal ...
(1) odpowiedzi
2017-08-13 17:08 Error while custom filtering in Datatables »
I am trying to filter a table using the text boxes in table footers. When I type a value in these footers I am expecting to invoke filtering of the ta...
(1) odpowiedzi
2017-08-13 17:08 Overriding the way Twig finds the views? »
I'm new to Symfony, and so far I just love it! Right now, I'm playing around with different personal hobby projects and I've come across something I ...
(1) odpowiedzi
2017-08-13 17:08 How to add count of records to group in Rails? »
I have the following line of code that takes records from my database and creates a new consolidated record: @opportunities = @unpublished_reports.gr...
(1) odpowiedzi
2017-08-13 17:08 Toggle Increment and decrement count on single element click »
I have a element which has an integer count. <span class="likes-count"> 2 </span> And a div when clicked have to toggle the increment an...
(1) odpowiedzi
2017-08-13 17:08 How do I create a linq statement to take a list of items and break them into groups of 50 each »
I have a list of this custom class and I'm trying to find out how to use a linq statement in C# to break that list into groups of 50 items each. Any i...
(2) odpowiedzi
2017-08-13 17:08 Select the inner text of a div when selecting checkbox »
When I click on the checkbox it alerts all title inside the div's. I need it only to alert the title inside the div that I click on. I hope that any o...
(3) odpowiedzi
2017-08-13 16:08 Chrome extension id algorithm for local folder »
What is the algorithm of extension id in Chrome for local folders? For instance, given extension inside /usr/mychromeextension , how I calculate its e...
(1) odpowiedzi
2017-08-13 16:08 UISlider & UILabels on custom tableviewcell not updating with avaudioplayer until audio is played a second time »
Background: I have a UITableView which initially loads a few standard UITableViewCells. When one of these is clicked, the table is reloaded but the ce...
(1) odpowiedzi
2017-08-13 16:08 Initialise ArrayList<ArrayList<Int>> with a size in kotlin »
I am trying to initialise a list with a size in the constructor. But the size of my list is 0. val seqList = ArrayList<ArrayList<Int>>(N)...
(1) odpowiedzi
2017-08-13 16:08 Extract and expand Postgres JSON column data into separate table »
There is a Postgres 9.6 table with these columns: targettable ------------------------------------------------------------------ id | name | jsonbda...
(1) odpowiedzi
2017-08-13 16:08 Convert String in 12 (PM /AM)Hour AM PM Time to 24 Hour time android »
I have a problem in convert time coming from server and I want to convert it to 24 hour. I'm using the following code: String timeComeFromServer = "3...
(1) odpowiedzi
2017-08-13 16:08 How to "Remove query string from external resources" in Ruby On Rails? »
I am trying to boost speed. I tested on gtmetrix and got the following results: There are some plugins for this in Wordpress, but I don't know how ...
(1) odpowiedzi
2017-08-13 15:08 Update table in a SQL database »
I am trying to add a column in my table which maps some values in another column to the new column. (Population is another column that I have) This is...
(2) odpowiedzi
2017-08-13 15:08 RecyclerView ItemDecoration Spacing and Span »
I have a GridSpacingItemDecoration class that manages spacing and spans. here is the code: public class GridSpacingItemDecoration extends RecyclerVie...
(2) odpowiedzi
2017-08-13 15:08 Currency translation -- changing an elements place with angularjs »
I am using angular-translate in my project and I have 2 languages in it(Turkish&English). In Turkish, price of an item is written like this: 36
(2) odpowiedzi
2017-08-13 15:08 Doesn't works radio button angularjs »
But I have problem when I checked radio button doesn't change ng-model="title" I changed this code a lot but I can not find a solution. Can someone h...
(2) odpowiedzi
2017-08-13 15:08 Scala recursion explanation from Scala book »
I was going through scala book by Martin Odersky. In chapter10(Composition and Inheritance), in this code: def spiral(nEdges: Int, direction: Int): E...
(1) odpowiedzi
2017-08-13 15:08 Asp.net Core CORS works with GET but not wit POST »
I am using Angular 4 app with Asp core web api which I test on the locahost with different ports. My WebApi requires Windows Authentication(need to ge...
(1) odpowiedzi
2017-08-13 14:08 Selfmade jQuery cannot handle event properly »
Update: It might be the jQuery's trigger() do some extra works in testings, I opened a issue on github. ===== I'm following learnQuery to build my s...
(3) odpowiedzi
2017-08-13 13:08 Web api how to use the token send from the api »
have been digging this for 3 days and still cant find a good answer to this. Really appreciate if someone can help me out For example . A client use a...
(4) odpowiedzi
2017-08-13 13:08 How to emit event from child process to parent process using node »
I am using const { spawn } = require('child_process'); and const process = spawn('node', ['test.js', someparams]); for spawn process using node. Ther...
(3) odpowiedzi
2017-08-13 12:08 rails sort_by method in descending and offset limit »
i just wondering do offset limit and ordering by descending in my custom method rails after i called sort_by total_like method. this is my custom met...
(1) odpowiedzi
2017-08-13 12:08 Why does including an arbitrary STL header resolves these compilation errors? »
I have this global function in my program: static bool IsValidType(const CString& cType) { for (auto pType : {"bmp","jpg","jpeg","gif","tif",...
(3) odpowiedzi
2017-08-13 12:08 XMLHttpRequest cannot load http://localhost:1426/api/Blogs/myarticle Response for preflight has invalid HTTP status code 403 »
I am trying to access web api method but it is not being called and getting following error. XMLHttpRequest cannot load http://localhost:1426/api/Blo...
(0) odpowiedzi
2017-08-13 12:08 How to capitalize first letter of each word while typing in text area using angular »
<html> <body ng-app="app"> <div ng-controller="HelloController"> Enter Text <input class="form-control" ng-model="input...
(4) odpowiedzi
2017-08-13 12:08 Searching approx 150,000 words in a file that contains approx 3 million words »
I am working on text summarization and to build my vocabulary, I have trained a dataset. Now I need vectors of those vocab words from Google's Word2Ve...
(1) odpowiedzi
2017-08-13 12:08 Retrieve value from Some in scala »
I am trying to retrieve case object used for creating enum from string Taking reference from Extracting field from Some in Scala sealed trait Mapp...
(2) odpowiedzi
2017-08-13 11:08 Change Flat Rate shipping cost based on attribute values count in WooCommerce »
I'm trying to specify 2 different Flat rates shipping methods costs without using a plugin: If there is a product in the cart from only one Vendor, ...
(1) odpowiedzi
2017-08-13 11:08 Laravel, how to find duplicated value between 2 arrays with different keys? »
I have 3 arrays, how do I return 'true' if the 2 array have the exact same value? In this case, $array1 and $array2 is true meanwhile $array1 and $arr...
(6) odpowiedzi
2017-08-13 11:08 Laravel 5 , understand the services and containers »
I would like to apply the best laravel practices regarding the services + containers. Usually when I need to use a method anywhere in my app, I do t...
(0) odpowiedzi
2017-08-13 11:08 Testing BLL using Mock, Repository and UnitOfWork C# UnitTesting »
I implement Repository and Unit Of Work in my project, I am using the same architecture here. So, I have 3 layers in my project (DAL, BLL and UI), and...
(1) odpowiedzi
2017-08-13 11:08 How to register an event call a delegated method in a different class using an extension method in .NET Core? »
I'm trying to achieve async data movement between instances of different classes without actually using class references and building an extension met...
(2) odpowiedzi