Showing posts with label Ruby. Show all posts
Showing posts with label Ruby. Show all posts

Tuesday, February 7, 2017

Video (2010): Python vs. Ruby: A Battle to the Death: Gary Bernhardt

By Vasudev Ram

Came across this video recently via a chain of links:

Video (2010): Python vs. Ruby: A Battle to the Death: Gary Bernhardt

His blog post about it:

Both video and post are from 2010.

Started watching the video, seems interesting.

The video is also embedded below.


Python vs. Ruby: A Battle to The Death from Gary Bernhardt on Vimeo.


Enjoy.

- Vasudev Ram - Online Python training and consulting

Get updates (via Gumroad) on my forthcoming apps and content.

Jump to posts: Python * DLang * xtopdf

Subscribe to my blog by email

My ActiveState Code recipes

Follow me on: LinkedIn * Twitter

Managed WordPress Hosting by FlyWheel



Friday, December 12, 2014

Streem, new programming language by Ruby creator, Matz

By Vasudev Ram


Saw this thread on Hacker News today:

Streem – a new programming language from Matz (github.com)

Here's the Github project for the Streem language.

It says there that it is still in the design stage, and not working yet. But given that it is by Matz, creator of the Ruby language, it should be worth keeping an eye on. There is one example at the Streem site that is UNIX-like, and another that shows some influence of Ruby syntax.



- Vasudev Ram - Dancing Bison Enterprises

Click here for email about new products and services from me.

Contact Page

Saturday, August 31, 2013

50% off on all O'Reilly books in Back to (Tech) School Sale


By Vasudev Ram

O'Reilly Media is conducting a sale - 50% off on the price of all O'Reilly books. The sale is on until 10 September 2013.

They are calling it the "Back to (Tech) School Sale".


Back to (Tech) School Sale

You can click on the banner above to go to the site for the O'Reilly books sale.

Disclosure: it is an affiliate link, so I will get a small percentage of the sale value, since I recently became an O'Reilly Media affiliate under their Affiliates program for bloggers. More on that in a follow-up post, but let me say for now to my readers, that I'll use the affiliate feature judiciously, so as not to clutter up my blog with too many ads.

I also took a look at the sale site myself. It was interesting to see the variety of books (*) on display (many of which I have bought and read in the past), and also the fact that the O'Reilly book "Learning Python" was among the bestsellers shown.

(*) They do have a large variety and number of books. I have been buying and reading O'Reilly books for many years now, almost from the start of my career, so I've seen that they have books for many of the popular programming languages, such as C, C++, Python, Java, Scala, Perl, Ruby, JavaScript, etc., as well as books on many other programming, system administration, web design and other computer topics.


Back to (Tech) School Sale


There are 7000 titles on sale.

This is a good opportunity to pick up some good O'Reilly books at half the cost.

And if you're an author or aspiring author yourself, you may wish to check out my xtopdf toolkit for PDF creation from other file formats. xtopdf includes a few tools for creating PDF ebooks, such as PDFBook.py, which lets you create a PDF ebook from a set of chapters stored in text files, and XMLtoPDFBook.py, which lets you create a PDF ebook from a set of chapters stored in XML format. xtopdf is released as open source software under the BSD License, so it is free for any use, commercial or non-commercial.

Packt Publishing of the UK/India uses xtopdf in their book production workflow, and the Software Freedom Law Center (SFLC) of the USA uses xtopdf for their e-discovery work (as I've been told by people from Packt and SFLC respectively). xtodf is written in Python and uses the open source version of the Reportlab toolkit.

Here is a guide to installing and using xtopdf, which can help you get started with creating PDF books using it.

Here are two posts about XMLtoPDFBook:

Create PDF books with XMLtoPDFBook.

XMLtoPDFBook now supports chapter numbers and names.


Read all xtopdf posts on jugad2.

Read all Python posts on jugad2.



- Vasudev Ram - Dancing Bison Enterprises


Contact me

Tuesday, August 13, 2013

The most-watched Python repositories on Github


By Vasudev Ram

Saw this via this Python Reddit thread.

Github keeps track of the most-watched repositories by language.

Here are the most-watched Python repositories on Github

And similarly, here are the most-watched Ruby repositories on Github.

Interesting to see the projects on those lists. Some are obviously well-known, like Django and requests for Python, Rails for Ruby, and so on. But there are also some that many people may not have heard of.

I've blogged about some of those Python projects in the past, such as boto, glances, pattern, scrapy, youtube-dl, kivy, watchdog, topaz. You should be able to find most of those posts by doing Google searches of the form jugad2+kivy or jugad2+boto.

- Vasudev Ram - Dancing Bison Enterprises

Python posts on jugad2

xtopdf posts on jugad2

Contact me



Saturday, June 8, 2013

Riemann and Bernhard, a distributed systems monitor and Python client


(Updated the post to fix two errors; see below.)

Riemann is a monitoring tool for distributed systems.

https://github.com/aphyr/riemann

It seems to be named after the famous mathematician Riemann:

http://www.google.com/m?q=riemann

Riemann and its configuration files are written in Clojure.

I saw Riemann recently and took a brief look at it, also looked at some of the related links below, and found it pretty interesting.

A brief overview of Riemann:

You write a Riemann configuration file in Clojure.

This file describes what events from what systems (i.e. hosts on your network) you are interested in, and how you want Riemann to handle them.

Though Clojure is a Lisp, the Riemann config file syntax is easy to understand, even without looking at the documentation (for simple uses, anyway, such as in the easier examples).

Processing can include things like summarization (within or across hosts, event types, threshholds, etc.), grouping, filtering, emailing alerts to concerned entities based on events or the (conditional) results of processing events, and even some support for taking action on events, such as restarting a process that has failed.

Riemann also has integrations with Graphite and Librato Metrics.

(It was interesting to see that Librato is headed by Fred van den Bosch, who was earlier a senior technology executive (CTO, SVP) at Veritas Software (now part of Symantec), where I worked earlier.)

Riemann clients, which can of course be servers of various kinds, send events to Riemann using (Google's) Protocol Buffers, over TCP or UDP.

http://en.m.wikipedia.org/wiki/Protocol_Buffers

http://code.google.com/p/protobuf/

Client libraries for Riemann are available for several popular languages, and there is a guide to writing your own client.

http://riemann.io/clients.html

Bernhard is a Python client library for Riemann.

https://github.com/banjiewen/bernhard

It seems straightforward to use for simple cases:
you import the Client class from Bernhard, create an instance of it, and call methods on it, to send events that are of interest to Riemann, to be processed and acted upon.

Riemann also comes with a web dashboard written with Ruby and Sinatra.

(Updated the paragraph below for errors in the spelling of the Riemann author's name, and the names of the big users.)

I wrote to Kyle Kingsbury (@aphyr on Twitter), the creator of Riemann; he said that there are at least a few big Riemann users, like The Guardian and the New York Times.

Related links for Riemann:

https://news.ycombinator.org/item?id=4962849

A Python wrapper for Riemann that used Bernhard:

https://github.com/exoscale/python-riemann-wrapper

http://www.spootnik.org/entries/2013/05/21_using-riemann-to-monitor-
python-apps.html

A Node.js tool inspired partly by Riemann:

http://blog.nodejitsu.com/waiting-for-godot

- Vasudev Ram
dancingbison.com

Wednesday, February 6, 2013

Topaz, a new Ruby written in Python

Announcing Topaz: A New Ruby — Topaz 0.1 documentation

Seen via a post by @jnoller (Jesse Noller of the PSF) on Hacker News. It is the top post there right now.

Topaz is written in Python, using RPython, the tool that PyPy is also written in. They claim it has a fast garbage collector and a JIT. However, it is in an early version now, so not complete.

Some of the developers of other Ruby implementations, such as JRuby and Rubinius, have advised the developers of Topaz.

Interesting  ...

PyPy itself is also interesting because it is an implementation of Python written in (R)Python, and yet, I've read somewhere that it runs some Python code faster than CPython.

http://pypy.org/

- Vasudev Ram

Tuesday, October 2, 2012

WebROaR, Ruby application server

By Vasudev Ram

WebROaR is a Ruby application server.



Claimed features:

[
Runs Ruby on Rails™ as well as other Rack compliant applications

Runs multiple applications simultaneously

Intelligent load balancing

Dynamically reaps stuck Ruby processing instances

Provides run time performance data for the deployed applications

Generates notifications in case exceptions occur in any of the deployed applications
]

- Vasudev Ram - Dancing Bison Enterprises


Friday, August 31, 2012

ICE from ZeroC, a cooler and lighter CORBA

By Vasudev Ram



I had come across ICE from ZeroC some time ago.

[ UPDATE: Customers of ICE / ZeroC. They seem to be doing well since I last checked them out. The customers include (mentioning only some well-known ones): GE Healthcare, Digium (creator of Asterisk, open source PBX/telephony software, Lockheed Martin, SGI, Northrop Grumman, Hewlett-Packard, and Boeing/SAIC. ]

ICE - Internet Communications Engine, from ZeroC.com, is (excerpts):

[ a distributed computing platform with support for C++, .NET, Java, Python, Objective-C, Ruby, PHP, and ActionScript. Ice is used in mission-critical projects by companies all over the world.

Ice is easy to learn, yet provides a powerful network infrastructure and vast array of features for demanding technical applications.

Ice is free software, available with full source, and released under the terms of GNU General Public License (GPL). Commercial licenses are available for customers who wish to use Ice for closed-source software. ]

It also has support for Android, the .NET Compact Framework, Red Hat Enterprise Linux 6 and Amazon Linux.

- Vasudev Ram - Dancing Bison Enterprises

Friday, August 24, 2012

Paul Lutus's software work and round-the-world sail journey

By Vasudev Ram


I was reminded about Paul Lutus (whose work I had come across some years earlier, specifically, his free HTML editor, Arachnophilia, which was good), by reading his comments in a Hacker News thread.

UPDATE: I forgot to mention - what I saw on his Wikipedia page - that he was the creator of the best-selling Apple Writer word processor for the Apple II - which was probably one of the initial reasons for Apple's products becoming a big hit in the mid-1970's or so. (On a personal note, I've worked on some of the home computers from those days, including the Apple II, the Commodore 64, the Sinclair Spectrum, the BBC Micro and the IBM PC Jr. Most of them were great fun to use and write program on, though of course much less powerful than today's PCs. But the software on them tended to be very well written, efficient and fast, in comparison to a lot of the bloatware one comes across nowadays).

I saw that the HN username of one of the commenters was lutusp, and that made me remember his site and Arachnophilia.

The thread itself, and the post that sparked it, are interesting in their own right.

The post that sparked the HN thread:

Selling $2,000+ Worth Of My Unfinished Book (planscope.io)

HN thread about the above post

Then I googled for more info, and came across his web site and a Wikipedia page about him, both of which I found interesting. I did not know earlier that there was a Wikipedia page about him. It has some interesting info, apart from his software stuff, about work he did for NASA, etc.

Paul Lutus Wikipedia page

Excerpts from his Wikipedia page:

[ Before becoming a software author, Lutus designed electronics for the NASA Space Shuttle[1] and created a mathematical model of the solar system that was used by the Jet Propulsion Laboratory during the Viking Mars mission. ]

[ Between 1988 and 1991 Lutus sailed solo around the world in a 31-foot sailboat. His book about the sail, Confessions of a Long-Distance Sailor is available for free on his website.[7] ]



Paul Lutus web site

Some of the software written by him:

RPN (Reverse Polisn Notation) calculator in Python

Signal Generator (three versions of this program, in Python and Java, among others)

The Python version of SignalGen

A scientific / financial calculator

There are many other programs available on his site, most or all of which are free to download, run and study. Linux, Java, Python, and Ruby are some of the topics on his site. I have not checked all the links yet, but probably many of them have software to check out.

I downloaded his round-the-world sailing book and am going to read it over time :)

- Vasudev Ram - Dancing Bison Enterprises

Sunday, August 19, 2012

DocRaptor, HTML to PDF convertor

By Vasudev Ram


DocRaptor is a tool for HTML to PDF conversion.
It supports HTTP POST requests using C#, Curl, jQuery, Node.js, PHP, Prototype.js, Python, Ruby, and Rails.

DocRaptor examples

DocRaptor Python examples

- Vasudev Ram - Dancing Bison Enterprises



Monday, March 26, 2012

UNIX means YOU get to choose your tools (*)

http://newcome.wordpress.com/2012/03/06/functional-programming-and-the-death-of-the-unix-way/

See the comment by Jmp on the above post.

(*) And if no tool is _just_ right for the job at hand, UNIX facilitates writing your own (in C, sh, sed/awk/et al, or in Perl, Python, Ruby, or other languages, with great integration and interaction with the OS, the shell and the many powerful command-line tools that are an integral part of UNIX.

Want proof? Just read the book "The UNIX Programming Environment" by Kernighan and Pike, and try out many of the examples in it.