Python Portugal

Blog

Happy new year

By Nuno Mariz, on 31 December 2011 @ 23:03

No resolutions, just goals and dreams. Have a healthy baby girl, love, health, run half marathon in 2h and success for my upcoming projects.


Happy new year!

Announcing Daddy 2.0

By Nuno Mariz, on 18 August 2011 @ 14:46
Daddy 2.0

The project is under development and my co-worker is doing her best to provide the most beautiful layout.

For my english speaking readers the photo says: "Pregnant 3+"

Believe in your ideas!

By Nuno Mariz, on 3 May 2011 @ 17:16
Later in 2007 I had almost 200 feeds subscriptions on my Google Reader account and I had a problem, sometimes I didn't have the time to read a full article and I wanted to read it later.
At that time I was not aware of a tool that would help me with this problem and my solution was to add a bookmark to Delicious with a readlater tag.
It worked, but I didn't want to mess my bookmarks with links to articles that I wanted to read later.
I felt that I needed a tool for the job and for about a week in my spare time I built a simple website to manage my online readings. It was simple, It had a bookmarklet that I could call to save a link of the page that I was visiting, add a title, description, tags and the ability to save it privately.
On February, 8th, 2008 I announced on my blog the release of Fullread. The feedback was a mix of "I use delicious with a tag for that" and "Looks nice, but not very useful".
At that time I built the tool mainly for myself and I truly believed that there was a need for this kind of thing, but the majority of the feedback was not that great. I continued using the tool but I didn't add more features to it. If the people didn't liked why bother?
Well, 25 days later Marco Arment released Instapaper and posted on his blog. Marco went further and added an iPhone app, that was in my opinion the killer feature.
Right now Instapaper is the market leader in this category, it's a fantastic tool with a continuous development and I use it every day.

So, why Fullread had no success compared to Instapaper?
In my opinion the factors were:
Mainly because Marco made a great job. Marco was the CTO of Tumblr and was well known by the community, this helped with the media coverage. I'm a simple software engineer in Portugal. I abandoned Fullread development.

What's the future of Fullread?
The answer is not simple. It’s very difficult to compete with Instapaper or Read it Later at this time of the game. But, in the name of pride, I'll eventually improve/rebuild Fullread, maybe with a different approach.

So, is there a lesson to take from all this, I ask?
Yes: Believe in yourself, believe in your ideas!

My daily tools

By Nuno Mariz, on 23 March 2011 @ 13:00

Hardware

At home

Laptop: MacBook Pro 15" - Intel Core 2 2.4Ghz, 2Gb RAM(needs an upgrade) and 150Gb HD, connected to a HP 2310e 23" monitor and a mStand. Phone: iPhone 3G.

At work

Computer 1: iMac 21.5" - Intel Core 2 3.0Ghz, 4Gb RAM and 500Gb HD. Computer 2: Ubuntu Linux - Intel Quad-Core 2.4Ghz, 4Gb RAM, WD Raptor 150Gb + Samsung HD502 750Gb. Used for testing and processing maps. Phone: HTC HD2 with a custom Android 2.3 Gingerbread ROM.

Software

For development

Emacs: I'm using it for all web development, scripting and text editing. Xcode: For iOS development. Eclipse: For Android development. Firebug: For web development. Mercurial: The distributed source control management of my choice. Virtualenv: Virtual Python environment builder. PostgreSQL: The relational database of my choice. PostGIS: Adds support for geographic objects to the PostgreSQL relational database. MongoDB: A document-oriented database.

Other tools

Evernote: My information organization tool for all my projects ideas, notes etc. Dropbox: For file sync, no more pen drives! Reeder: I use both iPhone and desktop versions to consume RSS feeds. Twitterrific: I use both iPhone and desktop versions, it's the Twitter client that's fast enough on my iPhone 3G.

What's yours?

New website

By Nuno Mariz, on 16 March 2011 @ 19:32
The new website is up. After almost 2 years, I'm blogging again.
The reason for this gap It's a mix of Twitter usage and laziness.
In the migration process I've messed up the RSS feed, solved, my apologies that.

Getting the client IP address behind a proxy in Apache

By Nuno Mariz, on 20 May 2009 @ 09:45
Typically in my Django projects deployments I use Nginx as a front-end web server to handle static content while proxying all other requests to Apache.
When the request arrives to Apache, the client IP address is 127.0.0.1. We need to configure Apache to accept the IP address from X-Real-IP or X-Forwarded-For headers set by Nginx.
To solve this problem I use mod_rpaf that does exactly the opposite of mod_proxy_add_forward.

In my Nginx virtualhost configuration I have something like:

server {
    ...
    location  / {
        proxy_pass        http://127.0.0.1:8080;
        proxy_set_header  Host             $http_host;
        proxy_set_header  X-Real-IP        $remote_addr;
        proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
        ...
    }
    ...
}

This also applies if your are using a different webserver as front-end such as Lighttpd or another instance of Apache.

Portuguese Python User Group

By Nuno Mariz, on 18 May 2009 @ 08:45

I've created a Python User Group in Portugal. The idea is to join people who enjoy programming in Python.
No membership is required to participate, experienced programmers and absolute beginners are both welcome!
You can visit the site or follow us on Twitter.

Django 1.0 released!

By Nuno Mariz, on 4 September 2008 @ 01:23
Yes, is finally here.

Portuguese translation of Django 1.0

By Nuno Mariz, on 29 August 2008 @ 15:09
I've just submitted a patch for the Portuguese translation.
If you are a Django user and know Portuguese, please take a look to the translation strings and submit any fix before the final 1.0 release.
Meanwhile, you can download the unofficial version in the downloads section.
Update: The patch is already in SVN.

Rafael Barbosa Mariz

By Nuno Mariz, on 26 July 2008 @ 05:48
Rafael
Rafael Barbosa Mariz was born at 00h48, July 26, 2008. He weighed 3.580 Kg and was 50 cm long.
Rafael and Marta are doing well.


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser