Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ruby

Python Equivalent Of Ruby's .select

I have an list/array, lets call it x, and I want to create a new list/array, lets call this one z, … Read more Python Equivalent Of Ruby's .select

Script-driven Automation Of Google Refine With Ruby Python Perl Java Or Otherwise

BACKGROUND: Co-worker Adam has been using Google refine to process database downloads with much suc… Read more Script-driven Automation Of Google Refine With Ruby Python Perl Java Or Otherwise

Feasibility Of Using Pipe For Ruby-python Communication

Currently, I have two programs, one running on Ruby and the other in Python. I need to read a file … Read more Feasibility Of Using Pipe For Ruby-python Communication

Ruby Less Gem Equivalent In Python

The Ruby LESS gem looks awesome - and I am working on a Python/Pylons web project where it would be… Read more Ruby Less Gem Equivalent In Python

Image Color Recognition, The General Color

I want to get the most prominent color of an image, and the language can be in either python or rub… Read more Image Color Recognition, The General Color

Aes Python Encryption And Ruby Encryption - Different Behaviour?

From this site I have this code snippet: >>> from Crypto.Cipher import AES >>> ob… Read more Aes Python Encryption And Ruby Encryption - Different Behaviour?

Does Ruby Have Something Like Python's List Comprehensions?

Python has a nice feature: print([j**2 for j in [2, 3, 4, 5]]) # => [4, 9, 16, 25] In Ruby it&#… Read more Does Ruby Have Something Like Python's List Comprehensions?

(embedded?) Ruby/python, Existing Xampp Stack

I've been plugging away for about a year and a bit now with PHP on my local XAMPP install. I… Read more (embedded?) Ruby/python, Existing Xampp Stack

Map Json Response From Ruby To Python

[EDIT]: Sorry I didn't explain in enough details the first time as I kind of wanted to figure t… Read more Map Json Response From Ruby To Python

Amazon Search Api

Is there a good way to access amazon search results (given a query) in Ruby or Python? I've bee… Read more Amazon Search Api

Extracting Visual Event 2 Output Into Script

In the Visual Event description, it says that it extracts 'which elements have events attached … Read more Extracting Visual Event 2 Output Into Script

Integration Testing For A Web App

I want to do full integration testing for a web application. I want to test many things like AJAX, … Read more Integration Testing For A Web App

Python Assignment Quirk W/ List Index Assign, Dict Index Assign, And Dict.get

In ruby 2.4: x = ['a'] y = {} x[0] = y[x[0]] = y.fetch(x[0], y.length) puts y #=> {'… Read more Python Assignment Quirk W/ List Index Assign, Dict Index Assign, And Dict.get

Ruby Hash Equivalent To Python Dict Setdefault

In Python it is possible to read a dictionary/hash key while at the same time setting the key to a … Read more Ruby Hash Equivalent To Python Dict Setdefault

Script-driven Automation Of Google Refine With Ruby Python Perl Java Or Otherwise

BACKGROUND: Co-worker Adam has been using Google refine to process database downloads with much suc… Read more Script-driven Automation Of Google Refine With Ruby Python Perl Java Or Otherwise