Marius K

0

votes
0

answer
9

views

Program about the Monty Hall problem not returning expected results

First of all this program is probably stupid inefficient and long but it's my first real program and if you suggest changes in the program keep this in mind. and the text is in Norwegian. If there's anything that is unclear please just ask and I will translate more. The code is written in jupyter us...
Marius K
2

votes
1

answer
5.8k

views

Liferay: No suitable driver found

For my current task I have to deploy our application in a liferay portal. The deployment itself was successful, but when the application is at start up a 'No suitable driver' exception is thrown. Environment: Oracle 10g Express Hibernate 4 Final Liferay 6 with Tomcat 7 OJDBC 6 c3p0 0.9 Build with m...
Marius K.
1

votes
1

answer
117

views

Idiomatic way to use command-line parameters in Scala script

I would like to create a generic Scala script template (using Conscript). The script should take command-line options, for example a flag '-v' to enable verbose mode. In say a Perl script, I would create a global variable $verbose, which I would set to true or false (or rather 1 or 0) depending if t...
Marius K
2

votes
0

answer
146

views

Phonegap keyboard background black [iOS]

I am currently working on a Phonegap app but have a problem when using the basic iOS keyboard. Every time I open the keyboard by focusing a html input field, the keyboard shows up and the view scrolls down so that the input is right above the keyboard. When I now close the keyboard, a black spot is...
Marius K.