Readit News logoReadit News
patrick91 commented on Django 6   docs.djangoproject.com/en... · Posted by u/wilhelmklopp
blorenz · 15 days ago
Django powers my SaaS. I use it mainly as a data backend with its ORM, admin, and incorporate Strawberry graphql into it for the data exchange to my frontends. I wish it was better with async, though.
patrick91 · 15 days ago
Glad to see someone on HN mentioning Strawberry! Hope you're enjoying it!
patrick91 commented on The current state of the theory that GPL propagates to AI models   shujisado.org/2025/11/27/... · Posted by u/jonymo
euazOn · 23 days ago
Try changing the system prompt or switch to opencode [0] - they allegedly reverse engineered Claude Code, and so the performance you get with Claude models should be very similar to Claude Code.

[0] https://github.com/sst/opencode

patrick91 · 23 days ago
there's an option for claude to disable co-authoring, see: https://code.claude.com/docs/en/settings

{ "includeCoAuthoredBy": false }

patrick91 commented on Show HN: Django Keel – 10 Years of Django Best Practices in One Template   github.com/CuriousLearner... · Posted by u/sanyam-khurana
sanyam-khurana · 2 months ago
Interesting! I've loved Strawberry GraphQL.

If you end up adding anything, you may also choose to give back to the template so that others can use it.

I do not understand what you meant by "ty", though?

patrick91 · 2 months ago
I think it's ty the typechecker :D https://docs.astral.sh/ty/
patrick91 commented on HRT's Python fork: Leveraging PEP 690 for faster imports   hudsonrivertrading.com/hr... · Posted by u/davidteather
patrick91 · 4 months ago
I really really want lazy imports in Python, it's would be a godsend for CLIs
patrick91 commented on I designed a Dieter Rams-inspired iPhone dock   arslan.io/2024/09/23/diet... · Posted by u/farslan
lpgauth · a year ago
I love this, but I don't have a 3D printer. Is there a service that could print this for me?
patrick91 · a year ago
yup, there's provider like shapeways, but you can also find people on reddit that could print it for you
patrick91 commented on Ask HN: What are you working on (August 2024)?    · Posted by u/david927
patrick91 · a year ago
I'm working on a social website where you can share the soft drinks and sodas you try, similar to untappd and maybe swarm, it's not yet ready to share, but I'd love to know if there's any people here that might want to try it (my email is on my profile)
patrick91 commented on Movable tree CRDTs and Loro's implementation   loro.dev/blog/movable-tre... · Posted by u/czx111331
wim · a year ago
We built it from scratch, so not based on prosemirror or contenteditable or anything like that (as we needed something which feels as if you're just editing text but also supports outlining features)
patrick91 · a year ago
very cool! can't wait to try I'm doing a note editor as well, and would love to have great outlining support!
patrick91 commented on Movable tree CRDTs and Loro's implementation   loro.dev/blog/movable-tre... · Posted by u/czx111331
wim · a year ago
We're building a new multiplayer editor for tasks/notes [1] which supports both text and outliner operations. Although it behaves like a flat text document, the outliner features essentially turn the document into a large tree under the hood. We do something similar to the highly-available move operation to sync changes:

There is one operation to change the tree, called insmov (move-or-insert). Whenever a client is online it can sync changes C to a server. Whenever the server has remote changes for us, it will send us back a list R of all changes since our last sync in a global linear order. We then undo any of the insmovs in our changeset C, and (re)apply all changes in R + any new changes we didn't sync yet.

We don't use any fractional indices though. Instead, our insmov tuple not only contains a parent P, but also a previous sibling guid A. Because all tree ops will eventually be applied in the global linear order as determined by the server, "sorting" is handled by just using the insmov operation.

Most of the time the undo'ing of operations is not needed though. Only when the server has insmov changes we don't know about while we are sending new insmovs ourselves do we need to ensure we replay the operations in the correct order. That's likely to happen when you reconnect to wifi after a long flight, but not so likely when updates are pushed in real-time over websocket when you're online (plus it's not needed for non-insmov operations, like updating text).

[1] https://thymer.com

patrick91 · a year ago
what rich text are you using?
patrick91 commented on Ask HN: Who is hiring? (April 2024)    · Posted by u/whoishiring
grylance · 2 years ago
Boiler Room | Lead Full Stack Developer | London, UK | full-time | hybrid / on-site | https://boilerroom.tv/ | No VISA sponsorship

Boiler Room is an underground music platform. We’re looking for an experienced lead to join us & manage a small team of developers within our product team.

We’re currently working on improving the data sets & analytics that help us sell tickets & apparel, solving difficult scaling problems as our audience grows, plus an iOS app where fans can listen without ads.

Our stack currently: NodeJS, JavaScript, React, Python, Django, GraphQL, AWS, Cloudflare

We work 2 days a week from our HQ in Hackney. We are owned by DICE (https://dice.fm/) and we work from their Dalston office sometimes too.

Perks include private healthcare, ClassPass, free food & snacks, a dog friendly office, free clothes quarterly from our collection & guest list to our parties.

Apply here: https://boards.greenhouse.io/boilerroom/jobs/7273620002

patrick91 · 2 years ago
out of curiosity, do you build a GraphQL with Django, or is that in node?

u/patrick91

KarmaCake day314July 11, 2012
About
Hi! I work on Strawberry GraphQL, a Python library to create GraphQL APIs.

My email is patrick.arminio@gmail.com

--- meet.hn/city/gb-London

Socials: - github.com/patrick91 - x.com/patrick91

---

View Original