Readit News logoReadit News
caidan commented on Announcing the Beta release of ty   astral.sh/blog/ty... · Posted by u/gavide
caidan · 9 days ago
You guys are a godsend to the python tooling world. I’ve been far more excited about the impact rust is having on the software world than that of AI, and your work is a big part of that. While I have not seen any real net productivity gains from AI in mine or my juniors work, I’ve definitely seen real gains from using your tooling!

In fact as Jetbrains has been spending years chasing various rabbits including AI, instead of substantially improving or fixing PyCharm, without you steadily replacing/repairing big chunks of Pycharms functionality I would be miserable. If it came down to it, we would happily pay a reasonable license fee to use your tools as long as they stayed free for non-commercial usage.

caidan commented on Announcing the Beta release of ty   astral.sh/blog/ty... · Posted by u/gavide
almanael · 10 days ago
Not impressed because when tried ruff, and discovered that it doesn't replace (basic) pylint check https://github.com/astral-sh/ruff/issues/970 so we have ruff then pylint (and looking at the number of awaiting PR of ruff feels bad)
caidan · 9 days ago
Ruff is incredible, replacing a mountain of tools and rules with a single extremely fast linter/formatter. Given that it is updated and improved frequently, I’m curious if you have tried it recently, and if so what pylint rules are you using that it doesn’t cover?
caidan commented on Making PyPI's test suite faster   blog.trailofbits.com/2025... · Posted by u/rbanffy
Galanwe · 7 months ago
From my experience speeding up pytests with Django:

- Creating and migrating the test DB is slow. There is no shame in storing and committing a premigrated sqlite test DB generated upon release, it's often small in size and will save time for everyone.

- Stash your old migrations that nobody use anymore.

- Use python -X importtime and paste the result in an online viewer. Sometimes moving heavy imports to functions instead of the global scope will make individual tests slower, but collection will be faster.

- Use pytest-xdist

- Disable transactions / rollback on readonly tests. Ideally you want most of your non-inserting tests to work on the migrated/preloaded features in your sqlite DB.

We can enter into more details if you want, but the pre migrated DB + xdist alone allowed me to speedup tests on a huge project from 30m to 1m.

caidan · 7 months ago
Agreed, the db migrations are usually the slowest part. Another way to speed this up substantially if you are using postgres and need your test database to be postgres too, is to create and maintain a template database for your tests. This database should have all migrations already run on it and be loaded with whatever general use fixtures you will need. You can then use the Django TEMPLATE setting https://docs.djangoproject.com/en/5.1/ref/settings/#template and Django will clone that database when running your tests.
caidan commented on Why we use our own hardware   fastmail.com/blog/why-we-... · Posted by u/nmjenkins
caidan · a year ago
I absolutely love Fastmail. I moved off of Gmail years ago with zero regrets. Better UI, better apps, better company, and need I say better service? I still maintain and fetch from a Gmail account so it all just works seamlessly for receiving and sending Gmail, so you don’t have to give anything up either.
caidan commented on Best Sci-Fi and Fantasy Books of the 21st Century (So Far)   powells.com/featured/25-e... · Posted by u/kaycebasques
caidan · a year ago
This is a fairly silly list really, missing the bulk of what's been good reads for the last quarter century(!). It's heavily biased tothings that have sold well in the past few years. That said, the books on here are quite good. I'd definitely recommend Black Leopard, Red Wolf if you want fantasy from completely different story genetics (non-Tolkien). Priory is more traditional but good fun.

Not on this list that I thought were particularly excellent, [goodreads rating in brackets]:

[4.26] Between Two Fires by Christopher Buhuelman https://www.goodreads.com/book/show/13543121-between-two-fir... Horror-Fantasy. Absolutely loved this book, a travelogue through France in the grip of the Black Plague...inflicted upon humanity by Lucifer in the war on Heaven. See the sights as God abandons his children and devils in both man and mythic form ruin His creation. Takes on a hallucinatory, Book of Revelations, William Blake on bad acid feel and builds to a tremendous crescendo while retaining deep heart and complex characters.

Christopher Buhuelman is one of my favorite "new" authors, his new fantasy series The Blacktongue Thief[4.22] and The Daughters War[4.3] are both excellent as well. His horror chops enable him to to make what might be more traditional fantasy stories much more impactful. For example, The Daughters War is about an desperate existential war against goblins that is fucking horrifying, which is impressive for a critter traditionally deployed for comic effect or disposable fodder for the heroes to kick about. Even though you "know" that humans win in the end because of the chronology of the series (this was book takes place before the The Blacktongue Thief which was published first), it doesn't feel like it ever. Which is the magic of good horror writing, and is often missing from fantasy which can feel like there are no real stakes sometimes despite the epic scales presented.

[4.22] Piranesi by Susanna Clark https://www.goodreads.com/book/show/50202953-piranesi Labyrinth-Fantasy. Another book I adored, this novel has a sense of place so tangible that I am convinced that it actually exists and Susanna has been there. Piransi lives in what amounts to a pocket dimension, an infinite labyrinthine house containing amongst other things an ocean whose tides rage through the halls, flooding and revealing them in turn.

[4.3] Children of Time by Adrian Tchaikovsky https://www.goodreads.com/book/show/25499718-children-of-tim... Alien Encounter-SciFi. Omitting this from any best of list shows the list isn't particularly serious, this novel is exceptional. On a distant exoplanet being terraformed for future humans, a disaster leaves the scientist in charge alone and cut off from humanity, and rather than seeding the new world with monkeys to be uplifted, she uplifts instead a small species of jumping spider. We experience its evolution across millenia and as its society reaches the space faring age, until it's encounter with the last desperate remnants of humanity, fleeing a doomed civilization and descending into barbarism. The narrative techniques to tell a story of this scope work exceptionally well and the whole tale moves quickly and with surprising emotional heft. To bring the audience to understand a world and society entirely unlike ours, and make it relatable and poignant is truly impressive. I really don't like spiders, but by the end of this book I was rooting for them... at humanity's expense.

Because of shifting demographics in the book buying market, readers looking for good yarns outside of the current trend of romantasy and/or cozy scifi/fantasy may feel a little left out, but there are tons of great authors that may be forgotten from these lists for a while. I heartily recommend:

Anything by Jay Kristoff https://www.goodreads.com/author/show/4735144.Jay_Kristoff, ex Nevernight[4.22] or Empire of the Vampire[4.35].

Anything by Joel Shepherd https://www.goodreads.com/author/show/215710.Joel_Shepherd, ex Spiral Wars series (scifi space opera with fascinating AI) [4.27-4.56], Cassandra Kressnov series (cyberpunk) [3.88-4.0], A Trial of Blood & Steel series (fantasy) [3.9-4.26].

Pierce Brown's Red Rising sci-fi series is excellent and magnificent in scope and scale.

Anything by Joe Abercrombie for gritty low fantasy with buckets of blood, humor, populated with legendary characters. The Bloody-Nine, Dogman, Black Dow, Caul mfing Shivers anyone? His latest series https://www.goodreads.com/series/211497-the-age-of-madness [4.45-4.6] was fantastic.

And of course the other books mentioned by other commenters, particularly anything by Ian M Banks.

caidan commented on Apollo – Funding for Moonshots   apolloprojects.com/... · Posted by u/janvdberg
caidan · 6 years ago
No disrespect intended, but what is the point of using terminology like “moonshot” coupled with tiny amounts of funding like $3m. If moonshot is taken to be a loose reference to the Apollo program - which I imagine it is otherwise the name is poorly chosen - then the funding amounts are off by several orders of magnitude. In 1960 the US government got its feet wet with a 900 million (in 2020 dollars) spend on the Apollo program and ramped up to a high of 40,000 million a year by 1964. The total spent on the Apollo program between 1960 and 1973 was 283,000 million or almost one hundred thousand times as much as the 3 million investment under the moonshots fund.

Sure the 3 million is a seed round but the US spent 300 times as much on its exploratory “seed” round in 1960.

It is unlikely until he extreme that any real “moonshot” will achieve significant impact without the combined talents of a large percentage of the world greatest talents driven by goals of the highest social priority funded by limitless pockets and organized by the very best managers and leaders that society can produce.

3m will achieve none of that.

caidan commented on Gatwick airport: flights suspended again due to 'suspected drone sighting   theguardian.com/uk-news/l... · Posted by u/caidan
caidan · 7 years ago
Bizarre that there is no interest in this subject at all on HN.
caidan commented on Gatwick airport: flights suspended again due to 'suspected drone sighting   theguardian.com/uk-news/l... · Posted by u/caidan
caidan · 7 years ago
Second day in a row. 120,000 passengers disrupted. Can anyone with domain knowledge chime in on why it is not possible to detect the operators?

u/caidan

KarmaCake day180June 19, 2011View Original