576 karma · joined Aug 7, 2016 (10y ago) · 160 submissions
comment 5y ago · link · parent
comment 5y ago · link · parent
> Python libraries should not pin dependencies. _Applications_ can pin dependencies, including all recursive dependencies of their libraries.
Is the pypi package awscli an application or a library?
poetry is frustrating in that it doesn't allow you to override a library's declared requirements to break conflicts. They refuse to add support [1][2] for the feature too. awscli for example causes huge package conflict issues that make poetry unusable. It's almost impossible not to run into a requirement conflict with awscli if you're using a broad set of packages, even though awscli will operate happily with a more broad set of requirements than it declares.
[1] https://github.com/python-poetry/poetry/issues/697
[2] https://github.com/python-poetry/poetry/issues/697#issuecomm...
comment 5y ago · link · parent
One of the things that prompted the OP was this breakage in Python's cryptography package [1] (OP actually opened this issue) due to the introduction of a Rust dependency in a 0.0.x release. The dependency change didn't change the public API at all, but did still cause plenty of issues downstream. It's a great question on the topic of semver to think about how to handle major dependency changes that aren't API changes. Personally, I would have preferred a new major release, but that's exactly your point syllogism — it's a matter of opinion.
As a sidenote, Alex Gaynor, one of the cryptography package maintainers is on a memory-safe language crusade. Interesting to see how that crusade runs into conflict with the anti-static linking crusade that distro packagers are on. I find both goals admirable from a security perspective. This stuff is hard.
comment 5y ago · link · parent
I wouldn't say the ORM is "for prototypes/pocs", but rather it should be the default and raw SQL is "complicated stuff only".
comment 5y ago · link · parent
Looking forward to seeing what you pick in terms of application benchmarks. I think application benchmarks help to keep us honest in terms of real-world impact of storage upgrades. LTT seeing if people could tell the difference between SATA and NVMe for games was great. I'm interested in database workloads, and the reason I was asking about the SN850 is that in Postgres benchmarks I've seen it has smoked the 980 Pro.
comment 5y ago · link · parent
comment 5y ago · link · parent
Improved semiconductor device density directly translates into benefits for more advanced computing systems— the primary driver for progress in semiconductor technology. Thus, we propose the use of the following three-part number as a metric to gauge advancement of future semiconductor technologies: [DL, DM , DC ], where DL is the density of logic transistors (in #/mm2), DM is the bit density of main memory (currently the off-chip DRAM density, in #/mm2), and DC is the density of connections between the main memory and logic (in #/mm2). As an example, today’s leading edge technologies that are published in the literature [15]–[17] can be characterized by [38M, 383M, 12K]. As another example, 3-D stacking of multiple logic and memory dies can increase DL, DM, and DC .
comment 5y ago · link · parent
"Heh" is an obnoxious response, as if an organic chemistry class wouldn't teach the basics of organometallics and some of the things that make compounds more or less dangerous.
comment 5y ago · link · parent
Hooks have been a savior for me. I agree that there are a lot of sharp edges with hooks, but they're not magic. They're powerful and they compose really well. If you're doing anything behaviorally complicated on a React app, it's easy to build whatever abstraction is appropriate to your project.
comment 5y ago · link · parent
I want to get my job done with an API, not browse it. I spend most of my time figuring out what order endpoints need to be called in and what data they need to be passed, not what the endpoints are.
The shittiest HTTP APIs I've used had full lists of endpoints but nonexistent documentation of arguments. If HATEOAS solves that I can get behind it, but I don't think it does.
comment 5y ago · link · parent
I'm not affiliated, but check out the HealthyGamerGG channel on Youtube. He's a Harvard psychiatrist does interviews/counseling streams on twitch that are pretty cool, and deal with a lot of millenial/zoomer gamer mental health issues. Here's one that spoke to me about failure and expectations: https://youtu.be/hzkgIOzBP7w
comment 5y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
This aligns with reports of retailer inventory, where availability of high end models was extremely limited, but there were many more of the mid-tier models.
comment 6y ago · link · parent
As to monoideism's question: I'm not a doctor, but ketamine is more benign than many other anesthetics especially at the lower doses used in treating depression. Do your homework, but don't rule it out based upon prior experiences with other anesthetics.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
It's serviceable, and even does static checking of total coverage of cases. I will say that it makes linters freak out.