Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
odie5533
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
301.
▲
by
odie5533
2y ago
- FastAPI doesn't require any external ASGI in prod either ever since they added the fastapi cli. - FastAPI has built-in CORS. Has for years. I don't remember it ever not having. I don't see how Robyn is faster for developmen
302.
▲
by
odie5533
2y ago
It looks like the author is mistakenly using the sync versions of SQLAlchemy calls. Unless it's on purpose. Either way, not a good sign.
303.
▲
by
odie5533
2y ago
Celery sounds like the right choice here.
304.
▲
by
odie5533
2y ago
At least the article is honest. Why is it useful? It’s not useful.
305.
▲
by
odie5533
2y ago
https://github.com/miguelgrinberg/microdot The impossibly small web framework for Python and MicroPython.
306.
▲
by
odie5533
2y ago
The proposition was PHP, Laravel, Inertia and React/Vue. Pretty sure Inertia is basically a transpiler to JS, and building the components in React will use a watcher for compilation. Not sure if it has TypeScript support. Also, you sti
307.
▲
by
odie5533
2y ago
Last time I created a Laravel app it created dozens of default files and folders for me. How is that simpler than Go/Gin or Python/Fastapi? When does the extremely simple part come in?
308.
▲
by
odie5533
2y ago
Never heard of Lazarus before. I used Delphi back in the day. Now I want to again!
309.
▲
by
odie5533
2y ago
Everything now is just a website in a bloated Chrome wrapper.
310.
▲
by
odie5533
2y ago
How is that any better than React + <insert any backend here>?
311.
▲
by
odie5533
2y ago
This is what I always use. It looks like a code smell, but it's extremely easy to read and even someone that just learned Python yesterday can understand what's happening. If I need a lot of state, I'll make a class to go wit
312.
▲
by
odie5533
2y ago
Maybe Haskell is just slow at compiling? Nice thing with Python is you can set it to only run some tests, so if you have a big codebase you can just work on small parts of it with associated tests.
313.
▲
by
odie5533
2y ago
Good that you're trying to make packages. But your post here is unreadable. Perusing the Github, you should switch from ujson (no longer maintained) to orjson (also faster), and switch to pyproject.toml over setup.py (deprecated). Also
314.
▲
by
odie5533
2y ago
They invented context logging, again? https://www.structlog.org/en/stable/getting-started.html#bui... https://loguru.readthedocs.io/en/stable/overview.html#struct...
315.
▲
by
odie5533
2y ago
I will never understand all these posts about Python packaging. It's not the best, but at least it isn't Gradle or Maven or Bundler or Podfile or NPM/Webpack/tsconfig/eslint/babel nonsense. When I install a Jav
316.
▲
by
odie5533
2y ago
This is all hoaxes and crackpot theories iirc
317.
▲
by
odie5533
2y ago
Very impressive features! HTTP/3, WebSockets, and DNS+TLS improvements! Will be giving this a try next project.
318.
▲
by
odie5533
2y ago
I believe the competitors, httpx and aiohttp, are true async but niquests is not (yet)?
319.
▲
by
odie5533
2y ago
Simple syntax, works with Redis, includes TTL, and basically no dependencies. Very nice!
320.
▲
by
odie5533
2y ago
This is built-in to pyproject.toml https://packaging.python.org/en/latest/guides/writing-pyproj... supported by uv for example https://docs.astral.sh/uv/concepts/projects/init&#
321.
▲
by
odie5533
2y ago
Very impressive analysis from Phylum!
322.
▲
by
odie5533
2y ago
Congrats on the successful seed round!
323.
▲
by
odie5533
2y ago
Also use pyproject.toml to specify dependencies, not manually installing stuff with uv pip
324.
▲
by
odie5533
2y ago
This is a really good list. I like the focus on organization which also trickles down informing what to test.
325.
▲
by
odie5533
2y ago
Great work on bindings for yyjson! Will definitely have to keep these patch operations in mind, and the partial document loading. Cute logo too!
326.
▲
by
odie5533
2y ago
I still want to know what to use for datetime and time zones.
327.
▲
by
odie5533
2y ago
arq and logfire are the main two I've looked at. I still haven't found a use case for arq though.
328.
▲
by
odie5533
2y ago
ai garbage
329.
▲
by
odie5533
2y ago
Watch some videos on how the JavaScript event loop works and what await does and it will make more sense.
330.
▲
by
odie5533
2y ago
Author links to the PEP-3119 containing the new, correct way to do things. And then explains how to do it the old way? The right way to do this is with @abc.abstractmethod decorator. https://docs.python.org/3/library&#
More ›