Updates from February, 2011 Toggle Comment Threads | Keyboard Shortcuts

  • diegor 11:37 am on October 10, 2012 Permalink | Reply
    Tags: kony2012   

    KONY 2012 

    I’m sharing a video, 30 minutes long. It’s not a bullshit video, it’s a true story, happening now. So please, reserve you 30 minutes of your life and watch this video.
    I’m expecting that at the end of it, you’ll do something, like me in this moment.
    Please, I beg you. Ok, as promised here the video

    http://invisiblechildren.com/

     
  • diegor 4:18 pm on July 10, 2012 Permalink | Reply
    Tags: europython,   

    Europython’s report: a general feedback 

    What: conference
    Where: Florence, Hotel Mediterraneo
    When: from 1st July to 8th July
    Who: me and other 750+ nerds, worldwide
    Why: we love !

    So Europython is a conference about a great programming language and this year, like the last year, it was located in Florence and organised by Python Italia with a wonderful support of http://www.develer.com. This post doesn’t want to be a story about my Europython but it would be an analysis from the point of view of attendee. If you are interested on what happened there, you can read many stories following the twitter stream. Just for the record I worked last year to help the company that provided WiFi connection, so I’m a bit aware about problems related to the organisation of the conference. So let’s start with the analysis of every single thing giving some personal hint

    Location
    Florence, Hotel Mediterraneo. Nice city, nice venue, close to the river and not far from the city centre. Big enough to host seven tracks (including two trainings), and 750+ people. There has been some issue the first day when there was just a track and all the attendees were split in two big rooms where the upper one was connected audio/video. For the remaining days all the rooms have been big enough to host all the tracks: just some track was a bit overcrowded but the organisers doubled the track more popular. This year there has been also a “garden” in the rear of the hotel but personally I’ve never been there: too hot, no wi-fi (just in a small area).

    Schedule and timing
    Schedule busy, very busy but with regular break: one in the morning, lunch, and another break in the afternoon. So good timing. Nothing to say. Maybe yes, but after.

    Duration
    I think that organisers thought enough to optimise everything in one week: 5 days of talks and two days of sprint. Actually 4 days of talks because the first one has been kind of introduction to the conference with the VIP talks. So the schema is 1 + 4 + 2. Is there anything that the organisers can do to optimise it? Maybe yes.

    Contents
    Contents covered many stuff: web, testing, HPC, databases, community, cases, programming model, projects status, health (yes, health!), frameworks, GPU, graphics, mobile, future, music, and many others. For the content available have a look to the schedule https://ep2012.europython.eu/p3/schedule/ep2012/
    The first thing that come up to your mind is: “cool! A lot of stuff!” And it is, I agree. But when you are there, maybe it’s different. Something can be changed, in better obviously.
    Poster session: anyone did use it? Lighting talks: perfect! :)

    Connection and tech things.
    I don’t want to go to the core of the last year problems about the connection, but the organisers have learnt the lesson. The result is that this year the connection has been much better stable and faster. There have been problems (they are everywhere) but solved in a record time. About the connection I can suggest just something after. Other tech things.. oh yes.. the “help desk”: I’ve never used it but the idea was great! I hope that people used it and looking the schedule there was some sold out. iPhone and Android app was very useful for whom that didn’t want to carry on the book.
    Oh yes, how to forget the intranet: I didn’t use it but I’m sure that has been useful for many speaker and for the help desk. Great idea!
    Video and streaming: I think the best techie thing ever. Live streaming and videos ready to download from the intranet. If you want, all the videos are on youtube :) Great job!

    Events
    Tag cocktails, help desk, pybirra, pyfiorentina, google code jam, prize draw, pyriddle, sprint: a lot of stuff! Very cool and always something to do. Sure you didn’t get bored.Everything was nice, except “tag cocktails”. I didn’t like that many people could come because that didn’t have the “pass”: this pass gave you a free cocktail and if you had wanted another cocktail, you would have paid it. So what’s the problem? My solution is to give the free access to everyone and a free cocktail just to whom had the pass. The terrace was big enough to host more and more people.

    Nice view from Cocktail Terrace

    Food
    I’m Italian and I care about the food. Good food means good attitude that helps a lot the progress of the conference (I think). In Hotel Mediterraneo the food is very good and talking with many of the attendees I had the same feedback. So congratulations to the hotel. Just a quick note: horrible coffee but at least we had free coffee at american bar.

    People and VIPs
    How can  a conference be without interesting people? This year we’ve got many of them: Guido Van Rossum, Alex Martelli, PyPy staff and many others key members of python community. They were there, with you: you could swing by them and have a chat. It’s been incredible, and very nice. I couldn’t ask better :)

    Companies
    This year Europython has seen the presence of many key companies: Spotify, Google, Red Hat, 10Gen, BitBucket, Python Academy, DemonWare, Enthought, Gymglish and many others. All of them were there to promote python in their own company and to hire talented people. For whom looks for a job it’s been a great opportunity. More or less, last year my adventure began with Europython (read more here). You could stop by in front the desk of the company, have a chat, give your CV, solve the crazy puzzles and take home some nice gadget. I WANTED THE RED HAT but the only way to have it is working for Red Hat :)
    Oh yes, Josette is a fixed point of Europython: she sells O’Reilly’s book with a great discount.

    Women
    The double of last year: great improvement! 8% among us were women! Following the logic of Marco Beri, on 2016 there will be 128% of women! :) Not bad! :P Congratulation also to Lynn Root for her hard work to bring into the Python community more women.

    General stuff
    In this category I put everything that I’ve forgotten earlier. Welcome pack: google bag with a lot of brochure, two t-shirts and a MongoDB mug to use it instead of plastic glasses. All the process to buy the ticket was straightforward: you could book (If you were fast enough) also the room, sharing with other pythonistas and book the pyfioretina. Everything online. In general I’ve seen many small things that made Europython very nice. At the moment I can’t remember all of them but I promise you that if something come up to my mind, I’ll update the blog post.

    How to improve it the next year?
    I didn’t express myself on Schedule and timing, Duration and contents because I’d like to doit here, all together. I think that the organisers can improve a lot the content to give a higher quality. This can affect scheduling, duration and timing. So far, speakers submitted talks and who bought an early bird ticket could vote them. I like this, very democratic but too much “anarchic”: not for the voting system but for the content proposed. Too many topics together with no room for further studies. So why not organize the content in a different way, organize the content in macro areas, in big topic. Just to give an example: web, enterprise, mobile, HPC, community, etc. Then every big topic should have a “path”, starting from the basics to reach an advanced level.
    This way to see the content can change also the scheduling and the duration: why not having sprint all week from monday to saturday (in background) so we have a day more of talks and every day give to the attendees the progress of the daily sprint: “we’ve solved 3 bugs and implemented 2 new features”. The big picture of my idea is to organise better content, schedule, and timing.

    I end my post to thank all the organiser (many of them are my friend) for the wonderful job and see you next year for a better Europython. Great job guys!

    And you? How can the Europython be improved the next year? What did you like? What didn’t you like? Drop a comment and tell your opinion. :)

     
  • diegor 1:50 pm on June 8, 2012 Permalink | Reply
    Tags:   

    HOWTO: Terminal’s tips in OSX 

    Another useful and quick post about tips from OSX Terminal that let you to save a lot of time. So just open a Terminal and try them.

    • “open .” opens the current folder. “open file.png” opens the image file.png. You can “open” whatever you want.
    • “pbcopy” and “pbpaste”  copy/paste to/from the clipboard
    • -m SimpleHTTPServer 8000″ starts a webserver (using python)
    • “say Hello there” says “hello there”, really! :)
    • “!!” runs the last command
    • “mdfind” is Spotlight from command line
    • “ctrl-a” and “ctrl-e” go to the beginning/end of the line
    • “cd”, do you really need an explanation?
    • “/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background &” your screen saver as you desktop wallpaper – useless
    • “emacs -batch -l dunnet” is a text-based game :)
    • “top -o vsize” or “top -o cpu” tell you who is eating your memory/CPU?
    • “SetFile file -a V” makes files invisible
    • “diskutil” manages disks and images
    • “hdiutil burn /path/to/iso” burns an ISO to a CD/DVD
    • “/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -s” scans WIFI networks
    • “atl + mouse drag” is the rectangular selection
    • “afplay ~/path/to/file.mp3″ plays an mp3 file
    • “sudo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder” opens Finder with root permissions (pay attention!!!)
    • “cat somefile.txt | say” literally says the content of somefile.txt
    • “history|awk ‘{print $2}’|awk ‘BEGIN {FS=”|”} {print $1}’|sort|uniq -c|sort -r” gives you the numbered list of most recent commands
    • “sudo softwareupdate -i -a” launches the software update
    • “ctrl + R” startes a reverse search of your commands

    Do you have other useful tips? Post them in the comment! :)

    Source and other tips, here.

     
  • diegor 12:52 pm on April 9, 2011 Permalink | Reply  

    Flash post: new, again 

    Yesterday I’ve decided to update my site and significant changes are:

    Do you like it? Comment!

     
  • diegor 1:00 pm on March 11, 2011 Permalink | Reply
    Tags:   

    HOWTO: make vim show ending line spaces as characters 

    When you edit a file with vim, it’s useful understand where the line ends especially if there are spaces at the end of the line. Instead checking all lines, you can highlight white spaces. How?

    1. Open Vim from Terminal
    2. type
      :set list
    3. You see an output like the one below
    4. If you want see each space as character, type this command
      :set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<
    5. The output should look like below

    Very simple and useful tip! :)

    If you have any doubt, advice or something else, comment this post! :)

    Source: Stackoverflow

     
    • proudlygeek 1:43 pm on March 11, 2011 Permalink | Reply

      Vim is my favourite text editor, i use it pretty anywhere :-)

      I’ll share a useful trick for commenting multiple lines of code:

      1) SHIFT-V to select multiple lines;
      2) Type “:s/^/#”

      Where “^” indicates the beginning of a line and “#” the comment symbol of your choice.

      To decomment a block of code:

      1) Shift-V
      2) Type “:s/^#//”

  • diegor 2:21 pm on February 26, 2011 Permalink | Reply
    Tags:   

    HOWTO: protect a web url with a password 

    Today I show you how to protect with a password a web url. This can be done in several ways (you can find it in Google) and in this post I use Apache2. Follow these steps:

    1. Install Apache2. Most OS have a preinstalled version (OSX has got)
    2. Create a file named “.htpasswd” via “htpasswd”:
      #> htpasswd -c /path/to/.htaccess diegor

      and when the prompt will ask you the password, type it (twice). The file looks like (in this case the password is like the username - DON’T DO IT, NEVER!!):

      diegor:HMAATyF2kQ37E
    3. Put this file to a directory NOT accessible to web server. For example, move it above www root directory
    4. Finally create a file named “.htaccess” in the directory to protect:
      AuthUserFile /path/to/your/safedir/.htpasswd
      AuthGroupFile /dev/null
      AuthName EnterPassword
      AuthType Basic
      
      require user diegor
    5. Restart Apache and go to you protected url via browser. You can’t access until you type your user and password

    That’s it. If you have any issue, comment this post.

     
  • diegor 3:26 pm on February 15, 2011 Permalink | Reply
    Tags:   

    HOWTO: moving Time Machine data to new hard disk 

    If you are using Time Machine feature from OSX maybe you need to move data from you hard disk to a new one avoiding to lose it. There is no official way to do this, but with some trick you can do it easily. Follow these steps:

    1. make sure both drives (could be also a remote hard disk) are connected;
    2. launch “Disk Utility”
    3. in the left column, click on one drive name (NOTE: main drive icon!)
    4. at the right side click on “restore” tab (the last one)
    5. from the left, click and drag the icon of the older hard drive to “source” field
    6. repeat step 5 with the new drive dragging it into “destination” field
    7. best choice is to set “Erase Destination”
    8. click “Restore”
    9. realax for some hours (for 120 GB I waited 5 hours).

    When the process will finish, new drive has the same name of the old one. Rename old drive or give a new name to new drive. Once you changed the name open Time Machine settings and choose new drive.

    That’s it :)

    If you have any trouble, let me know commenting this post.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel

Switch to our mobile site

%d bloggers like this: