Data dodania Pytanie
2017-04-21 23:04 How to have one button do both "enable" and "disable" in ASP.net MVC »
I am new to ASP.Net MVC, and still trying to wrap my head around the controller and passing data to the view and back. Here is my question. I have a ...
(0) odpowiedzi
2017-04-21 23:04 sql to create domino ordering records »
I have a list of transportation link and need to order them by from to. I know the original location, placeB record,from location, to location,... re...
(1) odpowiedzi
2017-04-21 23:04 EJS in rails production not compiling properly »
I have a rails app that uses EJS templates. It is running perfectly on development, but in production, it acts like the EJS processing step is skipped...
(0) odpowiedzi
2017-04-21 23:04 How to create a service based in a WSDL of another service »
I am really new in services and are having some problems with one issue. The fact is, i have a WSDL of a SAP system and i need to create a Web API in ...
(2) odpowiedzi
2017-04-21 22:04 Rails advanced Active Record query »
I want to do an advanced Active Record query on my models through a join and count all the records. I don't know whether it's possible to do what I wa...
(2) odpowiedzi
2017-04-21 22:04 Has a std::byte pointer the same aliasing implications as char*? »
C++ (and C) strict aliasing rules include that a char* and unsigned char* may alias any other pointer. AFAIK there is no analogous rule for uint8_t*....
(1) odpowiedzi
2017-04-21 22:04 Rspec nested controller test not passing params into my controller »
I'm having trouble passing my params into a nested route through rspec. I'm using Rails 5 and Rspec 3.5 My spec looks like this: require 'rails_hel...
(1) odpowiedzi
2017-04-21 21:04 Holding onto a MTLTexture from a CVImageBuffer causes stuttering »
I'm creating a MTLTexture from CVImageBuffers (from camera and players) using CVMetalTextureCacheCreateTextureFromImage to get a CVMetalTexture and th...
(1) odpowiedzi
2017-04-21 21:04 More than three client could not remain connected - Twilio »
I have build transfer call module for outbound calls in coldfusion. Now when i tried to connect as client from different browser. Then a capability ...
(0) odpowiedzi
2017-04-21 21:04 pass data from one controller action to another controller action in ASP.Net MVC 5 »
I need to pass data from one controller action to another. I do not want to use a. Session b. TempData Logic Below code is about the forget pass...
(1) odpowiedzi
2017-04-21 21:04 Laravel 5: Querying a many to many relationship without "pivot" in the result »
I have the following tables users id books id favourite_books id user_id (FK) book_id (FK) I have the following Model: class User { ...
(2) odpowiedzi
2017-04-21 21:04 Application Insights Duration stopped working after TraceListener added »
I have a WebAPI project which is deployed to azure. Based on this Azure Friday... I've added Microsoft.AspNet.WebApi.Tracing 5.2.2 to my webapi ...
(0) odpowiedzi
2017-04-21 21:04 Can't decrypt using pgcrypto from AES-256-CBC but AES-128-CBC is OK »
I have problem decrypting data in pgcrypto that was previously encrypted in PHP app. I tried 3 types of encryption: 1) mcrypt - RIJNDAEL 128 CBC 2) m...
(1) odpowiedzi
2017-04-21 20:04 How to create xib for static cell and display in table view in interface builder? »
In Xcode 8.x I have a cell layout that I've created in IB that has it's own xib. I'd like to use the cell xib I've created in several difference scene...
(0) odpowiedzi
2017-04-21 20:04 Deleting UIPicker Data »
We are trying to delete data from a UIPicker view upon selection, however, it is deleting only the first string "Select You're Time" upon election of ...
(0) odpowiedzi
2017-04-21 20:04 A form inserted through ActionCable wont verify »
I have a setup where User A rejects User B's offer. This triggers ActionCable to push a form created using button_to to User B informing him of this, ...
(0) odpowiedzi
2017-04-21 19:04 Shut down Akka HTTP app »
I have a running Akka HTTP application and I want to shut it down. Pressing Ctrl+ C in SBT does not work for me (my shell is currently Git Bash for W...
(1) odpowiedzi
2017-04-21 19:04 DateTime Format "dd/MM/yyyy" on ASP.NET MVC5 »
How I can show DateTime like this dd/MM/yyyy? Here my code [DataType(DataType.Date)] [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")] public Da...
(2) odpowiedzi
2017-04-21 19:04 Native facebook login in ionic 2 »
I am trying to use native FB login in ionic 2 project using cordova-plugin-facebook4. I am testing my app on an emulator which does not have a Faceb...
(1) odpowiedzi
2017-04-21 19:04 Sails.js - Issues with controller »
I'm developing a controller to parse JSON from SoundCloud's API, using the following code (SoundCloudController.js), in order to retrieve some data. W...
(1) odpowiedzi
2017-04-21 19:04 How can I tell that the page has finished loading? »
I'm playing with Chromium's headless web browser API. Based on chrome_remote_shell source code, I came up with the following code: #!/usr/bin/env pyt...
(3) odpowiedzi
2017-04-21 19:04 multi column indexes involving nulls »
I have a where clause WHERE (v.regstnum = voters.regstnum OR voters.regstnum IS NULL) AND (v.regstfrac = voters.regstfrac OR voters.regstfrac IS NU...
(0) odpowiedzi
2017-04-21 18:04 "NameError: wrong constant name" after upgrading Rails 3.2 to 4.2 »
I'm upgrading a Rails app from 3.2 to 4.2 and when running tests, I'm getting NameError: wrong constant name (that's the full error message, nothing s...
(2) odpowiedzi
2017-04-21 18:04 need help tuning hive query »
My original Query - CREATE TABLE admin.FctPrfitAmt_rpt AS SELECT rcn.* FROM (SELECT t1.* FROM (SELECT * FROM admin.FctPrfitAmt t2 WHERE t2.scenari...
(3) odpowiedzi
2017-04-21 18:04 Clisp can't find package »
I have been running a lisp program with allegro common lisp for a couple of days. I need to use clisp now but when I try to compile it I get: SYSTEM:...
(1) odpowiedzi
2017-04-21 18:04 See a Live Facebook video using a VideoView »
Facebook live videos are not available (according facebook's documentation) for mobile web, but is there a way to see a facebook live video using a Vi...
(0) odpowiedzi
2017-04-21 18:04 Laravel | ask password for certain actions »
In my laravel 5.4 project there is a payment form upon submitting which I want to show a dialog asking the logged in user's password(for additional se...
(2) odpowiedzi
2017-04-21 18:04 Rspec: testing model class method »
I am trying to test the model class method. here's how model looks like class Abc class Dbc < ActiveRecord::Base self.table_name = 'vSomeVie...
(1) odpowiedzi
2017-04-21 18:04 Jhipster 4 angular 4 ng2-file-upload return error 403 access forbidden becauze of CSRF »
ng2-file-upload doesn't send CSRF access tokens alongside the upload request, so i get 403 access forbidden and my upload request is just rejected at ...
(1) odpowiedzi
2017-04-21 17:04 Clojure, Attempting to call unbound fn »
I tried to create factorial function in Clojure using recursion (defn fac[x] (if (= x 1) 1 (* x (fac (- x 1))))) Now, when I try to call the functi...
(1) odpowiedzi
2017-04-21 17:04 Node JS: ReferenceError: require is not defined »
I want to use MySQL database. I installed MySQL with command npm i mysql. In order to use it, I wrote: var mysql = require('mysql'); But when I ru...
(5) odpowiedzi
2017-04-21 17:04 How to select an entry and exit record for each user from same table »
I have the following table R_ID DATE Col_A Col_B Col_C 158 20161008 01 99 99 158 20161012 01 01 99 158 201610...
(3) odpowiedzi
2017-04-21 17:04 Join Two Result Sets in Rails 4 »
How do you perform a left outer join on two ActiveRecord::Relation results in rails? Given: sales = DailySaleItem.joins(:daily_sale).where("daily_sa...
(0) odpowiedzi
2017-04-21 17:04 How do I check if Bcrypt password is correct? »
I was using md5 to hash my passwords but learned that using bcrypt was more secure. When using md5, it was easy to check whether a password entered i...
(2) odpowiedzi
2017-04-21 17:04 Are ActiveRecord's find_or_create* methods fundamentally flawed? »
There are a few methods: first_or_create_by, find_or_create_by, etc which work on the principle: talk to the database to try to find the stuff we wa...
(2) odpowiedzi