python

runif

Idempotent and minimal python 3 library for rapid scripting. Provide support for creating file, adding data to them, patching and so on. Why? (Ba)sh scripting is very easy to setup. So we end up using it all the time for simple procedural script. Sometimes is it useful to have idempotent script, like Ansible and Saltstack …

runif Read More »

Commodore Retro Magic Dream: Pyc64 supports I/O on real emulation

I am happy to announce pyc64 now supports save and load programs on top of real emulation. Irmen point me to the right code to look, and I implemented the fix in the weekend; happy hacking!   Commodore-64 simulator in pure Python https://github.com/irmen/pyc64 5 forks. 37 stars. 1 open issues. Recent commits: Merge pull request …

Commodore Retro Magic Dream: Pyc64 supports I/O on real emulation Read More »

Pybash

The project has been renamed into “runif”. This page left only for Google Search happiness. Pybash is a python library to make python script as easy as in Bourne Again Shell (Bash). Bash scripting is very easy to setup. So we end up using it all the time for simple procedural script. Sometimes is it …

Pybash Read More »

Tool Command Language: il papa’ di Java

E’ notizia fresca di stampa il rilascio di Tcl 8.6, che introduce parecchie novità a dispetto del fatto che sia una “minor” release.   In particolatre Tcl 8.6 introduce un motore “stackless”, integra nel linguaggio le estensioni OOP, ed aggiunge le coroutine. Parliamo quindi diffusamente di Tcl, un linuaggio che ho sempre trascurato perché mi sembrava …

Tool Command Language: il papa’ di Java Read More »

Da Python a Ruby o vicerversa

Preludio L’ultima volta che ho provato Ruby è stato nell’aprile del 2005. Avevo sviluppato un paio di progetti di test in RubyOnRails, che allora era già produttivo. Ruby era affascinante, ma la libreria base mi sembrava ancora in stato embrionale e lo abbandonai. RubyOnRails non mi è mai sembrato avesse un vantaggio competitivo rispetto a …

Da Python a Ruby o vicerversa Read More »

(How to Write a (Lisp) Interpreter (in Python))

I like a lot of programming languages. I do not love them with the same intensity. I do not love Lisp for its ((syntax))), but Lisp rocks for its purity: in a tiny bag of concept, you get a lot of stuff. This article, (How to Write a (Lisp) Interpreter (in Python)) show you how it …

(How to Write a (Lisp) Interpreter (in Python)) Read More »

Functional Programming In Depth, part II:Python and Scala retrospection

This is the second article on functional programming. In the first one we talked about scala and the type inference system it brings in the Java Way of Life. I played a bit with python functional howto, building a small game. Before starting I surfing for a bit of libraries and documentation.

Ruby or Python? Well, it depends…

Inspired by this excellent web post “Ruby or Python? Well, it depends…”, I agree with it at 100%: Ruby or Python? This is the Question! Well it might not be the Question, but it’s a common question for many developers looking to break free from the statically typed language they know and learn a dynamic …

Ruby or Python? Well, it depends… Read More »