Data dodania Pytanie
2017-01-11 12:01 Concatenation of every row combination of two numpy arrays »
Given two arrays (A and B) of different shapes, I've like to produce an array containing the concatenation of every row from A with every row from B. ...
(2) odpowiedzi
2017-01-11 12:01 getting redirected to root when having a special character in request - laravel 5 »
here's my routes file: Route::any('target',function(){ return 'got it!'; }); here's my form: <form method='post' action='example.com/target...
(3) odpowiedzi
2017-01-11 12:01 Store List in memory accessible to all users »
So I want to keep a list in memory, with a get and post method. All users must be able to post and read from the same list. I've looked into HttpC...
(2) odpowiedzi
2017-01-11 11:01 Using `instanceof` on objects created with constructors from deep npm dependencies »
Background: I have an npm module that I have common error handling code in, including a custom error: function CustomError () { /* ... */ } CustomEr...
(2) odpowiedzi
2017-01-11 11:01 Laravel validation for field if "image/file" is selected? »
I have a field "image", type is file and need only to validate if image is selected, means it can be also empty. I tried it so: 'avatar' => 'mimes...
(4) odpowiedzi
2017-01-11 11:01 pip install Django on python3.6 »
If I run pip install Django I get Requirement already satisfied: Django in /usr/local/lib/python2.7/dist-packages I'd like to use python3.6 in...
(5) odpowiedzi
2017-01-11 10:01 XOR on contiguous subarrays of an array »
From an array, I need to find the value obtained by XOR-ing the contiguous subarrays, following by XOR-ing the values thus obtained. INPUT One line ...
(1) odpowiedzi
2017-01-11 10:01 Java classloader tracing »
My webapplication throws the following ClassCastException: java.lang.ClassCastException: org.postgresql.jdbc4.Jdbc4ResultSetMetaData cannot be cast t...
(0) odpowiedzi
2017-01-11 10:01 How to sort combination of integer and text in PostgreSQL? »
I have this table id value 1 OK 2 xminimum 3 NO 4 YES I want to sort this table by value where minimum is always first then the rest acco...
(3) odpowiedzi
2017-01-11 10:01 Assign value directly to class variable »
I don't know if this is that easy nobody is looking for that, but I didn't found anything... I want to do the following: public class foo { str...
(2) odpowiedzi
2017-01-11 10:01 popBackStack() behavior differs after support-library upgrade from 23.1.1 to 25.1.0 »
After upgrade from Android support library 23.1.1 to the latest 25.1.0 the behavior from popBackStack() has changed in our application. For example I...
(1) odpowiedzi
2017-01-11 10:01 Sbt update shows Server access Error: java.security.ProviderException: java.lang.NegativeArraySizeException »
Yesterday everything was working fine, but today when I execute sbt update I am getting: [info] Resolving org.log4s#log4s_2.11;latest.release ... [er...
(1) odpowiedzi
2017-01-11 10:01 Comparing 2 different set of data array »
I have an app that are retrieving 2 sets of data. Now I want to do is get the brand of data1 and and the brand of data2 which depends on the date, if ...
(4) odpowiedzi
2017-01-11 10:01 Oracle: Combine two group by queries (which use aggregate function count()) by union or so to get a consolidated result »
I have two tables. TABLE_A and TABLE_B. Both tables maintain columns to save CREATION_USER. But this column has different name in respective tables. ...
(3) odpowiedzi
2017-01-11 10:01 Ordering dictionary in context Django »
I looked at this thread, with an example of sorting dictionaries. I have a dictionary of programme objects where the key is a programme object and th...
(2) odpowiedzi
2017-01-11 10:01 Update parameters of a list in a method: return list or not »
I have a list of objects like the next class: class A { private String property1; private String property2; //Setters && Getters ...
(3) odpowiedzi
2017-01-11 09:01 Ruby programmatically calling method, with variable number of args »
I am trying to do something similar to this: def foo(mode= :serial) if (mode == :serial) then self.send(:bar, "one_type") else self.sen...
(3) odpowiedzi
2017-01-11 09:01 Server handler not found (warbler, winstone,jruby,sinatra) »
I am trying to create war file from my simple jruby app. when I run bundle exec rackup everything works fine and i can connect to it at localhost...
(0) odpowiedzi
2017-01-11 09:01 How to include a blade file which has a full stop (.) as part of the file name in blade »
I have a partial view with the following path. /views/acp/review/check.details.blade.php How do I include such a file using blade because If I do ...
(1) odpowiedzi
2017-01-11 09:01 Swift 3: What is the alternative for Sequence in Swift 2.3 »
So Swift 3 adds sequences, the following code works fine in Swift 3 however I am trying to convert it back to Swift 2.3 What would I replace sequenc...
(1) odpowiedzi
2017-01-11 09:01 ARC working method and Necessity of Strong, Weak and UnOwned references »
I was facing problem with deallocation of View Controller in my code, then I read about how ARC work and about Strong, Weak and UnOwned references. I ...
(1) odpowiedzi
2017-01-11 08:01 Adding element to 2d arraylist in java »
ArrayList<Integer> a =new ArrayList<Integer>(); ArrayList<ArrayList<Integer>> j =new ArrayList<ArrayList<Integer>>...
(4) odpowiedzi
2017-01-11 08:01 CSRF Failed: CSRF token missing or incorrect after upgrading to django 1.10 from 1.8 »
I am sending a post request via AJAX to api (both the current page and api are under the same host). I am getting csrf failed: csrf token missing or i...
(1) odpowiedzi
2017-01-11 08:01 How to generate new CSRF token per request/Form in ASP .net »
How to generate new CSRF token for each request or for each form in a session. I Have tried below code where it generates CSRF token per session. But ...
(0) odpowiedzi
2017-01-11 08:01 Can a convolution function written in tail recursive form? »
I have a function that I want to write in tail recursive form. The function calculates the number of ways to get the sum of k by rolling an s sided di...
(2) odpowiedzi
2017-01-11 08:01 Dramatically long Swift compile time »
I like Apple, I like things that they do, but Swift... oh I have a problem with Swift compile time on my machine. Configuration: MacBook Pro (Retin...
(1) odpowiedzi
2017-01-11 08:01 Store an int in a char buffer in C and then retrieve the same »
I am writing a socket client-server application where the server needs to send a large buffer to a client and all buffers should be processed separate...
(7) odpowiedzi
2017-01-11 08:01 add link to Actions in Django Admin »
In Django admin I have a print button that sends information to the template. I want to add to the Action dropdown link where I checkboxes select the...
(1) odpowiedzi
2017-01-11 07:01 How do large scale databases handle locks? »
I have a question about databases and updating rows. I am currently running a flask application, and the endpoint runs a command like this (Please ac...
(3) odpowiedzi
2017-01-11 07:01 Convert a downloaded image to in-memory static image -IOS »
My scenario goes in this way. At the start of application a list of images will be downloaded from server & once downloaded all images will be con...
(2) odpowiedzi
2017-01-11 07:01 Node.js Error: Can't set headers after they are sent. »
I am writing a simple query to fetch all the list of courses in the mongodb. I get a {} as response, and node.js stops with the error, "Error: Can't s...
(2) odpowiedzi
2017-01-11 07:01 Angular Controller method gives older value of scope »
What i am trying to do: I am creating a directive with input text field. Also taking value and a onChange method as scope parameter. A controlle...
(1) odpowiedzi
2017-01-11 06:01 how to separate input string and populate on table view with how many times it repeated and passe the index to next »
I am very new to iOS and ObjectiveC. I searched everywhere but I didn't find required option and I was not able to understand. UIAlertController * al...
(1) odpowiedzi
2017-01-11 06:01 set it to null and get variable data in just one line »
var checkActiveBrand = $(".brand__title").attr("data-brand-title"); I have this variable to get my .brand__title data but I also want to check if it...
(3) odpowiedzi
2017-01-11 06:01 Why New Date() is always return null, if i pass the value is 1-1-2016? »
If a date format is $scope.timestamp = '2016-12-16 07:02:15 am' I want to format to 16/12/2016 07:02:15 am I have tried this below code and it's w...
(1) odpowiedzi