1,483 karma · joined March 2, 2016
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.
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.
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...
Eg. Y12 criticality incident - https://youtu.be/HaOc8FhMdWc
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)
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.
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...
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!
The calcium in those neutralize any potential issues of the oxalic acid.
Turns out the client needs an --offline flag to so so, and I got a bit creeped out to have such a dependency.
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.
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.
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...
In absolute numbers the suicide rate among men is an epidemic, but it's not fair to equate the two populations...
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.
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...
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/
In a large organization or product, using user stories might devolve into chaos, with people using them way beyond their intended and reasonable use.
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.
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.
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...
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
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:
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.
https://twitter.com/DeanBuono/status/1636203814419308544
Feels a bit too consistent of a mistake.