Better HN
topnewbestaskshowjobs
Log inSign up

renzon

0 karma · joined Nov 13, 2013 (13y ago) · 8 submissions

Software Engineer that loves develop and teach
Submissions

comment 8y ago · link · parent

Well, he is a senior developer with wife and son.

2.

Is € 4.700 gross per month a good salary in Amsterdam?

1 points · by renzon · 8y ago · 3 comments

comment 9y ago · link · parent

I just use pyup (https://pyup.io/) for Python projects and it works like a charm. It not only show vulnerabilities but also updates and Python 3 incompatibilities.

4.

Subtle Bug: Python, Mac and Unicode(blog.renzo.pro.br ↗)

1 points · by renzon · 9y ago · discuss

comment 9y ago · link · parent

They used Decimal just to show the nested attribute access

comment 9y ago · link · parent

For i18n you can still do the same of _('your template here {foo}'), where _ is you gettext[1]. And once it has a lazy version, you will be covered.

[1] https://docs.python.org/2/library/gettext.html#gnu-gettext-a...

comment 9y ago · link · parent

It's not good practice. You must use Decimal when precision is important. Example: when dealing with currency, so arithmetic operations don't create or miss cents.

comment 12y ago · link · parent

I do this all the time. The main idea is documented here:

https://github.com/renzon/tekton/wiki

You can see tests all over my repos starting with prefix "gae".Here you have a example of a app that I build to automate form validation:

https://github.com/renzon/gaeforms/blob/master/test/ndb/form...

It includes db access and i18n mocking.