1
vote
2answers
48 views

How can I dispatch based on a value of a parameter in Java?

There is a recurring pattern when I have for example an enum or a String and I want to dispatch based on the value of that parameter: public void myMethod(String parameter) { ...
1
vote
1answer
45 views

Try to compress Sha1 down in size, maybe a better option to make unique identifier

I have the following three pieces of information. A group name, a group type, and group ranking. As a quick example "Mom's cats", "Cats", "Top10" The example is way off from what I'm doing with ...
0
votes
1answer
13 views

Please help porting xmlrpc java syntax to python

I'm trying to workout how to use org.apache.xmlrpc.client.XmlRpcClient in python. I'm using code in https://github.com/mcasperson/vaultdemo/blob/master/src/main/java/com/redhat/ecs/App.java : final ...
0
votes
1answer
23 views

When take instance class changes effect in GAE apps?

I recently changed the class from F1 to F2 but did not notice that existing instances were restarted. So, I shutdown all existing instances manually hoping that all new instances will be F2s. How can ...
0
votes
0answers
27 views

Synthetic sentence summary [on hold]

I've seen a lot of NLP libraries like libots that are able to create summaries by selecting a body of text's most important sentences. However, I've been unable to find any libraries capable of ...
2
votes
0answers
11 views

automatic VMware snaphots creation

I need to run different Malware samples on Vmware and record the network traffic for each sample. For each run I need to ensure that the image is clean,so I will use snapshot for the original image, ...
60
votes
12answers
11k views

How can I build a model to distinguish tweets about Apple (Inc.) from tweets about apple (fruit)?

See below for 50 tweets about "apple." I have hand labeled the positive matches about Apple Inc. They are marked as 1 below. Here are a couple lines: 1|“@chrisgilmer: Apple targets big business with ...
-3
votes
0answers
39 views

Python - detect if website tries to execution java or pdf

Trying to detect if website wants my browser to execute java or pdf which is most probably a malware. I am not trying to detect malware itself, only the fact of execution. How this can be done in ...
-1
votes
0answers
43 views

Is memory usage the main cause of instance churn on Google App Engine? [on hold]

I am experiencing sharp drops and spikes in instance count every 30 minutes although the request rate has been stable for 2h at 2.4k RPS. Periodically there are a lot of warmup requests after many ...
1
vote
3answers
53 views

Java: String formatting with placeholders

I am new to Java and am from Python. In Python we do string formatting like this: >>> x = 4 >>> y = 5 >>> print("{0} + {1} = {2}".format(x, y, x + y)) 4 + 5 = 9 ...
-2
votes
0answers
60 views

why do datatypes in different languages have different sizes [on hold]

Why do sizes of datatypes in different languages differ?What about a boolean?Why does its size vary in different languages compared to python,basic??
-5
votes
0answers
139 views

How do I start to learn programming? [on hold]

I am eager to learn some sort of programming language. Does anyone have any suggestions for a programming language to begin with? Maybe some books to read? For the education I want I will have to at ...
0
votes
0answers
117 views

What are the most useful languages to learn actually? [on hold]

I am an engineering student and I am a little bit lost with the multiples programming languages existing, I have been searching for a job and in the required profiles of the companies, it was very ...
0
votes
0answers
17 views

Which load patterns should (not) be used for consistent performance tests on Google App Engine?

I am using Tsung to run daily performance tests against my GAE/J application. I have about 20 different REST endpoints and want to see how average latency and costs change over time. This video ...
0
votes
4answers
990 views

Failed to get environment, + java.lang.ExceptionInInitializerError, Traceback IOError: File not found -

I run windows 7 on a 64bit system. I use netbeans 6.9.1 (the python plug ins are installed) Installed also: Python 2.7.1(64), JDK 6 update 24(64), I'm interested in term extraction so I downloaded ...

1 2 3 4 5 134
15 30 50 per page