Tagged Questions
4
votes
3answers
66 views
Exception Handling guideline- Python vs Java
I am original Java developer, for me, checked Exception in Java is obviously/easy enough for me to decide to catch or throw it to the caller to handle later. Then it comes Python, there is no checked ...
8
votes
1answer
106 views
(Set of) List of sets (Cartesian product(s)) from graph corresponding to set of lists
The set of lists (A):
{[a,b,d,f],
[a,c,d,f],
[a,b,e,f],
[a,c,e,f]}
where a, b, c, d, e and f are items (not necessarily characters in a word),
can be factored as a directed acyclic graph (DAG, ...
2
votes
2answers
57 views
Python Blowfish Encryption
I am struggling due to my incomplete knowledge of Java to convert this encryption code to Python code. The two should have the exact same results. Help would be greatly appreciated.
Java Function
...
0
votes
1answer
47 views
Error: Could not find or load main class at one call and no error at another call in the same script
I am working on an implementation of ESA, I changed one of the java files, compiled it using the command
javac -cp lib/*:esalib.jar ./src/clldsystem/esa/ESAAnalyzer.java
and pasted the .class file ...
-3
votes
0answers
17 views
Using eclipse for Existing Cassandra installation Development on Umbuntu 12.04 [closed]
I am considering using eclipse for Cassandra version 1.0.12 development with Java and python.
I have Java and python 2.7 (Pydev) installed.
What is the best solution to interact and develop using ...
3
votes
1answer
52 views
'@' python decorator used to do something similar to method overriding in java?
I am relatively new to python and have just recently been exposed to the '@' python decorator. I know it has many uses but I would like to clarify if my understanding of one of its uses more ...
0
votes
0answers
17 views
Giving upoaded file (cgi) to java jar as parameter
For a university project we are ought to introduce a webservice - for our own use - where a executable should work with a given file and give back the result.
So far so easy.
The pyhton-client ...
-1
votes
1answer
69 views
Which web framework should i choose/ learn being a beginner in web dev [closed]
I am new to web development have a decent level of expertise in Java, a little bit in python.
Given this which platform do you think suits me well keeping freelancing in mind. Please help me out ...
0
votes
1answer
23 views
Parse Python Configuration File for Java Programs
I have not found anything of this sort on Google and would like to know if there is a quicker way of doing the following:
I need to parse build scripts for Java programs which are written in Python. ...
0
votes
1answer
16 views
Sending out IMs to Lync/OCS programmatically
I need to send out Instant Messages to a Lync/OCS server from Linux programmatically as an alerting mechanism.
I've looked into using python dbus and pidgin-sipe with finch or pidgin, but they aren't ...
0
votes
2answers
24 views
Syntax error while executing java command in python script
i want to execute following command in a python script
java -cp lib/*:esalib.jar clldsystem.esa.ESAAnalyzer "$1" "$2"
but i'm getting a syntax error due to the '*' and ':' in the path of jar ...
0
votes
0answers
19 views
SOAP Clients for Python or Jython
I need to send a file as attachment to our server (written in JSP). Due to some unfortunate reasons, we need to use only python on client side and I see that there are no good libs for Python.
Suds ...
-3
votes
0answers
27 views
Android Sockets send and reveive [closed]
I have a Python program running as a Server on a computer, and I want to connect to it on my Android phone to send and receive data. The server side is using sockets where it can receive data from the ...
1
vote
2answers
29 views
Issue with SimpleDateFormat parsing date generated by strftime [closed]
I have a timestamp string
2013-03-01T11:22:18.01Z generated by strftime("%Y:%m:%dT%H:%M:%SZ"), which is in Python.
Now I'm trying to use Java's SimpleDateFormat to parse this timestamp. Lot's of ...
0
votes
1answer
28 views
Java equivalent to Matlab's `eps` or Numpy/Python's `spacing` function (floating-point relative accuracy)
Background
Matlab's built-in eps function [1] can take a numeric value X and return "the positive distance from abs(X) to the next larger in magnitude floating point number of the same precision".
...