0
votes
0answers
33 views

SublimeText2 RubyTest “Verify Ruby Syntax” triggers UTF-8 error

I am using rvm and ruby 1.9.3 on Mac OS 10.7.5. I'd like to be able to use Sublime Text 2 RubyTest package to verify my Ruby syntax. However, when I attempt to run Tools -> RubyTest -> Verify ...
-3
votes
0answers
43 views

Find how many “likes” on a page [closed]

I'm wondering if there's a way to programmatically ping a page in a scripting language (ruby or python) and find how many Facebook likes that page has. Is this possible? What about tweets/retweets? ...
1
vote
1answer
13 views

Capistrano “do nohup python” works, “do nohup ruby” does not

I am getting very frustrated trying to write a fairly simple Cap script that will stop and start some daemon processes I have running on remote boxes. essentially, run "for I in {1..40}; do nohup ...
4
votes
5answers
175 views

Function name convention for “convert foo to bar”

I have a very common pattern of "given a Foo, return a Bar," for example, given a user_id, return a User. Is there a conventional naming pattern for these sorts of functions? Following Joel on ...
-1
votes
0answers
91 views

Backend development - java vs python vs ruby [closed]

We are planning to develop a web application for administrative use for meta-data transformations, these are the main features: define (in UI) transformation rules based schema files that can be ...
0
votes
0answers
42 views

RuntimeError: maximum recursion depth exceeded in cmp development env

I've been looking to play with Django and Rails and was hoping I could have both development environments installed on my Mac. I got Django running nicely following this guide ...
0
votes
1answer
13 views

Apache2 Ruby and Python load default website when *.domain.net is set in vhost file

5 sites setup using named vhosts. site1.domain.net (PHP) site2.domain.net (Python) site3.domain.net (Ruby) site4.domain.net (PHP) site5.domain.net (PHP) In the vhost for site1 I also have the ...
4
votes
1answer
46 views

How can one find the Unicode codepoints that a font has glyphs for, on a Debian-based system?

From a scripting language (Python or Ruby, say) on a Debian-based system, I would like to find either one of: All the Unicode codepoints that a particular font has glyphs for All the fonts that have ...
-1
votes
1answer
99 views

Game Development in Python, ruby or LUA? [closed]

I have experience in game development in some game engines in Action Script 3 and C++. However, I would like to improve the productivity and so I want to develop a new project in Python, ruby or LUA. ...
0
votes
0answers
18 views

Turnkey REST bot package [closed]

What are some very low-configuration (i.e. "turnkey") packages in Ruby, Python, or Node.js that are made for rapid development of "bots" that talk to the outside world via REST or similar "web ...
0
votes
1answer
40 views

Library to 'draw' binary trees in Python and Ruby

I'm trying to draw some binary trees in Python and Ruby and I was wondering if I can do it (in Python) with Tkinter or SymPy. In Ruby I have absolutely no idea on how to do it. What I'm trying to ...
0
votes
0answers
37 views

complete mobile/cloud coding platform [closed]

OK, hopefully this is specific enough because it's a very important question... Let's say I have an iPad and I want to do absolutely all of my coding of browser-based (HTML5, etc) apps on it and be ...
10
votes
3answers
163 views

Why is Ruby's Float#round behavior different than Python's?

"Behavior of “round” function in Python" observes that Python rounds floats like this: >>> round(0.45, 1) 0.5 >>> round(1.45, 1) 1.4 >>> round(2.45, 1) 2.5 >>> ...
0
votes
0answers
53 views

Ruby or Python for GTK+? [closed]

I'm starting a project which will involve GTK+ and either ruby or python. From the GTK+ page at wikipedia, http://en.wikipedia.org/wiki/GTK%2B, it looks like Python's bindings are better supported. ...
0
votes
1answer
37 views

Keep script variables in scope when loading from irb

When I execute a script in IPython, by using run myscript.py, the names from the script are then available in the interactive interpreter for me to experiment with further. In irb this doesn't seem ...

1 2 3 4 5 61
15 30 50 per page