0
votes
1answer
39 views

Partial and named arguments in Clojure

I'm a Python programmer just learning Clojure. In Python I love how I can used named arguments in a call to functools.partial: def pow(base, exponent): return base ** exponent exp = ...
3
votes
2answers
75 views

Why is my clojure shell result not like what works in python?

When working in the python repl I often need to edit multiline code. So I use import os then os.system("notepad npad.py") In clojure I first run (use '[clojure.java.shell :only [sh]]) Then I run ...
1
vote
4answers
136 views

How do I make a web server to make timed multiple choice tests?

I'd like to make a webapp that asks people multiple choice questions, and times how long they take to answer. I'd like those who want to, to be able to make accounts, and to store the data for how ...
1
vote
1answer
56 views

Customizable mail server - what are my options? [closed]

I am interested to build a mail service that allows you to incorporate custom logic in the your mail server. For example, user A can reply to [email protected] once and subsequent emails from ...
2
votes
3answers
156 views

What is called a library that allows emulation of a browser for automating purposes?

I have an automating task in which I need to fill several forms in a site with data from word documents. For that I would need a library that emulates a browser and allows me to programatically enter ...
4
votes
5answers
228 views

What is the simplest way for Clojure and Python programs to share information?

I have two questions, one a subset of the other. 1) What is the best way to pass information between a Python and Clojure program. That question could also be extended to any jvm language like ...
72
votes
13answers
5k views

Interpreting a benchmark in C, Clojure, Python, Ruby, Scala and others [closed]

Disclaimer I know that artificial benchmarks are evil. They can show results only for very specific narrow situation. I don't assume that one language is better than the other because of the some ...
-1
votes
3answers
244 views

Advice for technology for server side of game [closed]

I need to write server side for game ( communication between players, transporting data). Game is RTS. I need advice/opinion what to use to develop server side ? ( I am c++/java/python programmer but ...
1
vote
4answers
199 views

What would be the equivalent of this Python hash writting/accessing code on some lisp languages? [closed]

What would be the equivalent of this Python code: class Player: def __init__(self): self.hp = 10 self.pos = [0,0,0] self.items = [] def damage(self,dmg): ...
1
vote
4answers
146 views

Can csv data be made lazy?

Using Python's csv module, is it possible to read an entire, large, csv file into a lazy list of lists? I am asking this, because in Clojure there are csv parsing modules that will parse a large file ...
2
votes
2answers
262 views

Math.pow in Java gives unexpected decimal precision

Please could someone help me with java floats. I have observed some inconsistency with java for e.g Math.pow(10.0,-2)==0.01 Math.pow(10.0,-3)=0.0010 (instead of 0.001) Math.pow(10.0,-4)=1.0 E-4 ...
4
votes
4answers
635 views

Is mixing Clojure with Python a good idea?

I am working on a big project that involves a lot of web based and AI work. I am extremely comfortable with Python, though my only concern is with concurrent programming and scaling this project to ...
3
votes
1answer
426 views

How to configure a Clojure library at runtime?

As a Clojure learning exercise, I am porting Bulbs (http://bulbflow.com), a graph-database library I wrote, from Python to Clojure. One of the things I'm still somewhat fuzzy on is how to structure ...
3
votes
2answers
161 views

Idiomatic Clojure version of Python's KeyError

How should this python be expressed gl_enums = ... # map from name to values for opengl enums # use with gl_enums["enum name"] in clojure? This works, but is it right? (def gl-enums ...) ; map ...
-1
votes
3answers
179 views

What technology to learn additional to PHP, MySQL, JS, HTML, CSS [closed]

So i'm here and i pretty much got a full chain of languages for prette much any purpose: PHP HTML Javascript Java CSS SQL And now i'm questioning what i should do next as an alternative or ...

1 2 3
15 30 50 per page