Data dodania Pytanie
2017-02-18 18:02 Is there a way to have a public member, unmodifiable from outside the class, without accessor wrapper function? »
As far as I know, this seems to be impossible in a straightforward way. Making the member const makes it const for everyone. I would like to have a re...
(2) odpowiedzi
2017-02-18 18:02 Node.js EJS template: how can I remove the port number from the href? »
I have the below code. I would like to print out the file names in that directory and append an href tag. The below code works but only the port numbe...
(1) odpowiedzi
2017-02-18 17:02 Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.JDBCConnectionException: Could not open connection »
I am new to Spring-MVC and Hibernate. Trying to create a test web application with Spring-MVC(4.0.3) , Hibernate(4.3.5) and using MySQL as back end. ...
(2) odpowiedzi
2017-02-18 17:02 Generic Structure Field Inside another Structure »
Well, it is possible to define a generic structure in C# and it is also possible to use this generic structure as a field to another structure. I know...
(0) odpowiedzi
2017-02-18 17:02 Encrypted string has a slash (/) in the result, which causes problems in a URL »
I hunted around online to find a simple little encryption method that would take a string, encrypt it, and then decrypt it. The idea being that I hav...
(2) odpowiedzi
2017-02-18 17:02 Node app unresponsive after certain amount of time »
I'm trying to figure out why my nodejs app becomes unresponsive after 11h 20min. It happens every time, no matter if I run it on amazon-linux or Red H...
(1) odpowiedzi
2017-02-18 17:02 trying to use cl-lexer on a file containing "{" and "}" »
Using the file "test-lexer.lisp", I have very slightly modified lex to be (defparameter *lex* (test-lexer "{ 1.0 12 fred 10.23e12")) and increased...
(1) odpowiedzi
2017-02-18 17:02 Extend Umbraco media picker to include link option »
In my custom grid editor I have a media picker which selects and image and a content picker which selects a node from the tree. The desired output i...
(1) odpowiedzi
2017-02-18 17:02 Is all my Facebook information stored in a session after I login? »
I am kind of a rookie in PHP and MySQL, so please bear with me :-) I'm also sorry if this has been asked before. From the little that I have gathered...
(1) odpowiedzi
2017-02-18 17:02 Ensuring that javascript functions execute in the specific order »
I have a program that is using ajax post methods and dataTables. After fiddling for weeks, I have determined that I simply do not understand how javas...
(2) odpowiedzi
2017-02-18 17:02 How to integrate SwiftyJSON Cocoapod into Xcode 7.3.1 Swift 2.2 »
I'm using cocoapods to install SwiftyJSON into Xcode 7.3.1 Swift 2.2 and I get 158 build errors. This is the pod I'm using: pod 'SwiftyJSON', :git =&...
(1) odpowiedzi
2017-02-18 16:02 Why does the Duration class not have 'toSeconds()' method? »
I was looking at the Duration class in Java 8 and noticed that it does not have: long toSeconds(); But it has all other toXXXXX() to get days, hour...
(4) odpowiedzi
2017-02-18 16:02 Interface methods with variable argument types »
I have java interface and class implementations that have need for different arguments when invoking similar behavior. Which of the following is mostl...
(2) odpowiedzi
2017-02-18 16:02 Proper way of using Marten for ASP.NET MVC/Core »
I just discovered Marten today and currently trying to learn on how to use this properly. For creating new records, it can be as straight forward as ...
(1) odpowiedzi
2017-02-18 16:02 Sidekiq active job , how to run one job at a time? (non-concurrent run) »
so, i have this job where it is able to be requested multiple times. however, when i run sidekiq, i want the jobs to be run one job at a time, in a qu...
(1) odpowiedzi
2017-02-18 15:02 Equivalent of Objective-C Dispatch Queues in C# .NET approach or idiom »
I'm a newbie to C# .Net world and am creating a .NET API service that writes to an MS Access database table which does full table locks, there will be...
(1) odpowiedzi
2017-02-18 15:02 Java 8 Streams: Collapse/abstract streams parts »
Say I have this Stream: list.stream() .map(fn1) // part1 .map(fn2) // .filter(fn3) // .flatMap(fn4) // part 2 .m...
(2) odpowiedzi
2017-02-18 15:02 Rspec results are different when running one and all specs »
Here's the source code https://github.com/tenzan/eshop When I run a specific spec by rspec spec/features/application_controller_spec.rb, test passes....
(1) odpowiedzi
2017-02-18 15:02 Golang Coding Conventions: When to Break Lines in Code? »
One of my favorite things about go is gofmt. I like the fact that the coding style is standardized in many ways. However there is one thing that bot...
(1) odpowiedzi
2017-02-18 15:02 Django mocking storage on model with update() throws error »
I have a small project and I'm working on some tests. Recently I asked a question: django-test-mocked-imagefield-prevent-upload-or-clean-after-test. I...
(0) odpowiedzi
2017-02-18 14:02 rspec capybara tests only showing "data:," in chrome then failing with EOFError »
Our rspec feature specs that use capybara and chromedriver run fine locally on my mac or in my vagrant Ubuntu environment. Until recently they also wo...
(1) odpowiedzi
2017-02-18 14:02 Unable to retrieve Sessions in Node.JS »
Hello Everyone I am implementing an angular app with Node.js running at the backend.I am setting the sessions in angular JS and i have made my own fac...
(1) odpowiedzi
2017-02-18 14:02 How to set placeholder for dropdown in react js? »
<select> <option selected disabled>Select</option i added an extra option with disabled property but this make...
(1) odpowiedzi
2017-02-18 14:02 Sidekiq Active job function perform_later not working »
so this is my first time working with an active job. I chose the sidekiq adapter , and currently i am having this issue. I want to queue up my jobs ...
(1) odpowiedzi
2017-02-18 13:02 PHP: String to multidimensional array »
(Sorry for my bad English) I have a string that I want to split into an array. The corner brackets are multiple nested arrays. Escaped characters s...
(3) odpowiedzi
2017-02-18 13:02 How to use Apply for Function Application »
I have the following validation logic: def one(a : String) : Validation[String, Int] = if (a == "one") { Success(1) } else { Fa...
(1) odpowiedzi
2017-02-18 13:02 Facebook page plugin always on top of z-index »
It seems like no matter what I try, the Facebook page plugin always goes on top of my fixed position top nav bar. I have used every combo I can think ...
(1) odpowiedzi
2017-02-18 12:02 New window not getting the value on click [window. opener.] »
I am trying to open a new window on click and send the current index value to the new window. Here is my HTML where I want to change the value on cl...
(2) odpowiedzi
2017-02-18 12:02 How to parse email or phone number parameter? »
The parameter email_or_phone_number comes from a client side and I need this for an authentication. However, the model has email and phone number fiel...
(3) odpowiedzi
2017-02-18 12:02 webkit scroller bar custom vertical height »
I am creating a notification box, and for that, want to customize the vertical height of webkit scrollbar so that i can save space and use it for disp...
(1) odpowiedzi
2017-02-18 11:02 Ruby Executing Fiddler Script »
I am try to add request headers for all urls in my selenium automation and I am using ruby. Is there any way to execute fiddler script using ruby as ...
(0) odpowiedzi
2017-02-18 11:02 didDeSelectRowAtIndexPath is not getting call in objective c »
I am new in iOS and I am facing problem regarding to select and deselect the table view cell.For deselect I used didDeSelectRowAtIndexPath but it not ...
(4) odpowiedzi
2017-02-18 11:02 Fadeout on slideshow using javascript »
As the title states I want to add a fadeout animation once an image in my slideshow swaps only using html, css and javascript. I'm not quiet sure how ...
(2) odpowiedzi
2017-02-18 11:02 Using Curl with Json (Node.js) »
I am having trouble getting curl and Json (Node.js) to work when I in curl omit the "[ and ]" part of the JSON-RPC request params. I am using named pa...
(1) odpowiedzi
2017-02-18 11:02 Bash. The quickest and efficient array search »
I need to do an array search so many time in a bash process. I need to know what is the most quick and efficient way to do it. I know how to do it. Th...
(4) odpowiedzi