Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
infamia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
infamia
1y ago
It isn't society they're kicking people off of YouTube for, it's whatever their advertisers do or don't want at any given moment. The advertising companies are their customers, and everyone else is just grist for the mil
62.
▲
by
infamia
1y ago
That sounds like a good candidate for Django using either Datastar or HTMX with web components (Lit/React/VanillaJS) as an escape hatch for really interactive bits. Instagram, Threads, Doordash, EdX, Octopus Energy, etc. have all
63.
▲
by
infamia
1y ago
Mixing a package manager, (which is needed for prod package installs) with dev-only tooling is analogous to an "attractive nuisance" (not that I'm saying anyone is a child mind). I know Go and Rust do it, but thinking from fi
64.
▲
by
infamia
1y ago
Can we call it public broadcasting when it fails to even dimly reflect the diversity of ideas for the areas it serves? Milk toast conservatives like Juan Williams were deemed intolerable a long time ago, so calling it public radio at this p
65.
▲
by
infamia
1y ago
Using WAL2 should make that problem better. It has two WAL files it alternates between when making writes, so the system has an opportunity to check point the WAL file not in use. https://sqlite.org/src/doc/wal2&#x
66.
▲
by
infamia
1y ago
TLDR: Yes. As of this release, No-GIL/free threading Python has moved out of the experimental phase and is officially supported in this release. No-GIL Python is not the default for this release (that's potentially the next phase
67.
▲
by
infamia
1y ago
> Pyright was released first and was and continues to be open source. Pylance was built on Pyright but has never been open source. No, the first Python extension that shipped with vscode 1.0 in 2016 was called the "Microsoft Python
68.
▲
by
infamia
1y ago
> Their existing and continued contributions to vscode are significant, so I think they can be allowed to keep some cards up their sleeves like the plugin marketplace or their Python extension. It would have been fine if MS had started w
69.
▲
by
infamia
1y ago
VSCode's marketing was that it is an open source editor you could rely upon, complete with open source extensions for popular languages like Python. Then when once it became popular and vscodium was growing in popularity (a vscode fork
70.
▲
by
infamia
1y ago
If they chipped in paying taxes for decades, is it reasonable for them to expect any less?
71.
▲
by
infamia
1y ago
idk if I'd put it quite that strongly. https://data-star.dev/examples/dbmon Also, multiplayer for free on every page due to SSE (if you want it).
72.
▲
by
infamia
1y ago
You can use uv to pin, download, and use a specific version of a Python interpreter on a per project basis. You shouldn't use your OS provided Python interpreter for long running projects for all the reasons you mentioned, including re
73.
▲
by
infamia
1y ago
> No, it is not. There's no way to send the incremental results of typing in a search box, for instance, to the server with HTML alone - you need to use Javascript. Hypermedia applications use javascript (e.g., htmx - the original s
74.
▲
by
infamia
2y ago
> This is factually incorrect. Latency is limited by the speed of light and the user's internet connection. This is a solved problem. It is simple to download content shortly before it is very likely to be needed using plain old HTM
75.
▲
by
infamia
2y ago
> Unfortunately, that means that the tradeoff is that you're optimizing for user experience instead of developer experience Not really, your backend has rich domain logic you can leverage to provide users with as much data as possib
76.
▲
by
infamia
2y ago
Regarding #3, you can already do this with Jinja2 template functions perfectly well. You can also do it with template tags, but it isnt as nice. 100% agree with #5, the diaspora of Django's community, dev process, and lack of a single
77.
▲
by
infamia
2y ago
vars() is another good one if you're looking for something with a particular value.
78.
▲
by
infamia
2y ago
> Multiple readers are okay but a single writer will cause transient errors in all other concurrent read and write operations While in WAL mode, readers and writers don't block one another. > WAL provides more concurrency as read
79.
▲
by
infamia
2y ago
> I don't know about you, but I am much better at decoding separate RGB values (as in, including hex) than I am at decoding a single chroma value. I can do it, but RGB and HEX are awful for me. A lot of mental work must be done to g
80.
▲
by
infamia
2y ago
I hear ya, but it is CSS so the target doesn't move, Codeberg is using it for their docs [1], and it is easy enough to paper over any problems you might find. Good enough for me. Some might even say the more relaxed release cadence is
81.
▲
by
infamia
2y ago
Thank you for sharing this link. It is exactly what I hope Bootstrap will become one day.
82.
▲
by
infamia
2y ago
> The connection limit of SSE comes up a lot, even if you’re using HTTP/2. I'm considering using SSE for an app. I'm curious, what problems you've run into? At least the docs say you get 100 connections between the s
83.
▲
by
infamia
2y ago
I'm in the middle of replacing all of my usage of direnv with mise [1]. It does everything direnv/asdf can (for my use cases) plus a lot more. Mise can install a lot of dev software/frameworks [2], run tasks, file watcher all
84.
▲
by
infamia
2y ago
> The default value thing combined with not-null by default It is interesting... I strongly feel the opposite after debugging far too many SQL queries where someone checked for an empty string but forgot to check for NULL. NULL by defaul
85.
▲
by
infamia
2y ago
> Majority of learning surface will come from framework and not the language Once you get past the beginner level in Django, you're going to pick up a ton of Python knowledge (standard dunder methods, MRO, standard lib, data type&#x
86.
▲
Claude.ai: Introducing Google Docs in Chats and Projects
(support.anthropic.com)
3 points
by
infamia
2y ago
|
1 comments
87.
▲
by
infamia
2y ago
"Connect your Google Docs directly to Claude to provide additional context for your conversations" This new feature is available for Claude Pro, Work (Team), and Work (Enterprise) accounts.
88.
▲
by
infamia
2y ago
You might gain a couple of things... No need to activate venvs and the almost inevitable Python pathing "murder mysteries". uv installs in venvs first, and only then someplace else (e.g., globally). No more clunky typing `python -
89.
▲
by
infamia
2y ago
Yes, these are terrible policies, which has gotten Google in hot water during litigation. Overusing Attorney-Client Privilege is a good way to get it neutered/curtailed during a trial. Moreover, the company has an affirmative duty to p
90.
▲
by
infamia
2y ago
> We may never see a 4.0 because of the scar tissue, but the language continues to evolve. They should do the opposite really. If it hurts, do it more often and get better at it. A perfect time would be when Python gets some nice JIT per
More ›