HNHacker News
TopNewBestAskShowJobs

sergioisidoro

1,483 karma · joined March 2, 2016

[ my public key: https://keybase.io/sergioisidoro; my proof: https://keybase.io/sergioisidoro/sigs/rzcajPfW372x9poJalOA1yA0aFSVXvPrEDnYkvV1v-o ]
submissionscomments
sergioisidoro··on The anesthetic effect of air at atmospheric pressure
What if instead it's helium that is a slight stimulant?
sergioisidoro··on Python: Just Write SQL
I've used Rails AR and Django/SQL Alchemy orms, and the more I use it, the more I wish for a fusion of both.

Django ORM is amazing for Schema management and migrations, but I dislike their query interfaces (using "filter" instead of "where"). I really like Rails AR way of lightly wrapping SQL, with a almost 1-1, and similar names, but does not have a migration manager - and there is always the chance that your schema and your code will diverge.

If I would get a Schema / migration manager, that would allow to do type checks and that would work well with a language server for autocompletes, but use SQL or a very very thin wrapper around SQL, that would be my Goldilock solution.

sergioisidoro··on Astro: All-in-one web framework designed for speed
I'm a bit baffled by the focus on SEO on the latest frontend libraries.

Sure it makes sense if you're building a store or marketplace that needs to be publicly indexed, but for most web applications SEO is only important for landing page.

sergioisidoro··on Lessons From Linguistics: i18n Best Practices for Front-End Developers
It's frustrating that the post does not provide any solution for some of the problems like declinations and gender. I internationalised a couple of applications, and it's incredible how i18n frameworks are still so limited in linguistic aspects that are so important for so many languages.

Finnish, for example works with a ton of suffixes, and you end up having to rewrite the copy (to non natural structures) to fit interpolation and declinations. Portuguese genders almost every subject in a phrase construction.

The web is killing (or creating artificial versions) of many languages because the lack of tooling...

sergioisidoro··on A Critical Problem (2017)
I mean, there are incidents in refineries and plants. It's just hard to know how common they are because many go unreported or just don't reach wide public knowledge.

Eg. Y12 criticality incident - https://youtu.be/HaOc8FhMdWc

sergioisidoro··on Throw away your first draft of your code
I've felt this, and I agree. It really pays of to do some work on technical discovery, make all the mistakes, see where all the design issues will be, validate as much as possible, and then start again. And the best way to really scope out requirements and get to know the "unknowns" is really to get your hands dirty.

Especially when in comes to business logic and domain modelling, some bad decisions at the begining can cost a LOT, to undo in an iterative matter.

(To clarify I'm talking about the timeline the author proposes of "a couple of days" build the throw away prototype)

sergioisidoro··on Forced rhubarb, a vegetable deprived of sunlight, is having a renaissance (2019)
Do you know why doesn't the Oxalic acid bind with the calcium of the Rhubarb, and turns into a problem if consumed? Is there enough calcium to bind with the Oxalic acid? Is the calcium in Rhubarb bioavailable?

Genuine questions here, because as I understand, many of the nutricional fact sheets are calculated after the food is broken down and passed though a mass spectrometer.

sergioisidoro··on Forced rhubarb, a vegetable deprived of sunlight, is having a renaissance (2019)
I'm living in Finland, and that is where I got that knowledge from. So yes, unfortunately my source is also empirical knowledge.

But knowing how certain African cultures learned to neutralize Cassava, and that knowledge passed through generations without knowing the reason why, I learned to not fully dismiss these kinds of knowledge...

sergioisidoro··on One week of empathy training (2019)
I'm skeptical about calling it a disability, because a lot of these mechanisms and dark patterns are made to prey on everyone's nature.

Some people may more susceptible to those stimuli, but I don't see it a disability, but as natural neurodiversity.

These are plainly predatory and unethical marketing practices, for everyone!

sergioisidoro··on Forced rhubarb, a vegetable deprived of sunlight, is having a renaissance (2019)
That is why so many rhubarb dishes (rhubarb pies, and desserts) are so often served with ice cream and vanilla sauce based on milk products.

The calcium in those neutralize any potential issues of the oxalic acid.

sergioisidoro··on Expo – Open-source platform for making universal apps for Android, iOS, and web
I got a bit this feeling when I tried to run the app locally offline during a flight and couldn't, because the client could not call home.

Turns out the client needs an --offline flag to so so, and I got a bit creeped out to have such a dependency.

sergioisidoro··on When wealthy adventurers take risks,who foots the bill for rescue attempts?
If the wealthy would pay taxes proportionally to their wealth, and not evade taxes like many do, this would be an easy answer for me.
sergioisidoro··on Eating microwave popcorn increases the level of PFAS in body (2022)
The numbers are not bad, and in many cases they might even be totally natural (eg. e330 citric acid, the acid present on citrus fruits).

I worry more about what's not in the labels (like pesticides used, antibiotics in meats, packaging etc). Your approach seems to be directionally correct tho, if you source your ingredients right.

sergioisidoro··on Everything must be paid for twice (2022)
I think it's thrice: Acquiring price, usage price, and disposal price.

I've recently discovered how large the price of getting rid of something can be. Usually these costs are hidden because you just throw something into the trash and it's gone. But not always the case.

sergioisidoro··on The duck in the room – the end of baseload
The author both says that we will find a solution to excess energy (eg. Hydrogen generation), and at the same time says we don't have space for baseload. It feels a bit of cognitive dissonance.

I still feel that these articles massively underestimate the amount of energy required in the future, when all fossils (eg. air travel, transportation, industry) will migrate to fully electric. Unless we want to pave every surface with solar, baseload will still be needed...

sergioisidoro··on In praise of blowing up your life
Comparing the suicide rate of those groups with middle aged white men (adjusted for the population size) is a bit silly. Some sources point to 40% of trans people having attempted suicide, and I don't think 40% of middle aged men have attempted suicide.

In absolute numbers the suicide rate among men is an epidemic, but it's not fair to equate the two populations...

sergioisidoro··on Fluent – A localization system for natural-sounding translations
I'm going to assume you are building mostly in English, or in languages that maps simply to English (eg. With the same number of plurals). If you have 3 or more plural cases, plus gender (including neutral) you already have a multitude of cases in an if/else.
sergioisidoro··on Django Views – The Right Way
The most important caveat that the author mentions: this advice may not apply to Django Rest Framework.

Class based views for DRF are awesome because they represent a resource. It has been a great experience writing REST APIs with class based views, and it reduces boilerplate with a tolerable amount of implicit logic.

But as soon as I need to render a simple html page from a request, I share the frustration of the author.

sergioisidoro··on Palantir CEO Rejects Calls to Pause AI Development
I share the sentiment, that many calls to pause AI development come from fear of market disruption and fear of competition, not from genuine concerns over safety.

Especially coming from the people who created attention machines that have changed the course of elections, had a major impact in spreading misinformation during a global pandemic, and are contributing to a mental health crisis. And yet we don't hear them call for more regulations for their own markets...

sergioisidoro··on I gave commit rights to someone I didn't know (2016)
Giving commit rights to some random person is risky, and will only happen to "celebrity" contributors, with enough social validation. That means not everyone will get it, regardless of how good job they do contributing to a fork or proposing solutions.

So I really appreciate projects like JazzBand [1], that gather likeminded contributors and individuals that want to harbour open source repos around an ecosystem (Eg. Django), while giving some assurance on governance. If JazzBand would be around in 2016, django money would be a very good candidate to be harboured by the org.

On a meta level, I really would love that more OSS devs would user orgs, rather than personal accounts and repos, so that they can grow their projects with a team, rather than becoming the bottleneck and gatekeeper for development.

[1]- https://jazzband.co/

sergioisidoro··on User stories? thanks but no
This lacks context of organization size. When you're building a product from the ground up, user stories are super useful to organize and priorize flows and features. They are a super lightweight tool to communicate scope and requirements in small teams.

In a large organization or product, using user stories might devolve into chaos, with people using them way beyond their intended and reasonable use.

sergioisidoro··on Spacetop, a radical laptop with no screen
I love the compact form of my laptop, hate to be constantly looking down. I have a super bulky screen just to have a few windows side by side. If (and that's a big if) this would be able to achieve 60hz 4k equivalent, its hands down the next step.
sergioisidoro··on I stopped worrying and learned to love denormalized tables
As someone who today has to maintain a database with a lot of denormalised data, do this only if your database is pretty much write once (the author's use case).

For anything else you might feel that it's saving you time and performance by not needing to join tables, but you're just shooting yourself in the foot with a delayed effect. You're just moving complexity from the read to the write operation with a multiplication effect.

sergioisidoro··on First clean water, now clean air
See, they are debatable after all - we are debating them. There is data, there are some correlations that are statistically significant, and some raise even more questions — like why performance lowers at 1200ppm, but goes back up at higher concentrations in this article published on Nature in a very controlled environment - https://www.nature.com/articles/s41526-019-0071-6

I don't think this topic distracts from anything. I live in Finland, where indoor air quality is a big topic (mycotoxins and spores due to mold in old houses, burning wood in residential areas due to particulate emissions on cold days, construction codes, etc), while the country is making strides to become carbon neutral, and has one of the lowest economical inequality in the world.

But anyway, as I mentioned in the initial comment, the high CO2 just raised my attention to the bad ventilation of the house, and that includes ventilation of particulates from activities like cooking.

sergioisidoro··on First clean water, now clean air
I bought mine from a construction material supply web store, and was looking for one of the cheaper ones. Its a Trotec. I wouldn't trust the absolute values so much, but i believe it's directionally correct.
sergioisidoro··on First clean water, now clean air
Yes they are debatable. There are cognitive performance tests that show statistically significant decline in many tasks above 1500ppm, especially on planning tasks. That's independently of the feeling of "stuffiness".

If these measurable declines have a sufficient impact on our lives and productivity is the debatable part.

Edit: here's one reference: "We also found effects of CO2 (a proxy for ventilation) on cognitive function. For every 500ppm increase, we saw response times 1.4-1.8% slower, and 2.1-2.4% lower throughput"

https://www.hsph.harvard.edu/healthybuildings/2021/09/09/imp...

sergioisidoro··on First clean water, now clean air
I bought a CO2 monitor, and although the effects of CO2 in cognition and energy levels are debatable[1], it shocked me and raised awareness to how poor my indoor ventilation is.

We live in a small apartment, and just being 30 min with 2 people in the room raises the CO2 ppm from 400 to >1000. Opening a window quickly lowers it. Never-mind doing some light activity like yoga or similar.

So if we want to do something, I think the first step is really to get visibility to the problem, especially to the costs of the problem (productivity, public health, sick leaves, etc).

[1] at the levels found in my apartment

sergioisidoro··on Check if your IKEA chair is compatible with your screen
Holly crap! My screen has been randomly flickering every now and then. Tried everything to fix it, including disabling color calibrations, unplugging things, and disabling screen dimming. I have an Ikea chair, and sometimes get significant electrostatic discharges when I get up or touch metal elements.

I have a mechanical keyboard with a small piezoelectric buzzer, and sometimes I've heard it click, although it's unplugged.

Everything makes sense now D:

sergioisidoro··on Europe needs energy. Moroccan solar may be a clean solution
In the same paragraph the author acknowledges the dangers or relying on a foreign entity for energy supply, and ends up proposing the exact same thing.

I'm all in for renewable when it makes sense, but I think it's time we stop pretending all renewables work everywhere. Solar is not going to work in Northen Europe, and transporting energy from the south is also not the solution.

Nuclear is an essential piece of the climate puzzle, especially for northen climates, and these kinds of proposals feel like the German anti-nuclear agenda bending their backs to try and find _some way_ to make it work.

sergioisidoro··on What we still don’t know about how A.I. is trained
Exactly. And it happened multiple times on the original tweet, where it also replied "fifth" when asked for the fifth word of the phrase.

https://twitter.com/DeanBuono/status/1636203814419308544

Feels a bit too consistent of a mistake.

← PreviousPage 4 of 8Next →