Data dodania Pytanie
2017-12-08 17:12 Implementing "JSON Merge Patch" in ASP.NET Core - best way do differentiate between null and not defined property »
I would like to create and endpoint conforming to "JSON Merge Patch" https://tools.ietf.org/html/rfc7396 Please do not confuse it with "JavaScript Ob...
(1) odpowiedzi
2017-12-08 17:12 How to pass runtime parameter to ViewComponent Invoke method »
I am trying out the .net Core ViewComponents instead of partial views. Here is my scenario. I have a View that contains a few kendo listbox controls....
(1) odpowiedzi
2017-12-08 17:12 How to sum column values from two tables and preserve another column which is only in one table »
i have created tables item and item2, I know maybe it's data redundancy but i want to know how can select it, and create a view? create table item( ...
(3) odpowiedzi
2017-12-08 17:12 get element of vector in R just once whet it changes »
I am currently trying to find out in which order some elements are placed in a vector. I am working with really large vectors with elements of type 'c...
(1) odpowiedzi
2017-12-08 17:12 Why does auto seemingly deduce a reference when using structured bindings? »
Consider the following code that uses structured bindings from C++17: int a = 0, b = 0; auto [x, y] = std::tie(a, b); y = 1; std::cout << a &lt...
(1) odpowiedzi
2017-12-08 17:12 JSON Web Token not invalidated when payload has been changed »
I just noticed a massive flaw with my JWT setup - I have a WebAPI project and am authenticating using JWT as set up in this guide here. I am sending ...
(0) odpowiedzi
2017-12-08 17:12 chrome.downloads.drag() crashes chrome in React »
I'm currently building a chrome extension with React. The functionality I'm having trouble with right now is allowing users to drag a file that the ex...
(0) odpowiedzi
2017-12-08 16:12 How to reset permission of geolocation in wkwebview »
If once user didn't allow location to specific site in WKWebview and again user open same website then WKWebview will not take permission of geolocati...
(1) odpowiedzi
2017-12-08 16:12 RDS instance unusably slow after restoring from snapshot »
Details: Database: Postgres. Version: 9.6 Host: Amazon RDS Problem: After restoring from snapshot, the database is unusably slow. Why: Something AW...
(1) odpowiedzi
2017-12-08 16:12 Is it OK to return from an async method before the final await? »
I have a web page (aspx) that calls an async method in a class. The async method looks something like this: public async Task<MyThing> GetMyTh...
(1) odpowiedzi
2017-12-08 16:12 what is '???' in Scala? »
I'm learning Scala using IntelliJ IDE. When I subs class Element and override contents method, IDE provided default implementation for contents metho...
(1) odpowiedzi
2017-12-08 16:12 dotnet bundle not working in .net core mvc application »
I try to use bundleconfig.json, which is standard added to the project when I started the prjoect. I read every where they say you have to run dotne...
(0) odpowiedzi
2017-12-08 16:12 how to render a component by string name »
I seem to be unable to render components using name strings. I wanted to be able to dynamically generate component name strings which have existing co...
(1) odpowiedzi
2017-12-08 16:12 Converting code in Java 8 streams »
Is there any easy way to convert this code into java 8 using streams and forEach. List<List<IStitchable>> listOfEnvelopes = new ArrayList...
(1) odpowiedzi
2017-12-08 15:12 Why am I not receiving a console.log that a new socket user has connected? »
I'm more or less following the socket.io documentation and trying to apply it to my slightly different project but I believe I'm making some mistake. ...
(1) odpowiedzi
2017-12-08 15:12 get back ruby files (*.rb) files from .class »
I have a java bytecode (.class) generated from jruby code sources, Please, i need to know if there is a way to decompile it to get back the code ...
(0) odpowiedzi
2017-12-08 15:12 Catch an invalid HTTP request method globally »
I would like to restrict my Web API endpoints to certain HTTP methods, such as GET and POST. I have searched the internet and I found out that you can...
(2) odpowiedzi
2017-12-08 15:12 Using Java, take in a Json message, find a subset of fields, check said fields, then map to new Code values and export as Json »
Okay, I'm new to using Json in Java and heres what I'm looking to do. Using Java I'm taking in a Json message, something like: { "toy": [ ...
(1) odpowiedzi
2017-12-08 15:12 cx_Oracle on 10g Client 32 Bit Unable to Acquire Environmental handle »
I am currently trying to set up a python script that connects to an Oracle DB to get Order Positions and calculcate certain KPIs and write them into a...
(0) odpowiedzi
2017-12-08 14:12 Combine multiple OR and LIKE mySql »
I understand that LIKE can not be used in inside IN clause from here. My table has col1, col2, col3 columns. How can I find multiple values in multi...
(1) odpowiedzi
2017-12-08 14:12 Misunderstanding of array_values »
I've a problem to unerstand correctly array_values, when I do: $array[] = 'data1'; // I want [0 => 'data1'] unset($array[0]); // I want [] $array ...
(1) odpowiedzi
2017-12-08 14:12 Rails: ActionController::Parameters#delete returns the value instead of key-value pair? »
According to Rails API ActionController::Parameters#delete Deletes and returns a key-value pair from Parameters whose key is equal to key. If the ...
(0) odpowiedzi
2017-12-08 14:12 Cakephp 3.5.6 disable CSRF Middleware for controller »
I'm trying to disable the CSRF check for a single controller (API), but I'm unable to find how I'm able to achieve this. The pre 3.5.0 CSRF Component...
(1) odpowiedzi
2017-12-08 14:12 Rails rake index task »
I'm trying to rake the following index task namespace :search_suggestions do desc "Generate search suggestions from items" task :index => :env...
(1) odpowiedzi
2017-12-08 13:12 Can NodeJS function app.listen() Choose site IP? »
I have a Windows Server host with two network cards: 192.168.1.205 and 192.168.1.206; 192.168.1.205 Running IIS and using 80 port and 443 port which i...
(0) odpowiedzi
2017-12-08 13:12 Error: [ng:areq] Argument 'fn' is not a function, got undefined (problems with Angular service) »
I have a problem with an Angular 1.x Service. This is the code: export const MyService = () => { //some code }; And when I try to inject tha...
(1) odpowiedzi
2017-12-08 13:12 Testing Speed of Various Sorting Algorithms »
I've just started learning about various algorithms, and I'm attempting to write a program that tests the speed between the algorithms and outputs the...
(0) odpowiedzi
2017-12-08 13:12 String parameter having name of column of database to actual column value »
I have a method that sends a string parameter(paramType) having name of column of database. and I want to get the value of the column in my Select sta...
(1) odpowiedzi
2017-12-08 13:12 Tagging pages in facebook sharing - iOS Facebook SDK »
I'm working with Facebook sharing in my iOS app. I have tried searching the possibilities for tagging pages but found none. Is it possible to tag page...
(0) odpowiedzi
2017-12-08 13:12 Ordering and binding in for loop r »
I want my for loop to store data in rows, based on the correct order as specified in the for loop, but somehow the data is bound randomly in a new dat...
(4) odpowiedzi
2017-12-08 13:12 Condition in controller laravel »
I have this code in my Laravel controller public function index($id=false) { //get resto by name $resto_nom = DB::table('restos as r') ...
(1) odpowiedzi
2017-12-08 13:12 C++ concepts and template specialization; how to get a user-friendly compiler error »
I have two (or more) templates that can each adapt a specific set of classes, identified by a concept. To make it possible for the two templates to ha...
(2) odpowiedzi
2017-12-08 12:12 How to bulk delete records using temporary tables in Hibernate? »
I have a question. Where did these methods go? Dialect.supportsTemporaryTables(); Dialect.generateTemporaryTableName(); Dialect.dropTemporaryTableAft...
(1) odpowiedzi
2017-12-08 12:12 insert table in a single cell inside repeater »
I am trying to build a table structure using asp.net Repeater like this below: column 1 | Column 2 Row1 cell1 c...
(4) odpowiedzi
2017-12-08 12:12 Is this an abuse of Scala pattern matching? »
As in most languages, Scala has an if statement. However, using pattern matching I can achieve the exact (?) same result using code of the form: (con...
(2) odpowiedzi