Angel \”Java\” Lopez on Blog

April 27, 2012

Parallel Programming: Links, News and Resources (1)

Filed under: Concurrency, Links, Parallel Programming, Programming — ajlopez @ 8:12 pm

Next Post

Parallel programming, leveraging multicore processor, or even distributed machines, is an actual topic. Some of the links I read/collected about this topic.

Patterns for Parallel Programming: Understanding and Applying Parallel Patterns with the .NET Framework 4
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=19222

ztellman’s calx at master – GitHub
https://github.com/ztellman/calx
Calx is an idiomatic wrapper for OpenCL, which is an abstraction layer for parallel computation.

Workshop on Parallelism, and a “breakthrough” in combinatorial geometry
http://geomblog.blogspot.com/2010/11/workshop-on-parallelism-and.html

Back to (Parallel) Basics: Don’t Block Your Threads, Make Async I/O Work For You
http://www.hanselman.com/blog/BackToParallelBasicsDontBlockYourThreadsMakeAsyncIOWorkForYou.aspx

The Renaissance Virtual Machine
http://soft.vub.ac.be/~smarr/rvm-open-source-release/

smarr’s RoarVM at master – GitHub
https://github.com/smarr/RoarVM
RoarVM, formerly known as the Renaissance Virtual Machine (RVM) is developed as part of a IBM Research project to investigate programming paradigms and languages for manycore systems of the future.

YouTube – Clojure Demo
http://www.youtube.com/watch?v=CFCYVfApPUc&feature=share

Thinking about massively parallel Smalltalk
http://wiki.squeak.org/squeak/537

InfoQ: Functional Approaches To Parallelism and Concurrency
http://www.infoq.com/presentations/Functional-Approaches-To-Parallelism

Threading in C# – Free E-book
http://www.albahari.com/threading/
C# supports parallel execution of code through multithreading. A thread is an independent execution path, able to run simultaneously with other threads.

Helios: Heterogeneous Multiprocessing with Satellite Kernels
http://research.microsoft.com/apps/pubs/default.aspx?id=81154

Threading in C# – Part 5 – Parallel Programming
http://www.albahari.com/threading/part5.aspx
In this section, we cover the multithreading APIs new to Framework 4.0 for leveraging multicore processors:These APIs are collectively known (loosely) as PFX (Parallel Framework).

CRDTs: Consistency without concurrency control
http://pagesperso-systeme.lip6.fr/Marc.Shapiro/papers/RR-6956.pdf

The Weekly Source Code 56 – Visual Studio 2010 and .NET Framework 4 Training Kit – Code Contracts, Parallel Framework and COM Interop
http://www.hanselman.com/blog/TheWeeklySourceCode56VisualStudio2010AndNETFramework4TrainingKitCodeContractsParallelFrameworkAndCOMInterop.aspx

J-Machine Project Page
http://cva.stanford.edu/projects/j-machine/
The J-Machine is a fine grained concurrent computer designed by the MIT Concurrent VLSI Architecture group (now located at Stanford University) in conjunction with Intel Corporation.

Parallel Programming with Hints
http://bartoszmilewski.com/2010/05/11/parallel-programming-with-hints/
Wouldn’t it be nice to be able to write sequential programs and let the compiler or the runtime automatically find opportunities for parallel execution?

Beyond Locks and Messages: The Future of Concurrent Programming
http://bartoszmilewski.com/2010/08/02/beyond-locks-and-messages-the-future-of-concurrent-programming/

Parallelism in .NET – Part 18, Task Continuations with Multiple Tasks
http://reedcopsey.com/2010/07/19/parallelism-in-net-part-18-task-continuations-with-multiple-tasks/

InfoQ: Multicore Programming in Haskell
http://www.infoq.com/presentations/Multicore-Programming-in-Haskell

Microsoft Biology Foundation 1.0 Released
http://blogs.msdn.com/b/pfxteam/archive/2010/07/12/10037496.aspx

Designing Parallel Algorithms: Part 1
http://drdobbs.com/go-parallel/article/showArticle.jhtml?articleID=223100878

Dr.Dobb’s Go Parallel
http://drdobbs.com/go-parallel/

DataAllure: Hadoop for DNA sequence analysis
http://blog.dataallure.com/2010/04/hadoop-for-dna-sequence-analysis.html

A Pattern Language for Parallel Programming
http://www.infoq.com/presentations/Pattern-Language-Parallel-Programming
Ralph Johnson presents a pattern language that he and his colleagues are working on in an attempt to solve the hard issues of parallel programming through a set of design patterns: Structural Patterns, Computational Patterns, Parallel Algorithm Strategy Patterns, Implementation Strategy Patterns, and Concurrent Execution Patterns.

Back to (Parallel) Basics: Do you really want to do that? or Why doesn’t the new Parallel.For support BigInteger?
http://www.hanselman.com/blog/BackToParallelBasicsDoYouReallyWantToDoThatOrWhyDoesntTheNewParallelForSupportBigInteger.aspx

InfoQ: Billy Newport Discusses Parallel Programming in Java
http://www.infoq.com/interviews/billy-newport-parallel

Multi-core Parallelization in Clojure – a Case Study
http://www.slideshare.net/adorepump/multicore-parallelization-in-clojure-a-case-study

Patterns of Parallel Programming: A Tutorial on Fundamental Patterns and Practices for Parallelism
http://www.microsoftpdc.com/2009/Patterns-of-Parallel-Programming

The Design of a Task Parallel Library
http://research.microsoft.com/pubs/77368/TheDesignOfATaskParallelLibrary(oopsla2009).pdf

My Links
http://delicious.com/ajlopez/parallel

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

April 23, 2012

Python: Links, News And Resources (3)

Filed under: Links, Programming Languages, Python — ajlopez @ 4:08 pm

Previous Post

More links about this programming language:

PEP 8 — Style Guide for Python Code
http://www.python.org/dev/peps/pep-0008/

How to Think Like a Computer Scientist
http://openbookproject.net/thinkcs/python/english3e/

Desarrollo de aplicaciones para escritorio multiplataforma
https://sites.google.com/site/mavignau/de-visual-basic-a-python-como-y-porque

Python for Windows extensions
http://sourceforge.net/projects/pywin32/

PET: Python Entre Todos
http://revista.python.org.ar/

Finanzas Cuantitativas con Python
http://revista.python.org.ar/5/es/html/finanzas-cuantitativas-con-python.html

First Class Enums in Python « Python recipes « ActiveState Code
http://code.activestate.com/recipes/413486-first-class-enums-in-python/

Creating constant in Python – Stack Overflow
http://stackoverflow.com/questions/2682745/creating-constant-in-python

Constants in Python « Python recipes « ActiveState Code
http://code.activestate.com/recipes/65207-constants-in-python/?in=user-97991

Ordenando MVC con las ideas de Merleau-Ponty
http://revista.python.org.ar/5/es/html/ordenando-mvc-con-las-ideas-de-merleau-ponty.html

from gc import commonsense
Optimizacion de memoria
http://revista.python.org.ar/5/es/html/from-gc-import-commonsense-optimizacion-de-memoria.html

Lib Free or Die Hard
http://revista.python.org.ar/5/es/html/lib-free-or-die-hard.html

Python y Arduino
http://revista.python.org.ar/5/es/html/python-y-arduino.html

Desarrollo de aplicaciones móviles para Android con Python
http://revista.python.org.ar/5/es/html/desarrollo-de-aplicaciones-moviles-para-android-con-python.html

Software Carpentry » Aliasing
http://software-carpentry.org/4_0/python/alias/

Python 3 primer, Part 2: Advanced topics
http://www.ibm.com/developerworks/linux/library/l-python3-2/

31.2. ast — Abstract Syntax Trees — Python v2.7.2 documentation
http://docs.python.org/library/ast.html#module-ast

31.1. parser — Access Python parse trees — Python v2.7.2 documentation
http://docs.python.org/library/parser.html

parsing – Python: How best to parse a simple grammar? – Stack Overflow
http://stackoverflow.com/questions/2945357/python-how-best-to-parse-a-simple-grammar

Wiki – pygame – python game development
http://pygame.org/wiki/about

Calico – IPRE Wiki
http://calicoproject.org/
The Calico Project (formerly known as Pyjama) is a framework for learning, doing, and playing with computation.

PyGTK
http://www.pygtk.org/downloads.html
PyGTK lets you to easily create programs with a graphical user interface using the Python programming language. The underlying GTK+ library provides all kind of visual elements and utilities for it and, if needed, you can develop full featured applications for the GNOME Desktop.

ulipad – python editor based on wxPython – Google Project Hosting
http://code.google.com/p/ulipad/

Wingware The Intelligent Development Environment for Python Programmers
http://wingware.com/

Sites Using Haystack — Haystack 2.0.0-beta documentation
http://django-haystack.readthedocs.org/en/latest/who_uses.html

Extendiendo NINJA-IDE Symbols y Code Locator
http://www.diegosarmentero.com/2012/02/extendiendo-ninja-ide-symbols-y-code.html

NINJA IDE | Ninja-ide Is Not Just Another IDE
http://ninja-ide.org/

Haystack – Buscando la aguja en el pajar
http://revista.python.org.ar/4/es/html/haystack.html

rad2py – Rapid Aplication Development platform for python – Google Project Hosti…
http://code.google.com/p/rad2py/

Pilas Engine, game development
http://www.pilas-engine.com.ar/blog

My Links
http://delicious.com/ajlopez/python

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

April 21, 2012

Ruby: Links, News And Resources (5)

Filed under: Links, Programming Languages, Ruby — ajlopez @ 5:22 pm

Previous Post
Next Post

More links about this programming language:

Some Thoughts on (Ruby) Classes After 18 Months of Clojure on Vimeo
http://vimeo.com/34522837

InfoQ: RESTfulie – A Gem To Create Hypermedia Aware Services And Clients
http://www.infoq.com/news/2009/11/restfulie-hypermedia-services
Guilherme Silveira writes to InfoQ on the release of a ruby gem that makes developing hypermedia aware services and clients that consume them a breeze. He saidMuch has been spoken about what is and what are the advantages of using rest/restful ideas in one’s application. Last year, Mark Baker wrote …

Learn Ruby with the EdgeCase Ruby Koans
http://rubykoans.com/
These instructions are for *nix platforms. We also have Windows instructions .You can run the tests by calling the path_to_enlightenment.rb file.In your terminal, while in the ruby_koans directory, type:In test-driven development (TDD) the mantra has always been red: write a failing test and run …

Emanuel Goette, alias Crespo: El maldito libro de los descarrilados
http://emanuelpeg.blogspot.com/2011/02/el-maldito-libro-de-los-descarrilados.html
tutorial de Ruby on Rails en castellano.

Using Redis with Ruby on Rails
http://jimneath.org/2011/03/24/using-redis-with-ruby-on-rails.html
Redis is an extremely fast, atomic key-value store. It allows the storage of strings, sets, sorted sets, lists and hashes. Redis keeps all the data in RAM, much like Memcached but unlike Memcached, Redis periodically writes to disk, giving it persistence.Redis is an open source, advanced key-value …

To Redis or Not To Redis? (Key-Value Stores Part 4) | Engine Yard Blog
http://www.engineyard.com/blog/2009/key-value-stores-for-ruby-part-4-to-redis-or-not-to-redis/
Welcome to another post in our key value series! This week, Redis! Redis is a persistent in-memory key-value store written in C by Salvatore Sanfilippo. It’s currently in version 1.0. So let’s get down to it, “To Redis or Not to Redis?” that’s the question…So, let’s say you have a situation …

Delivering email with Amazon SES in a Rails 3 app — giant robots smashing into o…
http://robots.thoughtbot.com/post/3105121049/delivering-email-with-amazon-ses-in-a-rails-3-app
We’ve been using and loving Sendgrid on all our apps. However, Amazon SES came out last week and… you know… shiny.Right now, price. At our current email rates, we would save more than $10,000 in 2011 using Amazon SES over Sendgrid for Hoptoad.However, Sendgrid’s a reliable entity with more features …

colszowka/simplecov – GitHub
https://github.com/colszowka/simplecov
SimpleCov is a code coverage analysis tool for Ruby 1.9. It uses 1.9’s built-in Coverage library to gather code coverage data, but makes processing its results much easier by providing a clean API to filter, group, merge, format and display those results, thus giving you a complete code coverage

Getting Input: Ruby Study Notes – Best Ruby Guide, Ruby Tutorial
http://rubylearning.com/satishtalim/getting_input.html
So far we had seen a method like puts that writes to the screen. How does one accept user input? For this gets (get a string) and chomp are useful. The example p005methods.rb below illustrates the same.# p005methods.rb # gets and chomp puts “In which city do you stay?” STDOUT.flush city =

cspmoreno’s Channel – YouTube
http://www.youtube.com/cspmoreno
Canal dedicado a la programación orientada a objetos con el lenguaje Ruby on Rails con el IDE Netbeans. Explicación de como programar hasta llegar a construir nuestra propia red social

The JRuby Blog : Getting Started with JRuby and Java 7
http://blog.jruby.org/2011/12/getting_started_with_jruby_and_java_7/
Unless you’ve been living under a rock, you’ve probably heard about the new hotness for JRuby: Java 7’s support for dynamic languages. You may also have heard about the huge perf gains that JRuby’s seeing when running on Java 7. How can you try it yourself?The reference implementation for Java is …

Go Fetch | Virtuous Code
http://avdi.org/devblog/2009/03/16/go-fetch/
I’m a fan of the method in Ruby. I’ve noticed that other Rubyists don’t use it as much as I do, so I thought I’d write a little bit about why I like it so much.First of all, in case you’ve forgotten, is a method implemented on both and , as well as some other Hash-like classes (like the built-in …

Null Objects and Falsiness | Virtuous Code
http://avdi.org/devblog/2011/05/30/null-objects-and-falsiness/
Very often in Ruby code, we would like to execute some action only if an object is present:Strictly speaking, we aren’t checking for object presence here. In Ruby there is almost always an object present, but the default marker for missing data is the special object—the one and only instance of …

Concurrency in JRuby | Engine Yard Blog
http://www.engineyard.com/blog/2011/concurrency-in-jruby/
This is a recap of my talk on the same subject at EventMachine RubyConf in Baltimore on the final day of RailsConf 2011.Concurrency is a hotly debated subject in the Ruby community. Shared state or shared nothing? Threads or Events? Sync or Async? The fact that the standard Ruby interpreter does …

InfoQ: Adding Properties to Ruby Metaprogramatically
http://www.infoq.com/articles/properties-metaprogramming
Properties… the next frontier. Well, at least if you can’t stop yourself from watching the Java blog space, which is abuzz with discussions about this topic. Are Properties the next feature to save the world, give us that so desperately needed silver bullet, and finally make Java developers feel …

Programming Ruby: The Pragmatic Programmer’s Guide
http://ruby-doc.org/docs/ProgrammingRuby/html/tut_methods.html

Ruby Programming – Calling Methods Dynamically
http://www.linuxtopia.org/online_books/programming_books/ruby_tutorial/Refl...
C and Java programmers often find themselves writing some kind of dispatch table: functions which are invoked based on a command. Think of a typical C idiom where you have to translate a string to a function pointer: In Ruby, you can do all this in one line. Stick all your command functions into a …

Ruby dynamic method calling | Khaled alHabache’s official blog
http://www.khelll.com/blog/ruby/ruby-dynamic-method-calling/
I’m pretty sure that you have heard lots about ruby, specially as being a dynamic language, you can create methods on the fly, add instance variables, define constants and invoke existing methods dynamically , and that’s what this post is all about :As you know in ruby you can call a public …

Ruby Modules and Mixins
http://www.tutorialspoint.com/ruby/ruby_modules.htm
Modules are a way of grouping together methods, classes, and constants. Modules give you two major benefits.Modules define a namespace, a sandbox in which your methods and constants can play without having to worry about being stepped on by other methods and constants.Module constants are named …

Implementing Namespaces in Ruby using Nested Modules
http://pietschsoft.com/post/2008/11/02/Implementing-Namespaces-in-Ruby-usin...
Recently, I finally got around to starting to learn Ruby. I am finding it to be rather pleasant to program in. Now, one thing that I am used to using with an Object Oriented language (especially with my .NET background) are Namespaces. The only problem is that you can’t just declare a namespace in …

Include vs Extend in Ruby // RailsTips by John Nunemaker
http://railstips.org/blog/archives/2009/05/15/include-vs-extend-in-ruby/
Now that we know the difference between an instance method and a class method, let’s cover the difference between include and extend in regards to modules. Include is for adding methods to an instance of a class and extend is for adding class methods. Let’s take a look at a small example.As you can …

Ruby Mixin Tutorial
http://juixe.com/techknow/index.php/2006/06/15/mixins-in-ruby/
In Java you just have classes (both abstract and concrete) and interfaces. The Ruby language provides classes, modules, and a mix of both. In this post I want to dive into mixins in Ruby.In the Ruby language a mixin is a class that is mixed with a module. In other words the implementation of the …

My Links
http://delicious.com/ajlopez/ruby

More links about Ruby, mruby, ruby VMs are coming.

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

April 20, 2012

Git: Links, News And Resources (3)

Filed under: Git, Links — ajlopez @ 11:37 am

Previous Post
Next Post

More links about this Distributed Version Control System

Moving Projects from Google Code to GitHub
http://fgiasson.com/blog/index.php/2011/11/21/moving-projects-from-google-code-to-github/

GitFAQ – Mono
http://www.mono-project.com/GitFAQ

Creating a svn.authorsfile when migrating from subversion to git
http://technicalpickles.com/posts/creating-a-svn-authorsfile-when-migrating-from-subversion-to-git/

Git with Dropbox – Stack Overflow
http://stackoverflow.com/questions/3632723/git-with-dropbox

dalehenrich / filetree
https://github.com/dalehenrich/filetree
Monticello repository for directory-based Monticello packages enabling the use of git, svn, etc. for managing Smalltalk source code.

Practical Git for Smalltalk
http://www.jarober.com/blog/blogView?entry=3509797949

Git Book – Ignoring files
http://book.git-scm.com/4_ignoring_files.html

Git vs Mercurial: Why Git?
http://blogs.atlassian.com/2012/03/git-vs-mercurial-why-git/

Git: the NoSQL database – opensoul.org
http://opensoul.org/blog/archives/2011/09/01/git-the-nosql-database/
We all know that Git is pretty amazing. It’s fast, reliable, flexible, and it keeps our project history safely nuzzled in it’s cozy object database while we sleep soundly at night. But I’m curious to see if it can be used for more than code.

libgit2 / libgit2sharp
https://github.com/libgit2/libgit2sharp
.NET bindings for libgit2

Version Control Reinvigorated: From SVN to Git and GitHub | http://www.thoughtworks.com
http://www.thoughtworks.com/events/version-control-reinvigorated-svn-git-and-github

git – the simple guide – no deep shit!
http://rogerdudler.github.com/git-guide/

Using NuGet without committing packages
http://blog.davidebbo.com/2011/03/using-nuget-without-committing-packages.html
http://blog.davidebbo.com/2011/08/easy-way-to-set-up-nuget-to-restore.html

InfoQ: Code2Cloud: Automating The Whole Software Dev/Deploy Cycle
http://www.infoq.com/presentations/Code2Cloud
Ryan Slobojan presents Code2Cloud used to automatically set up a number of tools useful for development and deployment: Hudson, Git, task repository, wiki, Cloud Foundry Deployment Services and Maven.

Astonishments, ten, in the history of version control
http://www.flourish.org/blog/?p=397

Setting up .gitignore for java web appplications on windows
http://blog.idleworx.com/2010/06/setting-up-gitignore-for-java-web.html
Just like CVS has .cvsignore and SVN has .svnignore files, git has a way to ignore certain resources by using a .gitignore file. This post will show you how to use git’s ignore features to avoid committing certain files.

Deploying Node.js Applications to Windows Azure via Blobs or Git Sync
http://blog.smarx.com/posts/deploying-node-js-applications-to-windows-azure-via-blobs-or-git-sync
A few weeks ago at the Future of Web Apps London (great conference, by the way!), I gave a presentation about how to get the most out of a cloud platform. At the end of the talk, I showed a brief demo of http://twoenglishes.com (source on GitHub), a Node.js app deployed in Windows Azure.

10 tutoriales sobre Git para principiantes
http://www.cyberhades.com/2011/06/17/10-tutoriales-sobre-git-para-principiantes/

Top 10 Git Tutorials for Beginners
http://sixrevisions.com/resources/git-tutorials-beginners/

How to Get the Most out of Git
http://www.readwriteweb.com/hack/2011/07/how-to-get-the-most-out-of-git.php
Git has become the programming world’s most popular version control system–at least that’s what surveys conducted by Microsoft Corp. suggest. While there are abundant write-ups already available for new users and administrators, from tutorials to descriptions of clever merge workflows, I still often encounter a few missteps in basic version control naming and layout.

Moving Files from one Git Repository to Another, Preserving History
http://gbayer.com/development/moving-files-from-one-git-repository-to-another-preserving-history/
If you use multiple git repositories, it’s only a matter of time until you’ll want to refactor some files from one project to another.
Goal
Move directory 1 from Git repository A to Git repository B.
onstraint
Git repository A contains other directories that we don’t want to move.
We’d like to perserve the Git commit history for the directory we are moving.

From: Linus Torvalds <torvalds <at> osdl.org>
Subject: The coolest merge EVER!
Newsgroups: gmane.comp.version-control.git
http://thread.gmane.org/gmane.comp.version-control.git/5126/

Primeros pasos en Git: Creación y gestión de repositorios
http://www.maestrosdelweb.com/editorial/primeros-pasos-git-creacion-gestion-repositorios/

Open Source (Almost) Everything
http://tom.preston-werner.com/2011/11/22/open-source-everything.html
If you do it right, open sourcing code is great advertising for you and your company. At GitHub we like to talk publicly about libraries and systems we’ve written that are still closed but destined to become open source.

Ramificaciones e integración de cambios en Git
http://www.maestrosdelweb.com/editorial/git-ramificaciones-integracion-de-cambios/

What’s the best CRLF handling strategy with git?
http://stackoverflow.com/questions/170961/whats-the-best-crlf-handling-strategy-with-git

Deploying A Web Application with Git and FTP (2009)
http://wekeroad.com/2009/11/23/deploying-a-web-application-with-git-and-ftp/

Git Tutorial
http://www.vogella.com/articles/Git/article.html

GitHub:Help Remotes
http://help.github.com/remotes/

My Links
http://delicious.com/ajlopez/git

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

April 17, 2012

Python: Links, News And Resources (2)

Filed under: Links, Programming Languages, Python — ajlopez @ 4:56 pm

Previous Post
Next Post

I’m preparing a talk about Python (and Clojure and Ruby) for Alt.NET Hispano. These are my second set of links about this programming language.

How to install both Python 2.x and Python 3.x in Windows 7
http://stackoverflow.com/questions/3809314/how-to-install-both-python-2-x-and-python-3-x-in-windows-7

Python vs PHP vs Ruby [Infografía]
http://www.puntogeek.com/2012/01/11/phyton-vs-php-vs-ruby-infografia/

Be Pythonic
http://cafepy.com/article/be_pythonic/

Fusion Programming: From Python to Clojure and Back
http://www.cassiel.com/2012/02/19/fusion-programming/

Python Patterns – Implementing Graphs
http://www.python.org/doc/essays/graphs.html

Flask web development
http://flask.pocoo.org/

Code Generator for Glade
https://launchpad.net/gladex/
Gladex is a Python application which takes a .glade file written in the Glade User Interface Builder and generates code in Perl, Python, or Ruby. The generated code uses libglade to draw a GUI and is not raw pygtk code. Support for additional languages can be added through the plugin API.

eigenhombre / PyClojure
https://github.com/eigenhombre/PyClojure
Clojure implemented on top of Python

Intro to OWIN and Knack
http://remi.org/2010/12/14/intro-to-owin-and-knack#

Pygments
http://pygments.org/
It is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code.

sean- / flask-skeleton
https://github.com/sean-/flask-skeleton
A skeleton for Flask applications

Infografía: Comparativa entre PHP, Ruby y Python
http://www.genbetadev.com/lenguajes-de-programacion/infografia-comparativa-entre-php-ruby-y-phython

drelu / webhdfs-py
https://github.com/drelu/webhdfs-py
Python Client for WebHDFS REST API

FINALIZANDO CON PYTHON Y MYSQL
http://www.maestrosdelweb.com/editorial/guia-python-bases-de-datos-mysql/

Batch value insert in Redis list
http://stackoverflow.com/questions/6504861/batch-value-insert-in-redis-list

The Switch: Python to Node.js
http://journal.paul.querna.org/articles/2011/12/18/the-switch-python-to-node-js/

Historia del Software: el lenguaje Python
http://bitelia.com/2011/12/lenguaje-python

Python for Lisp Programmers
http://norvig.com/python-lisp.html

Best Programming Language
Python
http://www.linuxjournal.com/slideshow/readers-choice-2011?page=27

StarTechConf Chile
http://vimeo.com/channels/startechconf

arkadini / twimp
https://github.com/arkadini/twimp
RTMP protocol implementation for the Twisted framework.

hydralabs / rtmpy
https://github.com/hydralabs/rtmpy
RTMP for Python

Excepciones, Helpers y Refactoring
http://www.maestrosdelweb.com/editorial/guia-python-excepciones-helpers-refactoring/

HERENCIA, RELACIÓN ENTRE DOS O MÁS CLASES
http://www.maestrosdelweb.com/editorial/guia-python-herencia-relacion-clases/

Tutorial Part 2: Adding a JIT
http://morepypy.blogspot.com/2011/04/tutorial-part-2-adding-jit.html

Writing An Hadoop MapReduce Program In Python
http://www.michael-noll.com/tutorials/writing-an-hadoop-mapreduce-program-in-python/

Bienvenido a PyAr – Python Argentina
http://python.org.ar/pyar/

PyCon 2011: How Dropbox Did It and How Python Helped
http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-how-dropbox-did-it-and-how-python-helped-4896698

My Links
http://delicious.com/ajlopez/python

More links about Python and programming languages are comint.

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

April 14, 2012

Python: Links, News and Resources (1)

Filed under: Links, Programming Languages, Python — ajlopez @ 5:46 pm

Next Post

My first links about this programming language:

http://en.wikipedia.org/wiki/Python_%28programming_language%29

Python is a general-purpose, high-level programming language[11] whose design philosophy emphasizes code readability.[12] Python claims to combine “remarkable power with very clear syntax”,[13] and its standard library is large and comprehensive.

Python supports multiple programming paradigms, primarily but not limited to object-oriented,imperative and, to a lesser extent, functional programming styles. It features a fully dynamic typesystem and automatic memory management, similar to that of Scheme, Ruby, Perl, and Tcl. Like other dynamic languages, Python is often used as a scripting language, but is also used in a wide range of non-scripting contexts. Using third-party tools, Python code can be packaged into standalone executable programs. Python interpreters are available for many operating systems.

The reference implementation of Python (CPython) is free and open source software and has a community-based development model, as do all or nearly all of its alternative implementations. CPython is managed by the non-profit Python Software Foundation.

The History of Python
http://python-history.blogspot.com/
A series of articles on the history of the Python programming language and its community.

Python Tools for Visual Studio
http://pytools.codeplex.com/

Contrasting Performance : Languages, styles and VMs – Java, Scala, Python, Erlang, Clojure, Ruby, Groovy
http://blog.dhananjaynene.com/2011/08/cperformance-comparison-languages-styles-and-vms-java-scala-python-erlang-clojure-ruby-groovy-javascript/

WSGI and the Pluggable Pipe Dream
http://lucumr.pocoo.org/2011/7/27/the-pluggable-pipedream/

WSGI Is Dead: Long Live WSGI Lite! (dirtSimple.org)
http://dirtsimple.org/2011/07/wsgi-is-dead-long-live-wsgi-lite.html

Pump: A dead simple Pythonic abstraction of HTTP
http://adeel.github.com/pump/

The OpenSkills Sett: Who looks at Smalltalk?
http://openskills.blogspot.com/2011/07/who-looks-at-smalltalk.html

Technical Discovery: Speeding up Python Again
http://technicaldiscovery.blogspot.com/2011/07/speeding-up-python-again.html?spref=tw

Node.js, Ruby, and Python in Windows Azure
http://channel9.msdn.com/Shows/Cloud+Cover/Cloud-Cover-Episode-48-Nodejs-Ruby-and-Python-in-Windows-Azure

InfoQ: Ville Tuulos on Big Data and Map/Reduce in Erlang and Python with Disco
http://www.infoq.com/interviews/tuulos-erlang-mapreduce

Simple UI (based on Ace) to edit code files in Windows Azure blob storage
https://github.com/smarx/blobedit

Python client wrapper for Windows Azure storage
https://github.com/sriramk/winazurestorage

OAuth Python
http://oauth.googlecode.com/svn/code/python/

See? We Don’t Need a Database … Yet | xProgramming.com
http://xprogramming.com/articles/see-we-dont-need-a-database-yet/

But We Need a Database … Don’t We? | xProgramming.com
http://xprogramming.com/articles/but-we-need-a-database-dont-we/

Python IDE & Django IDE for Web developers : JetBrains PyCharm
http://www.jetbrains.com/pycharm/

A skip list container class in Python – IRR’s thoughts
http://irr.posterous.com/a-skip-list-container-class-in-python

Advice From An Old Programmer — Learn Python The Hard Way, 2nd Edition
http://learnpythonthehardway.org/book/advice.html

Code & Beyond: PyPy 1.4: ¡más rápido, más furioso!
http://www.codeandbeyond.org/2010/11/pypy-14-mas-rapido-mas-furioso.html

Using Python and PHP together
http://webania.net/using-python-php-together/

How I learned to stop worrying & love Python Packaging
http://www.slideshare.net/jezdez/how-i-learned-to-stop-worrying-love-python-packaging

PythonACT-R
http://sites.google.com/site/pythonactr/
Python ACT-R is an re-implementation of ACT-R, which is written in LISP
http://act-r.psy.cmu.edu/
ACT-R is a cognitive architecture: a theory for simulating and understanding human cognition.

Python from Scratch: Getting Started | Nettuts+
http://net.tutsplus.com/tutorials/other/python-from-scratch-getting-started/

Python for Lisp Programmers
http://www.norvig.com/python-lisp.html

Learn Python The Hard Way: Learn Python The Hard Way
http://learnpythonthehardway.org/index

PLaSM
http://plasm.net/
functional language for computing with geometry

Clojure & Python, Side by Side | Justin Kramer
http://jkkramer.wordpress.com/2011/03/29/clojure-python-side-by-side/

High Scalability – 6 Lessons from Dropbox – One Million Files Saved Every 15 minutes
http://highscalability.com/blog/2011/3/14/6-lessons-from-dropbox-one-million-files-saved-every-15-minu.html
99.9 % of their code is in Python. Used on the server backend; desktop client, website controller logic, API backend, and analytics.

PyCon 2011: How Dropbox Did It and How Python Helped
http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-how-dropbox-did-it-and-how-python-helped-4896698

String Calculator – Python » Software Craftsmanship – Katas
http://katas.softwarecraftsmanship.org/?p=128

Healthy Skepticism for the Impossible: Performance of CPython, Pypy, Java, and Go
http://bobhancock.blogspot.com/2011/02/performance-of-cpython-pypy-java-and-go.html

Cloud business analytics: Write your own dashboard
http://www.ibm.com/developerworks/cloud/library/cl-cloudbizanalytics/

Neopythonic: A new App Engine datastore API
http://neopythonic.blogspot.com/2011/01/new-app-engine-datastore-api.html

Time To Diversify
http://david.ing.name/2010/12/01/time-to-diversify/
The macro reasons for moving on to other platforms is in a constant quest to become a well-rounded ‘full stack’ developer. To be able to see the good and bad in different languages and platforms and use that experience to improve

Learning Python
http://www.feld.com/wp/archives/2010/12/learning-python.html

Developer Year in Review: Programming Languages – O’Reilly Radar
http://radar.oreilly.com/2010/12/developer-2010-languages.html

Writing clean, testable, high quality code in Python
https://www.ibm.com/developerworks/aix/library/au-cleancode/

Scrapy | An open source web scraping framework for Python
http://scrapy.org/

Code & Beyond: Video: Windmill trae una alternativa al testing web
http://www.codeandbeyond.org/2010/12/video-windmill-trae-una-alternativa-al.html

Google: Exploring Computational Thinking
http://www.google.com/edu/computational-thinking/lessons.html

Informática: la batalla de los lenguajes
http://www.infotechnology.com/notas/249451-informatica-la-batalla-los-lenguajes-

Jim Hugunin – Farewell to Microsoft
http://hugunin.net/microsoft_farewell.html

Large Scale Natural Language Processing
http://us.pycon.org/media/2010/talkdata/PyCon2010/098/large-scale-nlp-pycon-2010.pdf

(How to Write a ((Better) Lisp) Interpreter (in Python))
http://norvig.com/lispy2.html

Data Control Made Easy With FluidDB | O’Reilly GMT
http://www.oreillygmt.eu/open-sourcefree-software/data-control-made-easy-with-fluiddb/

Bioinformatics Programming Using Python – O’Reilly Media
http://oreilly.com/catalog/9780596154509/

My links
http://www.delicious.com/ajlopez/python

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

April 11, 2012

Game Theory: Links, News and Resources (1)

Filed under: Artificial Intelligence, Game Theory, Links — ajlopez @ 4:06 pm

http://en.wikipedia.org/wiki/Game_theory

Game theory is a method of studying strategic decision making. More formally, it is "the study of mathematical models of conflict and cooperation between intelligent rational decision-makers."[1] An alternative term suggested "as a more descriptive name for the discipline" is interactive decision theory.[2] Game theory is mainly used in economics, political science, and psychology, as well as logic and biology. The subject first addressed zero-sum games, such that one person’s gains exactly equal net losses of the other participant(s). Today, however, game theory applies to a wide range of class relations, and has developed into an umbrella term for the logical side of science, to include both human and non-humans, like computers. Classic uses include a sense of balance in numerous games, where each person has found or developed a tactic that cannot successfully better his results, given the other approach.

Pequeño LdN: Diez habitaciones para 20 aventureros
http://pequenoldn.librodenotas.com/matiaventuras/1391/diez-habitaciones-para-20-aventureros

EC = MC^3 « Turing’s Invisible Hand
http://agtb.wordpress.com/2012/01/30/ec-mc3/

AGT/E publication venues « Turing’s Invisible Hand
http://agtb.wordpress.com/2010/08/30/agte-publication-venues/#comment-2373

AGT and AI « Algorithmic Game-Theory/Economics
http://agtb.wordpress.com/2011/01/15/agt-and-ai/

Artificial Intelligence Magazine Vol 31, No 4
http://www.aaai.org/ojs/index.php/aimagazine/issue/view/192/showToc

Algorithmic Game Theory and Artificial Intelligence
http://agtb.wordpress.com/2011/01/15/agt-and-ai/

Is Game Theory (Artificially) Intelligent? « Algorithmic Game-Theory/Economics
http://agtb.wordpress.com/2011/01/18/is-game-theory-artificially-intelligent/

Cloud business analytics: Write your own dashboard
http://www.ibm.com/developerworks/cloud/library/cl-cloudbizanalytics/
Find patterns in multitudes of cloud business analytics data
See Game theory, AI theory, and raw statistical analysis.

Game Theory and Public Policy
http://www.amazon.com/Theory-Public-Policy-Roger-McCain/dp/1849805717

Why Isn’t Backgammon More Popular?
http://www.freakonomics.com/2010/12/14/why-isnt-backgammon-more-popular/

Reputation for Human Computation « Algorithmic Game-Theory/Economics
http://agtb.wordpress.com/2010/07/28/reputation-for-human-computation/

Regret in Markets « Algorithmic Game-Theory/Economics
http://agtb.wordpress.com/2010/07/13/regret-in-markets/

Testing Mixed-Strategy Equilibria When Players Are
Heterogeneous: The Case of Penalty Kicks in Soccer
http://pricetheory.uchicago.edu/levitt/Papers/ChiapporiGrosecloseLevitt2002.pdf

Freakonomics: World Cup Edition
http://www.freakonomics.com/2010/06/10/freakonomics-radio-world-cup-edition/

Penales
http://www.pagina12.com.ar/diario/contratapa/13-148338-2010-06-26.html
Lehmann vuelve a mirar el papel. Esta vez…. no decía nada. No tenía antecedentes de Cambiasso pateando penales. Al menos, él (Lehmann) no los tenía. Pero Cambiasso había pateado penales en su vida alguna vez.
Y aquí aparece la Teoría de Juegos. ¿Cómo podía saber Cambiasso lo que decía el papel de Lehmann? 1 En todo caso, ¿cómo podía saber que Lehmann no sabía nada sobre él? Lehmann lo miraba como si supiera.

EC10 and current trends in algorithmic game theory
http://agtb.wordpress.com/2010/06/13/ec10-and-current-trends-in-algorithmic-game-theory/

Game Theory, Prisoner’s Dilemma, Nash Equilibrium, Stag Hunts, and Sherlock Holmes…and Counter-Terrorism? 1/2
http://russwbeck.wordpress.com/2009/01/18/sra211reviewgametheory/

Thomas Schelling
http://en.wikipedia.org/wiki/Thomas_Schelling
He was awarded the 2005 Nobel Memorial Prize in Economic Sciences (shared with Robert Aumann) for "having enhanced our understanding of conflict and cooperation through game-theory analysis."
See Models of Segregation, too. I disagree with him: the model is too simplified, but interesting.

Trillion $ problems
http://agtb.wordpress.com/2010/02/18/trillion-problems/

Computability in game theory « The Leisure of the Theory Class
http://theoryclass.wordpress.com/2010/02/15/computability-in-game-theory/

How to lose as little as possible
http://arxiv.org/abs/1002.1763

Darwin Plays Game Theory—and Wins | Animal Intelligence | DISCOVER Magazine
http://discovermagazine.com/2009/jun/04-game-theory-meets-darwin

Prisoner’s Dilemma and Mechanical Turk
http://www.behind-the-enemy-lines.com/2009/12/prisoners-dilemma-and-mechanical-turk.html

Inductive Reasoning and Bounded Rationality
http://www.santafe.edu/~wbarthur/Papers/El_Farol.html

Utility of Money and the St. Petersburg Paradox
http://www.behind-the-enemy-lines.com/2009/11/utility-of-money-and-st-petersburg.html

A New THEORY of
AWESOMENESS and MIRACLES
http://shorttermmemoryloss.com/menace/

Networks, Crowds, and Markets: A Book by David Easley and Jon Kleinberg
http://www.cs.cornell.edu/home/kleinber/networks-book/

Por qué Pascal iba a misa todos los domingos ? « Martin Mendez blog
http://martinmendez.com/2009/02/24/por-que-pascal-iba-a-misa-todos-los-domingos/

Digg as a Game | shmula
http://www.shmula.com/197/digg-as-a-game

A K Peters, Ltd. – The Dots and Boxes Game
http://www.akpeters.com/product.asp?ProdCode=1292

Pseudolog.com: Juegos: LAP
2 saves http://blog.pseudolog.com/article/?c=Juegos

LAP
http://www.boardgamegeek.com/boardgame/19917/lap

My Links
http://delicious.com/ajlopez/gametheory

April 10, 2012

Lisp: Links, News And Resources (2)

Filed under: AjLisp, Functional Programming, Links, Lisp, Programming Languages — ajlopez @ 1:23 pm

Previous Post

More links and resource about one my favorites programming languages:

My implementations
https://ajlopez.wordpress.com/category/ajlisp/
http://code.google.com/p/ajlisp/ in C#, three flavors (classic, scheme-like, clojure-like (WIP))
https://github.com/ajlopez/AjLispRb in Ruby
https://github.com/ajlopez/AjLispJs in JavaScript
https://github.com/ajlopez/AjLispJv in Java

Ruby talks to AutoLISP · davidbl/acadhelper Wiki
https://github.com/davidbl/acadhelper/wiki/Ruby-talks-to-AutoLISP

The Emacs Problem | Irreal
http://irreal.org/blog/?p=384

How Emacs changed my life
http://www.slideshare.net/yukihiro_matz/how-emacs-changed-my-life
By Yukihiro "Matz", Ruby creator

cl-dcf – Common Lisp DSL Compiler Framework – Google Project Hosting
http://code.google.com/p/cl-dcf/

Clojure inventor Hickey now aims for Android
http://www.techworld.com.au/article/419328/clojure_inventor_hickey_now_aims_android/?fp=16&fpid=1 In an interview, Clojure founder Rich Hickey discusses future of the functional JVM language, including his mobile aspirations

BiwaScheme Blackboard
http://blackboard.biwascheme.org/
BiwaScheme Blackboard is a sandbox for BiwaScheme, a R6RS Scheme interpreter written in JavaScript.
You can edit, run and save Scheme code in your browser.

Can Your Programming Language Do This? – Joel on Software
http://www.joelonsoftware.com/items/2006/08/01.html
…Without understanding functional programming, you can’t invent MapReduce, the algorithm that makes Google so massively scalable. The terms Map and Reduce come from Lisp and functional programming. …

mtravers / heroku-cl-example
https://github.com/mtravers/heroku-cl-example
Example use of Heroku Common Lisp Buildpack

AI Algorithms, Data Structures, and Idioms in Prolog, Lisp, and Java
http://www.amazon.com/dp/0136070477

Calico Scheme – IPRE Wiki
http://calicoproject.org/Calico_Scheme
Calico Scheme is a new implementation of a Scheme-based language for Calico. It implements many core Scheme functions, but also adds some functionality to bring it into line with the other modern languages like Python and Ruby.

Multics Emacs History/Design/Implementation
http://www.multicians.org/mepap.html

Lisp REPL in Vendetta Online
http://www.a1k0n.net/2005/11/04/lisp-repl-vendetta-online.html
Vendetta Online has a Lisp environment (using SBCL) which controls much of its NPC behavior and will soon be in charge of generating player and NPC missions. Partly in order to get around some thread-safety issues, and partly for convenience we built an REPL into a secret chat channel. (it only responds to developer accounts)
See http://www.vendetta-online.com/
http://www.vendetta-online.com/h/help.html
Vendetta Online is a MMORPG (massively multiplayer online role-playing game) from Guild Software Inc

European Lisp Symposium
http://european-lisp-symposium.org/

IT Software Community – John W. Verity – LISP Is Back, and It’s Baaaaad!
http://www.itsoftwarecommunity.com/author.asp?doc_id=238067&section_id=1624

Why I love Common Lisp and hate Java « Piece of mine
http://kuomarc.wordpress.com/2012/01/27/why-i-love-common-lisp-and-hate-java/

Why I love Ruby (Part 1)
http://duckpunching.github.com/2011/02/26/why-i-love-ruby-part-1.html
Ruby was also developed slowly, and thoughtfully, from the ground up, using the best-of-the-best from multiple programming paradigms, and from the best-of-breed languages from each of those paradigms … (Smalltalk, Lisp, Perl)

What I want from my Common Lisp vendor and the Common Lisp community
http://groups.google.com/group/comp.lang.lisp/msg/4563e504dba92253?pli=1

fogus: Lisp in 32 lines of Ruby
http://blog.fogus.me/2012/01/25/lisp-in-40-lines-of-ruby/

ahefner: Fun with Lisp: Just Intonation and Microtonality
http://ahefner.livejournal.com/19604.html

ahefner: Lispm archaeology: Compiler Protocols
http://ahefner.livejournal.com/19280.html

Web, games, languages ~ jlongster.com
http://jlongster.com/2012/01/16/outlet-gets-a-personality.html

luciolang/lucio – GitHub
https://github.com/luciolang/lucio
Lucio is a Lisp-like language running on Ruby
for those of you younger readers or find lisp exotic and never know anything about it, you might try
https://plus.google.com/113859563190964307534/posts/Xw8M6WMeaDn

Emacs Lisp Basics
http://xahlee.org/emacs/elisp_basics.html
A guide to the CHICKEN compilation process – The Chicken Scheme wiki

http://wiki.call-cc.org/chicken-compilation-process
Homoiconic and “unrestricted” self modifying code + Is lisp really self modifying?

http://stackoverflow.com/questions/8490616/homoiconic-and-unrestricted-self-modifying-code-is-lisp-really-self-modifyin
Readable s-expressions and sweet-expressions home page: Infix and fewer parentheses in Lisp-like languages

http://www.dwheeler.com/readable/index.html
Many people find Lisp s-expressions hard to read as a programming notation. I’ve developed Lisp programs for decades, and though I can read s-expressions well, I remain dissatisfied with their syntactic limitations.

Eleven Theses on Clojure
http://www.tbray.org/ongoing/When/200x/2009/12/01/Clojure-Theses

M-expression – Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/M-expression
In computer programming, M-expressions (or meta-expressions) were intended to be the expressions used to write functions in the Lisp programming language. Data to be manipulated using M-expressions was to be written using S-expressions. M-expressions were used for the original theoretical language in early papers about Lisp, but the first working implementation of Lisp interpreted encodings of M-expressions as S-expressions, and M-expressions were never actually implemented.

My Links
http://delicious.com/ajlopez/lisp

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

April 6, 2012

New Month’s Resolutions: April 2012

It’s time to write down my list of resolution for this month, April 2012. First, a review of my March ones:

– Templates in AjGenesis in Ruby pending
– Support for flow control in AjLang complete
– Support for native objects in AjLisp in Java pending
– First structures, simple matching, simple REPL in AjErl (erlang-like in C#) partial
– First web site pages in AjContab, simple ASP.NET MVC, with an in-memory domain pending
– Move AjPython to GitHub, and review internal implementation complete
– Move AjSudoku to GitHub, and review test, code coverage complete
– Start internal refactoring AjRools algorithm, towards Rete-like one pending
– Start form and invoice processing in AjComprobantes complete

Hmmm.. too many pending items 😉 Ok, to balance them, I had new items:

– Start Acquarella Syntax Highlither complete
– Start AjTalk in Javascript/NodeJs complete
– Start AjLogo in Javascript/NodeJs complete
– Start SetTuples set programming in C# complete

This month’s resolutions:

– Complete Acquarella (comment, number detection, new styles, language extension..)
– Add features to AjTalk in Javascript/NodeJs (class support, fileouts processing)
– Add features to AjLogo in Javascript/NodeJs (canvas support)
– Complete verb support in SetTuples
– Give a talk about Programming Languages (Javascript/NodeJs, Clojure, Erlang, Python, Ruby, Scala)|
– AjContab inmemory model

Keep tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

Blog at WordPress.com.