HNHacker News
TopNewBestAskShowJobs

flaviojuvenal

1,088 karma · joined May 11, 2011

Partner at Vinta, a web consultancy firm focused in Django: http://www.vinta.com.br/

Twitter: https://twitter.com/flaviojuvenal GitHub: https://github.com/fjsj

submissionscomments
flaviojuvenal··on Brazilian Amazon lost 18 trees per second in 2021
Note this is probably a false dilemma. According to Brazilian federal police, the recent deforestation surge is caused by illegal logging, not agriculture or cattle raising. Source in Portuguese: https://www.cnnbrasil.com.br/nacional/pf-grilagem-e-madeira-...

Brazil had no trouble to grow in 90s and 2000s while reducing Amazon deforestation.

flaviojuvenal··on Similarity Learning lacks a framework. So we built one
Not a full featured framework, but pytorch-metric-learning has data loaders, lossess, etc. to facilitate similarity learning: https://github.com/KevinMusgrave/pytorch-metric-learning

Disclaimer: I've made some contributions to it.

flaviojuvenal··on Supreme Court Overturns Roe vs. Wade
Sorry, thought you're asking about pro-life positions.
flaviojuvenal··on Supreme Court Overturns Roe vs. Wade
Plenty of discussion about that on contemporary philosophy. You should just search a bit: https://en.m.wikipedia.org/wiki/A_Defense_of_Abortion
flaviojuvenal··on Symbian Source Code
Besides the awful UI, it missed several key third-party apps that Android and iOS had. Also the GMail integration was pretty bad.
flaviojuvenal··on Brazillian businessman built a giant perpetual engine
More pictures of this bizarre thing here: https://www.hypeness.com.br/2014/01/empresa-brasileira-desen...
flaviojuvenal··on Ask HN: Good Python projects to read for modern Python?
The EDX platform is open-source, it's a complex Django project: https://github.com/edx/edx-platform
flaviojuvenal··on An underrated idea: the priority view
The article states: "you might consider a small amount of happiness for someone who is depressed to have more moral value than a larger amount of happiness for someone who is already fairly happy". For me this looks like the prospect theory curve: the depressed friend is at a loss, so you assign greater value to their happiness gains, regardless of the real utility.
flaviojuvenal··on Uncomfortable Truths in Software Engineering
Yes, survivorship bias too.
flaviojuvenal··on An underrated idea: the priority view
And lack of knowledge about Prospect Theory.
flaviojuvenal··on Study reveals new details on what happened in the first microsecond of Big Bang
Check Conformal Cyclic Cosmology: https://en.wikipedia.org/wiki/Conformal_cyclic_cosmology
flaviojuvenal··on Human-monkey chimera embryos created in lab
Exactly, even a broken clock is right twice a day.
flaviojuvenal··on Giving GPT-3 a Turing Test
"Reading the OpenAI GPT-3 paper. Impressive performance on many few-shot language tasks. The cost to train this 175 billion parameter language model appears to be staggering: Nearly $12 million dollars in compute based on public cloud GPU/TPU cost models (200x the price of GPT-2)"

https://twitter.com/eturner303/status/1266264358771757057

flaviojuvenal··on 'Finally, a virus got me’: Scientist who fought Ebola and HIV reflects
ok, but is there any other kind of pneumonia that can spread to the whole humanity in months? sincere question
flaviojuvenal··on CSS Utility Classes and “Separation of Concerns” (2017)
Ended up looking a lot like Bootstrap to me.
flaviojuvenal··on All plastic waste could be recycled into new plastic: researchers
I agree. But without tools, marketing, lobbying, policy-making, etc., it's hard to make lasting changes.
flaviojuvenal··on All plastic waste could be recycled into new plastic: researchers
It would be motivating to know cases where "everyone can act now by themselves" really worked. I don't know any. Big change usually happens through organizations lobbying for something. Organization is the keyword here. Individual change rarely makes a difference if not organized.
flaviojuvenal··on Adam Neumann planned for his children and grandchildren to control WeWork
What this has to do with a business being family-owned or not?
flaviojuvenal··on Norweigan oil fund
how so?
flaviojuvenal··on A Collection of Dev Checklists
Hi folks, I'm Flávio from Vinta. Someone posted this before we made it almost-static and therefore HN-ready, so sorry for the issues! We were planning to launch it with more checklists and a better backend. For now, in case you face issues, please try the original markdown versions on GitHub:

Python

Django Apps Checklist https://github.com/vintasoftware/django-apps-checklist/blob/...

Python API Checklist https://github.com/vintasoftware/python-api-checklist/blob/m...

Celery tasks checklist https://github.com/vintasoftware/celery-tasks-checklist/blob...

Production Launch Checklist https://github.com/vintasoftware/production-launch-checklist...

Agile

Pull Requests Checklist https://github.com/vintasoftware/pull-requests-checklist/blo...

Critical Incidents Checklist https://github.com/vintasoftware/critical-incidents-checklis...

Weekly Meeting Checklist https://github.com/vintasoftware/weekly-meeting-checklist/bl...

Sprint Meeting Checklist https://github.com/vintasoftware/sprint-meeting-checklist/bl...

Feature Development Workflow https://github.com/vintasoftware/feature-development-workflo...

Feature Card Checklist https://github.com/vintasoftware/feature-card-creation-check...

Bug Card Creation checklist https://github.com/vintasoftware/bug-card-creation-checklist...

PR Reviewer Checklist https://github.com/vintasoftware/pr-reviewer-checklist/blob/...

Starting New Projects

Landing Page Checklist https://github.com/vintasoftware/landing-page-creation-check...

flaviojuvenal··on GreatFire is tracking Apple iOS applications for instances of censorship
This site allows you to compare with other countries too. Search for VPN, Communism, Privacy. Try Brazil, Argentina, even Russia. Results are mostly similar to US.
flaviojuvenal··on Ask HN: Why did your startup fail and what did you learn?
AR/AP: https://www.diffen.com/difference/Accounts_Payable_vs_Accoun...

APR: https://en.wikipedia.org/wiki/Annual_percentage_rate

Retainer: https://www.investopedia.com/terms/r/retainer-fee.asp

flaviojuvenal··on My favorite principle for code quality
code removeability, or, write code that is easy to delete, not easy to extend: https://programmingisterrible.com/post/139222674273/write-co...
flaviojuvenal··on A tool that lets you hear both Yanny and Laurel
those and brain needle and green storm work for me too.
flaviojuvenal··on Stimulus: A modest JavaScript framework for the HTML you already have
I guess that Turbolinks is used by Basecamp 2 and it sucks a lot. Search takes seconds to load for me, without any loading feedback.
flaviojuvenal··on Portugal’s radical drug policy is working. Why hasn’t the world copied it?
Smuggled tobacco is at most 30% of Brazilian market. Was 16% before 2011. If we had 70% of legalized marijuana, we would be much better.

Source: https://www.em.com.br/app/noticia/economia/2014/07/04/intern...

flaviojuvenal··on Checklist for Python libraries APIs
For the 1% use cases, expect forks. For 19%, give them options. For 80%, give them good defaults.
flaviojuvenal··on Checklist for Python libraries APIs
Thanks for the suggestion. Will add that to the checklist. Feel free to contribute too: https://github.com/vintasoftware/python-api-checklist
flaviojuvenal··on Checklist for Python libraries APIs
Author here. Thanks for the feedback. I wrote this because I've seen too many APIs I couldn't use or had to discard later on because they forgot to expose a lower-level parameter. Yes, supporting additional parameters is a trade-off on stability, but I think it boils down to separating things that change frequently from things that shouldn't change, i.e., having a low-level interface and a high-level interface on the same API. Advanced users that work with internal parameters should know they're on unstable territory. Document that to acknowledge them about the risk. They'll have the flexibility they need knowing about the cost. I guess that if you don't do that, you'll lose users for an API that does.

You don't need to expose each internal parameter or write adapters to everything you use. As suggested by the sibling here, sometimes all you need is to pass down kwargs to the low-level call.

Other API guidelines that suggest a similar approach here:

http://tomasp.net/blog/2015/library-layers/

http://www.thereformedprogrammer.net/what-makes-a-good-softw...

flaviojuvenal··on Checklist for Python libraries APIs
Author here. Not worthless because you can add checklists to your PR template, PR review, QA process, etc. But I agree that automatically checking things is the next step. I've talked about how to achieve this with custom linters in a DjangoCon talk: https://youtu.be/IMRHFlDxaqU
Page 1 of 3Next →