Questions tagged [mixed]
259 questions
7
votes
3 answers
no access to a java static method from scala
I created a program with java and scala mixed, but I am faced to an error while trying to call a java static method from scala.Here is the code:
object GestionBasesScala {
def sors_tout_de_suite() {
application.launcher.append("SCALA :…

lolveley
- 1,659
- 2
- 18
- 34
6
votes
5 answers
Free .NET Profiler for .NET 4.0 mixed code
I checked out some of the performance profilers mentioned here. But...
EQATec didn't work for me because I have many assemblies I want to profile, and it has a limit on assemblies to profile. How much of a hassle is getting a free license? I'd go…

dario_ramos
- 7,118
- 9
- 61
- 108
6
votes
3 answers
Sorting a mixed list of ints and strings
I am trying to sort the following mixed list of ints and strings, but getting a TypeError instead. My desired output order is sorted integers then sorted strings.
x=[4,6,9,'ashley','drooks','chay','poo','may']
>>> x.sort()
Traceback (most recent…

Aayush
- 129
- 2
- 8
5
votes
2 answers
lme4 mixed model error
What is wrong with the following model:
# simulated data yr = 2; vg = 4, fm = 5, gen = 5
mbb <- data.frame( trait1 = rnorm(200, 15, 4),yr = c(rep (1:2, each = 100)),
vg = c(rep(rep(1:4, each =25), 2)), fm = rep(rep(1:5, each = 5), 8),
…

jon
- 11,186
- 19
- 80
- 132
5
votes
3 answers
Can i use JCheckbox to show "mixed state"
In windows it is possible to show a grayed out JCheckbox, to show that the collection of data which it represents not all items have the same value.
Is this even possible with a JCheckBox?
How do i go about this?
(Hoping there's a way to not…

Houtman
- 2,819
- 2
- 24
- 34
5
votes
5 answers
Is it possible to get the Windows logon name with site running asp.net forms authentication?
I have a website with a large user base configured with asp.net 2.0 forms authentication. Before the user logs in via forms authentication is it possible to retrieve the windows login name/user account name on the machine they are using?
Many…

Shigg
- 51
- 1
4
votes
2 answers
single level variables in mixed model (lme4) error in R
set.seed(1234)
mydata <- data.frame (
individual = factor(1:10),
M1a = factor (sample (c(1,2),10, replace = T)),
M1b = factor (sample (c(1,2),10, replace = T)),
pop = factor (c(rep(1, 5), rep (2, 5))),
yld = rnorm(10, 10, 2))
Here M1a,…

jon
- 11,186
- 19
- 80
- 132
4
votes
4 answers
Error: Invalid character in name at (1)
I am trying to compile a fortran file along with some .h files in FORTRAN. The .h files contain definition for common blocks of variable. When I compile them in Fortran, I get the following error:
integer…

Shaz
- 273
- 2
- 6
- 12
4
votes
3 answers
What is the best way to store multiple data type into database
I am designing a database using MSSQL server 2005 to store log values from different devices.
The datatype of the values can be boolean, int-32 or 64 bit-double
There will be a lookup table called channels:
ID(PK) | int32
device_name |…

LOK
- 349
- 2
- 4
- 15
4
votes
1 answer
JUnit Parameterized Test - multidimensional array mixed types
I am having a problem to parameterized with JUnit 4.x. My parameterized test consists of 1 array mixed type {{integer multidimensional array} and 1 double} as parameter and I am having difficulty of how to declare them. See code below.
Class to Test…
4
votes
3 answers
Unresolved external symbol C++ with Assembler
I am trying to make function in assembler to use it in C. My problem is that i can't compile my code. I am using Visual studio 2012. I've add masm in build custiomization so i dont have idea whats wrong.
C:
#include
int szukaj_max (int a,…

Pan Wolodyjowsky
- 388
- 6
- 26
4
votes
1 answer
Apache shiro: Use ldap for user authentication and database for roles/permissions?
we just started with apache shiro and it works fine in a simple jdbc or ldap based environment.
Be our requirements are the following:
Authentication of the users agains a ldap server
Roles+Permissions should be stored inside a database
Has anyone…

André Schild
- 4,592
- 5
- 28
- 42
3
votes
1 answer
Deploying database and web projects during TFS build process
I have a mixed solution with a couple of Web applications and SQL Database projects.
I also have a remote test server with MS SQL 2012 and IIS 7. The TFS build server is on another machine. All the servers are configured on a single domain.
I would…

JustAMartin
- 13,165
- 18
- 99
- 183
3
votes
1 answer
Mac target being built with iphonesimulator gcc 4.2
In a Mixed 3.2.5 iOS/MacOS project, there is an existing iOS static library target, and I'm adding a MacOS static library. In the target build settings(all configurations) I
set the Base SDK to "Latest Mac OS X"
set Architectures to…

maz
- 8,056
- 4
- 26
- 25
3
votes
2 answers
Scrapy/XPath extract text from different tags ( OR
)
I'm trying to scrape text from a website. Sometimes, the text is written in bullet points, sometimes just in plain text.
Text in Bullet points (XPath): /article/div[@class='border-bottom-grau'][1]/ul/li[1]
Text in Plain text (XPath):…

Julian
- 41
- 5