Friday, February 13, 2015

Remember the SmartiPi kickstarter?

Video

Or perhaps not. So here's a video reminder



Post kickstarter


http://www.smarticase.com/ is taking pre orders, if you missed the original kickstarter campaign. I was a backer of the campaign, and I'm expecting mine real soon now.

If you are getting this to use with the Raspberry Pi camera module, check out this pdf:

http://www.raspberrypi.org/wp-content/uploads/2013/07/RaspiCam-Documentation.pdf



Francois
@f_dion

SciPyCon Latin America - [Misiones - Argentina] [Mayo 2015]


Tercera Conferencia Anual Científica de Python 
Del 20 al 22 de Mayo en Misiones, Argentina.
Se encuentra abierto el llamado a propuesta de charlas y registraciones al evento.
Para más información consultar en: http://conf.scipyla.org/ 
Se agradece difusión. 





Sin duda, de interes para muchos de mi lectores.

Francois
@f_dion

Monday, February 9, 2015

Computadora Industrial Abierta Argentina (CIAA)

3DFutureTech.info: CIAA

Resumen: pre-venta sin fines de lucro de 1.000 unidades de la EDU-CIAA, a un precio final por unidad de $550 (pesos argentinos), con el objetivo ayudar a que más gente pueda acceder a esta plataforma.

Mas informacion:

http://www.3dfuturetech.info/2015/02/computadora-industrial-abierta.html

Francois
@f_dion

Friday, February 6, 2015

Wednesday, February 4, 2015

Text editor (command line)

Raspberry pi text editor (command line)

Note: This is a translation of the Spanish version of my blog article I posted some years back

Before even mastering the command line, you will need to learn a way to edit text files from the command line. Be it to make configuration changes, or write a script (sequence of commands), you'll be a lot more productive if you learn how to use one.

Raspbian comes equipped with nano (easy to use when starting out) and vi (the standard - found on all *nix servers and desktops), but, there is something even better: vim (VI iMproved)

If you've never used vi before, might want to start with nano instead, or read a vi tutorial or even better, an interactive vim tutorial (highly recommended!!), and cheat sheet)

Normally, on Linux and modern Unix, vi is really vim, but on Raspbian, vi is vi. Let's change this:
fdion@raspberrypi ~ $ sudo apt-get install vim
There are a few things to add to .vimrc to make it better (in /home/user):

syntax on
filetype indent plugin on
set modeline

fdion@raspberrypi ~ $ pwd
/home/fdion
fdion@raspberrypi ~ $ vi .vimrc
(type i for insert, type the above 3 lines, hit Escape and :wq)
fdion@raspberrypi ~ $ ls .vimrc
.vimrc
Excellent, now scripts and code (like Python) will look much better, easier to read in color:


fdion@raspberrypi ~ $ vi file.py 




There are a few lines you will want to use specifically for Python scripts:


The first line is always the "shebang" line:

#!/usr/bin/env python

Here, we tell the operating system shell executor to pass the script to the python interpreter. For other interpreters, just replace python with whichever interpreter will handle the script.

Another thing for a python script that I like to use, a docstring (description) for the script, between """ and """. 

The seventh line above (in the code example) is for vim itself for proper tabs as 4 spaces (you want that for aligning your Python code, and is a nice to have in general for shell scripting):

# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4


If you are dealing with utf-8 code (for example accents or special characters) then you need to define the following:

# vim: set fileencoding=utf-8


Francois
@f_dion

Tuesday, February 3, 2015

Revisiting "going in the wrong direction"

The original


At the beginning of 2013, I posted "Going in the wrong direction". I figured it would be a good time to revisit the theme. From 2012 to 2015, what does $35 buy you, and did we ever reach the predicted $20 / sub $20 computing units?

Sure, microcontrollers have come down in price. For example, an ARM based unit:


But what about computers with an OS?

 The follow up

It's on my new blog, talking a bit about the progression of inexpensive tech, thanks to Moore's law:

3D Future Tech - Moores law in action

Check it out!

Francois
@f_dion

Monday, February 2, 2015

Raspberry Pi 2

Maintenance mode


If you've tried to access the forum on raspberrypi.org today, you got: