News for hackers. Stuff that matters.

demoonkevin

Re: on Sunday October 04, 2026 @01:31AM (#49950944)
I've been keeping `ty-extended` in sync with upstream `ty`, and a few days ago I thought probably the slow adoption of it was that one needed to write the plugins in Rust.

Also, pure Python codebases that need to have custom private plugins would need to add the extremely slow Rust compile times to their CI workflows.

Today I added Pydantic's Monty that supports a Python subset that IMO is sufficient for supporting the plugin sdk. The limitations are the same everyone has writing code for Monty, but it is now much easier to create plugins in a few steps, without compilation, etc.

You can check how it works with a toy example, which implements a "mini Django" to prove both WASM and Monty runtimes work as expected: https://github.com/regularkevvv/ty-extended/tree/main/exampl...

Lmk any feedback!

Show HN: Ty-extended – a Ty fork with plugin support

https://github.com/regularkevvv/ty-extended

Hi HN! I'm a Ty frequent user on all my Python projects, however, lately I've been needing to go back to mypy due to the lack of plugin support on Ty.After a quick research I found that issue 291 (where support for mypy plugins) was "close as not planned". So I created this fork that has a complete plugin system that compiles plugins on WASM and runs them with Wasmtime.The main idea is to allow...

( Read More... | no comments | 2 points | on HN )

Show HN: Jinjatest – type-safe tests and branch coverage for Jinja templates

https://github.com/SimplifyJobs/jinjatest

Hi HN — I’m Kevin. As many of you, I've been using Jinja templates to render LLM prompts, where subtle bugs can introduce unexpected LLM behavior that is hard to debug. And writing unit tests to prevent those bugs is painful: you end up doing assertions against raw strings, which is brittle and forces you to keep track of format changes, etc.So I built jinjatest: a Python library + pytest...

( Read More... | no comments | on HN )
cool, what is the difference w/ wetransfer?
Seems like an exact copy of gofuckingdoit.com
Do you have any examples of websites made with Hyperapp?
Re:Switching Your Site to HTTPS on a Shoestring Budget on Monday September 04, 2017 @12:08PM (#15169110)
The problem about the free Cloudflare SSL certificate is that you share it with a lot of other sites, most of then with "strange" purposes...

Ask HN: Which are the best infographics of web delployment?

Hi guys, I'm starting on web development and now it will be the first time I put something from localhost to web, so I want to really understand how web deployment works, how the server runs non-stoppping, which are the elements that make this possible. It would be great if there is an infographic or something like that. Thanks.

( Read More... | no comments | on HN )
Re:Tips for Self-Learning Programming on Saturday December 10, 2016 @10:30PM (#13149445)
Great article! I started by learning Python instead of the typical HTML-CSS-JS way. So I can build nice scripts to do nice stuff (like scraping, analyzing social media data, conecting multiple APIs to do whatever, etc.) but I can't build a simple good looking website lol. Btw, I don't know if I regret, because now I'm learning front-end and I think it's easier for me now that I know some good stuff on a backend language, and even better, because I write my front-end code while I'm thinking about my back-end (and how to connect each other), and vice versa. So I think there isn't one way to learn to code, there are lot of ways, and the good thing is that each way can bring you to very different scenarios.
Re:Show HN: A visual guide to the most popular CSS properties on Thursday November 24, 2016 @02:30PM (#13032255)
It's a really nice app, I'm learning front-end so this will definitely help me.