must have a nonce that matches the suspense executor nonce.`);if(!t.src)throw Error(`Deferred script in must have a src attribute. Inline modules are not supported.`);await import(t.src).catch(console.error)}window.SML?.flushLoadBuffer?.()}addDevComment(this),this.remove()}});function registerElement(e,t){customElements.get(e)||customElements.define(e,t)}function isDebugMode(e){return e.hasAttribute(`debug`)}function addDevComment(e){isDebugMode(e)&&e.before(document.createComment(e.outerHTML))} })(); Skip to main content

r/pythoncoding


Why Leave Your Editor? Microsoft Dev Tunnels vs. ngrok in 2026
Why Leave Your Editor? Microsoft Dev Tunnels vs. ngrok in 2026

Developers exposing a local server to the internet used to mean one thing: download a CLI, create an account, paste an authtoken, and bounce between your editor and a separate terminal window. Microsoft has spent the last few years narrowing that gap by building port forwarding directly into VS Code’s Ports view, backed by its Dev Tunnels service. No extension required, no separate binary - just a right-click in a panel you already have open. Read the complete article here - https://instatunnel.my/blog/why-leave-your-editor-microsoft-dev-tunnels-vs-ngrok-in-2026

That doesn’t make ngrok obsolete. It makes the choice more interesting, because the two tools have converged on similar free-tier shapes while staying different in what they’re actually built for. This piece breaks down where Dev Tunnels genuinely wins, where the popular narrative about ngrok’s free tier is outdated, and where ngrok remains the only real option.

The Cost of Context Switching

Local development in the early 2020s was fragmented: write code in VS Code, run the app in the integrated terminal, then open a second terminal to run a tunneling tool for a public HTTPS URL. Every time you needed to test a Stripe webhook or share a preview link, you left your editor, checked whether your auth token had expired, and copy-pasted URLs into someone else’s dashboard.

VS Code’s Ports view collapses that into one place. If your app is already running in the integrated terminal, forwarding a port takes a right-click, not a new tool.


Advertisement: Real talk from real sellers: Shopify is the easiest way to start. Now it's your turn. Start your free trial.
Real talk from real sellers: Shopify is the easiest way to start. Now it's your turn. Start your free trial.
  • Real talk from real sellers: Shopify is the easiest way to start. Now it's your turn. Start your free trial.
  • Real talk from real sellers: Shopify is the easiest way to start. Now it's your turn. Start your free trial.
  • Real talk from real sellers: Shopify is the easiest way to start. Now it's your turn. Start your free trial.
  • Real talk from real sellers: Shopify is the easiest way to start. Now it's your turn. Start your free trial.


I have made a live spectrogram app.
I have made a live spectrogram app.
I have made a live spectrogram app.

My spectrogram app lets you view a live spectrogram from your speaker on the software side and has a built in player to play music/sounds/spectrogram art. it can do it live without the music player bit as well as an experimental hardware side that supports up to 2.1 systems. https://github.com/Coolythecoder/Live-Spectrogram-Player

upvotes

Migrate a Python project to a Monorepo (using agents)
Migrate a Python project to a Monorepo (using agents)

With Agentic Engineering there's an opportunity to refactor legacy code, but this aspect of AI isn't that that much talked about and seems to be overlooked by teams out there.

I’ve been focusing on this lately, and have added agent skills to the Python Open Source project that I maintain: the Python tools for the Polylith Architecture.

If you don't know about Polylith:
the main use case is having Microservices in a Monorepo, and share code between the services. It’s an Architecture with tooling support. I'm the maintainer of the tooling support for Python that works well with uv, poetry and most of the package & dependency management tools for Python out there. There's more info in the link above, you'll also find the documentation there.

The agent skills that I recently added are for migrating and refactoring an entire Python project into a well-structured, human & agent-friendly Monorepo.

But agents are unpredictable and different models behave differently. I have test-run the skills with Claude Opus and Mistral. If you will try this thing out, please share your feedback how the skills worked for you.

A blog post about this:
https://davidvujic.blogspot.com/2026/06/refactoring-with-ai.html