Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rtpg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
511.
▲
by
rtpg
1y ago
I really want to see some operational setups be available as a sort of playground for observability tooling. A decent sized SaaS-like with usage simulation, and a postgres/rabbit setup that is merely fine. A place to check if your debu
512.
▲
by
rtpg
1y ago
Shrug, I find them more helpful than Pydantic models for lots of canonical cases. I have had good success with DRF model serializers in like Django projects with 100+ apps (was the sprawling nature of the apps itself a problem? Sure, maybe)
513.
▲
by
rtpg
1y ago
To be fair I do think that Pydantic leaning into the type annotation story is nice. If you’re really going lean or performant the restrictions work well in your favor. Just like… for the bog standard B2B SaaS the expressivity tradeoff just
514.
▲
by
rtpg
1y ago
In the Django world I have gotten very frustrated at people rushing to go from DRFs serializers to Django Ninja + Pydantic. You have way less in terms of tools to actually provide nice straightforward APIs. I appreciate that Pydantic gives
515.
▲
by
rtpg
1y ago
Was there ever? And is the situation improving or worsening? I am alright with things that allow for improvement, at least in theory
516.
▲
by
rtpg
1y ago
So Python 3.14 introduces this functionality. The process you want to debug needs to be on at least Python 3.14. If you want to "just" use sys.remote_exec, you will need to use that from a matching Python version. If you dive into
517.
▲
by
rtpg
1y ago
Yeah I think pyrasite would be able to vastly simplify its implementation if it chose to (it might not though! the "same python version" requirements can feel strict)
518.
▲
by
rtpg
1y ago
> What I'm hoping though is improved tooling around debugging Python. Currently, in my experience, VSCode (more specifically, debugpy) provides pretty much unmatched remote debugging capabilities, and I'm really hoping we can h
519.
▲
by
rtpg
1y ago
Fair enough. I think that the attitude of the government has shifted but not by _that_ much, and I don't think we can discount the past 50 years of urbanism as having no effects (plenty of the stores I'm thinking about aren't
520.
▲
by
rtpg
1y ago
> What's the end game with this? Identikit cities with little to no character, all created to prioritise convenience. People say this but Tokyo preserves _way more_ weird subculture stuff and small stores than other major cities IMO
521.
▲
by
rtpg
1y ago
Kyoto Sanjo got "killed" by COVID. Lived in the area for a bit, and when I visited in 2024 there were so many things just gone
522.
▲
by
rtpg
1y ago
I usually work, then do `jj split` to review changes I want to make commits to. This generally makes the workflow look like `git add -p`. A decent mental model is that the top-most commit isn't generally going to get pushed up anywhere
523.
▲
by
rtpg
1y ago
I like how asyncio could just be built off of generators, and how it all ... well it mostly works, and it works well enough for people who care enough to make a whole async stack. I am very unhappy with asyncio leading to the gold rush of a
524.
▲
by
rtpg
1y ago
Sure they would have! The elite of the United States that lead the revolution were all extremely mercantile and many were coming to the colonies to run their own little fiefdoms away from the crown. One should acknowledge how many of the fr
525.
▲
by
rtpg
1y ago
Pressure campaigns could lead to laws regulating the card industry, self regulation prevents some of that (see movies and games ratings agencies, which avoid government ratings coming in and potentially connecting an 18+ rating with outrigh
526.
▲
by
rtpg
1y ago
but I can have a smaller phone and also use the battery pack to charge my spouse's phone, not just my own
527.
▲
by
rtpg
1y ago
> finance a couple of "fun" local entertainment businesses (idk craft breweries or barcades or minigolf or climbing gyms or escape rooms or whatever would be enough of a draw), fund a local arts/music program, and start a
528.
▲
by
rtpg
1y ago
I've come around on swapping batteries, and have decided that external battery packs are the way to go. Works on more devices, and you're not buying batteries that work on exactly one device. Still want my phone battery to be repl
529.
▲
by
rtpg
1y ago
the foldables seem to have found their niche at least in this space though. But they get away with it by... also being a big phone
530.
▲
by
rtpg
1y ago
I think photos are a big deal, but IMO it's more about the photo quality. And if you put a nice fancy camera on the phone, suddenly the device gets pretty expensive. And so while there are people who want "small screen + nice came
531.
▲
by
rtpg
1y ago
Tbh I disagree, the official vertical tab support is so nice and less janky than any of the extensions I used that had this functionality After opening FF while previously using Arc for a while I was super happy with the usability improveme
532.
▲
by
rtpg
1y ago
Fair enough, I can agree with the idea that you draw the line at "knowledge, gotten in the 'correct' way" as the categorization strategy. In the abstract I'm open to some specific traditional medicine thing working
533.
▲
by
rtpg
1y ago
> Outside of top tier programs (think Peking tier programs in China or AIIMS tier programs in India), that's nonexistent in most Asian countries, so your department's funding is at the whim of government bureaucrats That's
534.
▲
by
rtpg
1y ago
I'm not particularly bought into the traditional chinese medicine stuff but isn't the line more drawn at how "normal" medicine is about synthesizing specific doses of chemicals to give those? Meanwhile if someone told me
535.
▲
by
rtpg
1y ago
Yeah I think the one I played also had triangular maps.
536.
▲
by
rtpg
1y ago
As an emacs user I'm often writing small snippets of elisp for my own needs, and for snippets it's fine. But I dislike what most lisp's scoping strategies do to "normal" indentation of code. Any function with even a
537.
▲
by
rtpg
1y ago
what I'm thinking of is, I believe, much older. I remember playing it before 2010 at least based on the machine I was playing it on. And it was distinctly "windows" styled: it looked like windows minesweeper!
538.
▲
by
rtpg
1y ago
Many many years ago I remember playing a free minesweeper that had, among other things, hexagonal maps as an option, but the big thing was that it guaranteed that you would never need to guess. You could always figure out the answer, and I
539.
▲
by
rtpg
1y ago
I do not believe I want to write my code in something that goes through a YAML parser.
540.
▲
by
rtpg
1y ago
Right, it's hard to disconnect some of Clojure's niceties from the macro work (though I think Clojure's macros tend to do less inner inspection than macros you'll see in other lisp variants) The link to Rhombus is very i
More ›