Data dodania Pytanie
2017-10-11 17:10 How do I (re-)enable real-time CSS editing in Visual Studio? »
In Visual Studio 2015: Create a new empty C# ASP.NET web application (Framework 4.6). Add WebForm1.aspx: <%@ Page Language="C#" %> <!DOCTY...
(1) odpowiedzi
2017-10-11 16:10 Scope on Polymorpic model in Ruby on Rails »
Is it possible to make a scope for a polymorphic model in the following case? I have a polymorphic model named Mutations. class Mutation < Applic...
(2) odpowiedzi
2017-10-11 16:10 Correct way to convert datetime timezone for display »
We are developing a website and currently, the timezone of the website and database is in German time zone (European standard time zone). But the appl...
(2) odpowiedzi
2017-10-11 16:10 sbt: how to merge multiple jars »
Is there a way to use sbt to just merge (assembly) multiple jars in one jar. Let say I have: src (empty) lib/lib1.jar lib/lib2.jar and I want: ...
(1) odpowiedzi
2017-10-11 16:10 codename one FB authentication »
I have been using the following code String clientId = "1171134366245722"; String redirectURI = "http://www.codenameone.com/"; String clientSecret =...
(1) odpowiedzi
2017-10-11 16:10 Using facebook likes to access fb app »
I have created an fb app using a page tab on my fb page. However before a user can access the app I would like the user to like my page first. Is th...
(1) odpowiedzi
2017-10-11 16:10 arranging strings in ascending and descending order »
Alright so my code doesn't work : I'm trying to arrange inputted strings in both a "descending" and an "ascending" but sometimes strings just won't go...
(4) odpowiedzi
2017-10-11 16:10 "GetBy" Methods in Web API »
We are using .NET Core to build a Web API. We need to support "GetBy" functionality, e.g. GetByName, GetByType, etc. but the issue we are running into...
(2) odpowiedzi
2017-10-11 16:10 Combine three tables to make an updatable new table »
Is there any way (except views) to create a new table in mysql that combines data from three or more different tables and when inserting new records i...
(1) odpowiedzi
2017-10-11 15:10 Compute x**k with x, k being arrays of arbitrary dimensionality »
I have two numpy arrays: One array x with shape (n, a0, a1, ...) and one array k with shape (n, b0, b1, ...). I would like to compute and array of exp...
(2) odpowiedzi
2017-10-11 15:10 RSpec - testing race conditions »
I'm trying to write a RSpec controller test checking for race conditions based on this blog post, but created Threads don't "see" the Users created at...
(0) odpowiedzi
2017-10-11 15:10 Custom validator on associated model make other Rspec model tests break »
I have 2 models sharing a simple belong_to/has_many relation: Room belongs to Building I created a custom validator called total_number_rooms_limited...
(1) odpowiedzi
2017-10-11 15:10 Align the text to the center of the spinner »
How to align the text to the center of the spinner? code that I am using: <Spinner android:id="@+id/s_change_type" android:layout_...
(1) odpowiedzi
2017-10-11 15:10 Cannot get a dropdown list to pass data from view to controller? »
I have set up an MVC web app using entity framework for a leave request system. The model, RequestModel, has a value LeaveType, which I would like to ...
(1) odpowiedzi
2017-10-11 14:10 Does the stream.spliterator() close the stream? »
Does the stream.spliterator() implicitly closes the stream, or there is a need to explicitly close it afterwards? Stream<String> stream = Strea...
(3) odpowiedzi
2017-10-11 14:10 How to make rails query unique by a column »
I have a Company model that has many Disclosures. The Disclosure has columns named title, pdf and pdf_sha256. class Company < ActiveRecord::Base ...
(6) odpowiedzi
2017-10-11 14:10 iOS 11 stop default behaviour of swipe UITableViewCell »
In my App, one screen has table view and displaying "Edit" and "Delete" buttons on swipe UITableViewCell. All is working good but issue is in default...
(1) odpowiedzi
2017-10-11 14:10 Can Visual Studio Code use Emmet completion in razor .cshtml files »
I'm using Visual Studio Code (1.17.1, on MacOS 10.13 AND Windows 10) developing an asp.net core mvc web app using razor templating. Visual Studio Code...
(1) odpowiedzi
2017-10-11 14:10 `constexpr` variable "used in its own initializer": Clang vs. GCC »
This question seems related to an existing one, but I do not understand the "portable workaround" provided in the answer there (involving const auto t...
(1) odpowiedzi
2017-10-11 14:10 Django, having Q object filter by function in model »
Inside my Profile model I have the following function: It serves to return the fullname of the user (or a alternative if some data is missing). ...
(1) odpowiedzi
2017-10-11 13:10 Compress a local file by php before storing it in the database »
I want to compress a file in php before sending it to the db. One solution $statement = $pdo->prepare('INSERT INTO test(datablob) VALUES(?);'); $...
(1) odpowiedzi
2017-10-11 13:10 error while call web service with restkit api objective c »
I am trying to call web service and upload image, There is a problem in the mapping, and I have spent many hours on it without success. The error I a...
(1) odpowiedzi
2017-10-11 13:10 Can PostgreSQL's to_tsvector function return tokens/words and not lexemes? »
PostgreSQL's to_tsvector function is extremely useful but in regards to my data set it does a little more than I want it to. For instance: select * ...
(1) odpowiedzi
2017-10-11 13:10 CSS: Font color wont change »
I have a problem with my html file not using a font color defined in a CSS stylesheet. It seems to be partly working but it unfortunately doesn't do w...
(3) odpowiedzi
2017-10-11 13:10 Updating to Rails 5 schema issue »
Recently I have been attempting to update an existing Ruby on Rails application from Rails version 4.2.7.1 to version 5.0.6. After spending a fair amo...
(0) odpowiedzi
2017-10-11 13:10 How to get all the js files actions with method in node js »
I want to fetch all the .js file's action/route with it's method type. Basically I want to make a function that return me all the action and methods....
(1) odpowiedzi
2017-10-11 13:10 Coldfusion: executing dynamic query containing cfqueryparam »
First, the code. I'm making a struct of queries: <cfset myQueryStruct = { qone = "select * from t1 where column = <cfqueryparam cfsqltype='cf_...
(2) odpowiedzi
2017-10-11 13:10 .NET Core How use different Environment? »
I manage to have different Environments in web application. In development environment I need to work on different database connection. I tried to man...
(4) odpowiedzi
2017-10-11 12:10 Laravel count-function in Model, then sortBy count() »
I am trying to Order the Posts table by the number of votes a Post has got. The votes are stored in an other table (Votes: post_id, user_id, vote_ty...
(3) odpowiedzi
2017-10-11 12:10 Handle notifications with app killed IOS »
right now I'm developing an app capable of receiving notifications, and it was going fine, until I stepped on the need of having to send to my server...
(1) odpowiedzi
2017-10-11 12:10 How do I make use of SSLSetALPNProtocols? »
I'm working on a TLS library for the vapor project and am supporting both Apple's (Transport-)Security and OpenSSL for use in an HTTP/2 client and ser...
(0) odpowiedzi
2017-10-11 12:10 CFML & SQL - Performance Increase? »
Brief Overview Okay, so I've written a query that will filter some products, however, I need to try and further tweak this query to allow for even mo...
(2) odpowiedzi
2017-10-11 12:10 Alert keeps staying even after reload »
Express: router.get('/polls/new', isLoggedIn, (req, res) => { res.render('new', {title: 'Create a new poll', route: 'new', isLoggedIn: req.isA...
(1) odpowiedzi
2017-10-11 12:10 Group by in django create wrong query »
we have write down this query in django ManageInterview.objects.filter (post_id=request.data['job_id']) .order_by('-id') .annotate(total=Count('pitch...
(2) odpowiedzi
2017-10-11 11:10 How to convert string to custom object with Convert »
I found following statement in Programming in C# book: IFormattable provides the functionality to format the value of an object into a stri...
(2) odpowiedzi