Readit News logoReadit News
thelastbender12 commented on Litestar is worth a look   b-list.org/weblog/2025/au... · Posted by u/todsacerdoti
thelastbender12 · 22 days ago
Thank you for writing this - there is a very clear split you feel when using fastapi for single script web servers, vs trying to organize it. And I probably share all the mentioned annoyances around writing bigger projects with fastapi.
thelastbender12 commented on Mercury: Ultra-fast language models based on diffusion   arxiv.org/abs/2506.17298... · Posted by u/PaulHoule
thelastbender12 · 2 months ago
The speed here is super impressive! I am curious - are there any qualitative ways in which modeling text using diffusion differs from that using autoregressive models? The kind of problems it works better on, creativity, and similar.
thelastbender12 commented on Zig breaking change – Initial Writergate   github.com/ziglang/zig/pu... · Posted by u/Retro_Dev
LukaD · 2 months ago
All the JangaFX products (such as EmberGen) are written in Odin.
thelastbender12 · 2 months ago
Thank you, my bad - I wasn't aware.

I still think what drives languages to continuously make changes is the focus on developer UX, or at least the intent to make it better. So, PLs with more developers will always keep evolving.

thelastbender12 commented on Zig breaking change – Initial Writergate   github.com/ziglang/zig/pu... · Posted by u/Retro_Dev
brabel · 2 months ago
I like Zig but it seems to just keep redesigning itself, while other languages like Odin “shipped” long ago and don’t seem to need to look back. Is Zig suffering from perfectionism syndrome where things are never good enough??
thelastbender12 · 2 months ago
Sorry, I think this comparison is just unfair. Odin might have "shipped" but are there are any projects with significant usage built on it? I can count at least 3 with Zig - Ghostty, Tigerbeetle, and Bun.

Programming languages which do get used are always in flux, for good reason - python is still undergoing major changes (free-threading, immutability, and others), and I'm grateful for it.

thelastbender12 commented on Pyrefly vs. Ty: Comparing Python's two new Rust-based type checkers   blog.edward-li.com/tech/c... · Posted by u/edwardjxli
paddy_m · 3 months ago
I hope some typechecker starts doing serious supported notebook integration. And integration for live coding, not just a batch script to statically check your notebook. Finding errors with typing before running a 1-60 minute cell is a huge win.
thelastbender12 · 3 months ago
Do you use Jupyter notebooks in VSCode? It uses the same pylance as regular python files, which actually gets annoying when I want to write throwaway code.
thelastbender12 commented on Show HN: US Routing – Python library for fast local routing in the US   github.com/ivanbelenky/us... · Posted by u/ivanbelenky
CamperBob2 · 4 months ago
Edit: thanks very much for the suggestions, especially adding the Python version to the uv command line. I totally missed that, and that totally fixed it. Apologies for the OT tech support derailment.

--------------

Question for those familiar with uv. US Routing apparently requires a very specific Python version (3.11 and nothing else), but my system has Python 3.10.9 installed at the moment and I'd rather not upgrade the global version just now. My understanding from reading a lot of uv evangelism on HN and elsewhere is that uv fixes this type of dilemma. But, having just tried to use it to install this package, it's just giving me the same old Python version errors:

    C:\devel\us-routing-master\us_routing>uv venv
    Using CPython 3.10.9 interpreter at: c:\WinPython-31090
    \python-3.10.9.amd64\python.exe
    Creating virtual environment at: .venv
    Activate with: .venv\Scripts\activate

    C:\devel\us-routing-master\us_routing>.venv\Scripts\activate

    (us_routing) C:\devel\us-routing-master\us_routing>uv pip     
    install us-routing

    x No solution found when resolving dependencies:
    `-> Because the current Python version (3.10.9) does not 
    satisfy Python>=3.11,<3.12 and us-routing==0.1.0
    depends on Python>=3.11,<3.12, we can conclude that us-    
    routing==0.1.0 cannot be used.
    And because only us-routing==0.1.0 is available and you 
    require us-routing, we can conclude that your
    requirements are unsatisfiable.
Am I misunderstanding the whole uv thing, or just doing something wrong? Or is us-routing somehow incompatible with it?

thelastbender12 · 4 months ago
You need to request a specific python version compatible with this project. Give `uv venv --python 3.11` a try.

https://docs.astral.sh/uv/pip/environments/

thelastbender12 commented on Launch HN: Continue (YC S23) – Create custom AI code assistants   hub.continue.dev/explore/... · Posted by u/sestinj
ctxc · 5 months ago
Quick question, what do you mean by new pylance in cursor?

It's basically VSCode - I just ported all extensions in Cursor settings, it installed existing VSCode extensions including Pylance and it just works...

thelastbender12 · 5 months ago
I meant Pylance isn't legally available in Cursor (Vscode license restriction, which is justified). It broke very frequently, so I switched to Based pyright, which works but just not as well.
thelastbender12 commented on Launch HN: Continue (YC S23) – Create custom AI code assistants   hub.continue.dev/explore/... · Posted by u/sestinj
sestinj · 5 months ago
Excited to hear how it goes for you!

Our Models Add-On is intended to give the same flat monthly fee as you’re accustomed to with other products. What did you mean by leaning into pooled, just making it more front-and-center?

thelastbender12 · 5 months ago
Yep, exactly that. IMO agent workflows, MCP and tool usage bits are all promising, but the more common usage of LLMs in coding is still chat. AI extensions in editors just make it simple to supply context, and apply diffs.

An addon makes it seem like an afterthought, which I'm certain you are not going for! But still making is as seamless as possible would be great. For ex, response time for Claude in Cursor is much better than even the Claude web app for me.

thelastbender12 commented on Launch HN: Continue (YC S23) – Create custom AI code assistants   hub.continue.dev/explore/... · Posted by u/sestinj
thelastbender12 · 5 months ago
Congrats on the release! I've been using Cursor but somewhat annoyed with the regular IDE affordances not working quite right (absence of pylance), and would love to go back to VSCode.

I'd love it if you lean into pooled model usage, rather than it being an addon. IMO it is the biggest win for Cursor usage - a reasonable num of LLM calls per month, so I never have to do token math or fiddle with api keys. Of course, it is available as a feature already (I'm gonna try Continue) but the difference in response time b/w Cursor and Github copilot (who don't seem to care) is drastic.

thelastbender12 commented on The best way to use text embeddings portably is with Parquet and Polars   minimaxir.com/2025/02/emb... · Posted by u/minimaxir
thelastbender12 · 6 months ago
This is pretty neat.

IMO a hindrance to this was lack of built-in fixed-size list array support in the Arrow format, until recently. Some implementations/clients supported it, while others didn't. Else, it could have been used as the default storage format for numpy arrays, torch tensors, too.

(You could always store arrays as variable length list arrays with fixed strides and handle the conversion).

u/thelastbender12

KarmaCake day168January 9, 2017
About
Hi! I'm an engineering grad wrestling to learn technology and business and markets and investing.
View Original