Advertisement · 728 × 90

Posts by Karthik Nadig

Video

VS Code: the open source AI editor. Starting today.

9 months ago 47 17 3 5
A thumbnail that reads "Your open source AI editor Powered by GitHub Copilot" with the VS Code logo and a blue gradient background

A thumbnail that reads "Your open source AI editor Powered by GitHub Copilot" with the VS Code logo and a blue gradient background

Today, we're announcing plans to make VS Code an open source AI editor.

We believe AI development should stay true to VS Code's core principles: open, collaborative, and community-driven. Let's build the future of software development together.

aka.ms/open-source-...

10 months ago 123 54 13 12
Video

Another experimental feature in Python Environments extension. Activate/De-activate environment button for terminals. Set `python-envs.terminal.showActivateButton` to try it out.

1 year ago 1 1 0 0
Preview
No-config debugging · Issue #561 · microsoft/vscode-python-debugger Hey folks 👋 After listening to community feedback that configuring the debugger can be difficult and confusing, we have begun working on a no-config debugging experience! We are excited to say that...

In the latest pre-release of Python Debugger extension, we added a feature that we call no-config debugging. Open a terminal is VS Code and run your script with `debugpy <myscript>` instead of `python <myscript>`. Try it out.

github.com/microsoft/vs...

1 year ago 6 2 0 0
Video

In the latest pre-release of the Python Environments extension, you can select the library you want to install and click the edit button to set version constraints. You can do this with multiple libraries and include libs not in the list.

1 year ago 3 2 0 0
Screenshot of the Environment Managers view of the Python Environments extension, showing the Conda environments grouped by Prefix and Named environment groups.

Screenshot of the Environment Managers view of the Python Environments extension, showing the Conda environments grouped by Prefix and Named environment groups.

In the latest pre-release of Python Environments extension, we added an API to set "groups" on the environment managers list. Making it easier for environment manager extensions to deal with displaying large lists of environments.

1 year ago 6 2 0 1
Comedy Wildlife Photography 2024 Competition Winner :: Comedy Wildlife Photography Awards - Conservation through Competition

One of the things I eagerly wait near the end of the year: Comedy Wildlife Photography Awards

I really liked the Mafia Boss.

www.comedywildlifephoto.com/gallery/come...

1 year ago 0 0 0 0
Advertisement
A screenshot of enable vehicle motion cues set to automatic. There are tiny dots on the sides of the screen

A screenshot of enable vehicle motion cues set to automatic. There are tiny dots on the sides of the screen

Pro tip: if you are prone to motion sickness and own an iPhone, go into accessibility settings and enable vehicle motion cues. It’ll add dots to the sides of your screen when it detects you’re in a car.

Usually if I’m on my phone in the car, I’ll feel motion sick but this actually worked for me.

1 year ago 110 31 11 4
karthiknadig 2024 Year in Code. 1213 contributions in the last year,  Universal Rank top 2%, Longest Streak 35 days, Total Commits 1888, Most Active Month July, Most Active Day Tuesday, Stars Earned 5025, Top Language Python, Power Level Elite Class. Generated using https://git-wrapped.com/

karthiknadig 2024 Year in Code. 1213 contributions in the last year, Universal Rank top 2%, Longest Streak 35 days, Total Commits 1888, Most Active Month July, Most Active Day Tuesday, Stars Earned 5025, Top Language Python, Power Level Elite Class. Generated using https://git-wrapped.com/

2024 Year in Code

1 year ago 0 0 0 0
Preview
argparse — Parser for command-line options, arguments and subcommands Source code: Lib/argparse.py Tutorial: This page contains the API reference information. For a more gentle introduction to Python command-line parsing, have a look at the argparse tutorial. The arg...

...and if you're using argparse, you'll want 3.14 because `suggest_on_error` is now an optional parser feature ✨

docs.python.org/3.14/library...

1 year ago 9 4 0 0
A thumbnail with a blue, black, and green gradient background, with the VS Code and GitHub Copilot logos in the foreground and a graphic of the Copilot Chat window hovering below.

A thumbnail with a blue, black, and green gradient background, with the VS Code and GitHub Copilot logos in the foreground and a graphic of the Copilot Chat window hovering below.

Announcing GitHub Copilot Free!

A new free tier for GitHub Copilot, available for everyone today in VS Code.

No trial. No subscription. No credit card required.

Learn more in our blog: aka.ms/copilot-free

1 year ago 365 139 14 54

`uv` is used for create environment , install, uninstall, if we can find it on PATH. There is also some support for `uv init`.

1 year ago 1 0 1 0
Preview
Python in Visual Studio Code - December 2024 Release - Python The December 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include a special review of docstring generation features from Pylance, th...

One of the things we (Python in VS Code) released this month is a preview extension that helps you manage your python environments. It includes an extension API to build your own extension to support your favorite environment manager. Check it out!

devblogs.microsoft.com/python/pytho...

1 year ago 15 3 1 0

Interstella 5555 is wild. Music runs the universe.

1 year ago 1 0 0 0
Advertisement
Level Clear! - (Official Music Video)
Level Clear! - (Official Music Video) YouTube video by tom C

I really like this one by Tom Cardy: m.youtube.com/watch?v=G87p...

1 year ago 1 0 0 0

Hello, World!

1 year ago 584 160 44 19
Preview
2024 Python in VS Code Wrapped - Python As the year comes to a close, we would like to take time to reflect and celebrate the incredible progress the Python extension for VS Code has made this year. From merging in top requested features to...

Python in VS Code Wrapped!!!

devblogs.microsoft.com/python/2024-...

1 year ago 7 3 0 0
Demonstrating how to split a string just once with .split(maxsplit=), and with .partition().  Full text at https://gist.github.com/nedbat/93ff430f32231361ad0910433cc2c430

Demonstrating how to split a string just once with .split(maxsplit=), and with .partition(). Full text at https://gist.github.com/nedbat/93ff430f32231361ad0910433cc2c430

Splitting a string once in #Python: .split() has maxsplit=, but .partition() can be better:

1 year ago 63 9 2 2
Originally the default wallpaper of Microsoft's Windows XP, this photo shows green rolling hills with a vibrant blue sky and white clouds in the background. Charles O'Rear took the photo in California, USA.

Originally the default wallpaper of Microsoft's Windows XP, this photo shows green rolling hills with a vibrant blue sky and white clouds in the background. Charles O'Rear took the photo in California, USA.

We've always been a fan of blueskies.

51 years ago 11817 2096 675 652

Got an email, "Thank you for coverage․py." I immediately thought, "they're going to want something, or complain about something."

Nope! It was all positive. Ended with "Thanks again for this awesome Python contribution!"

If you like what someone has done, tell them!

1 year ago 162 14 4 1
Showing 3.10 and 3.11 with the same error.  3.11 pinpoints the problem.  Full text at https://gist.github.com/3a186827ac8bdfa08f34d36b9fce48dc

Showing 3.10 and 3.11 with the same error. 3.11 pinpoints the problem. Full text at https://gist.github.com/3a186827ac8bdfa08f34d36b9fce48dc

Are you using #Python 3.11 yet? It's been out for two years! Maybe this will entice you: better error messages!

1 year ago 72 12 3 0
Advertisement
Preview
venv — Creation of virtual environments Source code: Lib/venv/ The venv module supports creating lightweight “virtual environments”, each with their own independent set of Python packages installed in their site directories. A virtual en...

Please do not put your #Python code _inside_ of your virtual environments. Consider virtual environments:

- Disposable
- Not relocatable
- Contents managed by Python and package installers

See the bullet point list at docs.python.org/3/library/ve... if you need official docs backing this up.

1 year ago 55 12 8 1

These might be helpful to you:
www.dumpanalysis.org/windows-memo...

github.com/anhkgg/aweso...

1 year ago 2 0 0 0

After it breaks try `ld` (load symbols) followed by `!analyze -v`. If it is an expected exception that is typically handled, try `gH` (continue handled), gN (continue with unhandled exception). See if that gets you to the point where you need to be.

1 year ago 0 0 1 0

Internally there are several extensions to `windbg` that can significantly improve error reporting. I had created one for COM debugging. Just that it might be a bit hard to find, and you may have to compile some from source.

1 year ago 0 0 1 0
Showing "Extensions: Open Extensions Folder" command in the command palette.

Showing "Extensions: Open Extensions Folder" command in the command palette.

Ever wonder where VS Code extensions live? Stable, Insiders, or server, each has its own spot. There's a handy shortcut to save the guesswork: just run Extensions: Open Extensions Folder from the command palette.

1 year ago 0 0 0 0

I do the exact same thing. Forward from my domains to my Gmail.

1 year ago 0 0 0 0
Demonstrating string formatting with right-, left-, and center-aligned text and custom fill characters.  Full text at https://gist.github.com/nedbat/9a29a7e0f8091844d65f5ca433612e59

Demonstrating string formatting with right-, left-, and center-aligned text and custom fill characters. Full text at https://gist.github.com/nedbat/9a29a7e0f8091844d65f5ca433612e59

String formatting in #Python lets you left-, right-, or center-justify a value. You can specify the fill character to use. The syntax is colon, fill-char, <^>, width:

1 year ago 119 12 6 3
Debugger running in VS Code on Python code, stopped at a break point. Right clicking on a previously executed line, selecting "Jump to Cursor" and selecting "step over" to re-execute that line.

Debugger running in VS Code on Python code, stopped at a break point. Right clicking on a previously executed line, selecting "Jump to Cursor" and selecting "step over" to re-execute that line.

Starting with this one...

Highlighting our favourite underrated feature in VS Code, our Python debugger's "Jump to Cursor": hit a breakpoint, right-click on a previously executed line, and continue execution from there 🤩

1 year ago 15 3 0 0
Use @modifled in VS Code Settings UI to find and filter modified settings.

Use @modifled in VS Code Settings UI to find and filter modified settings.

I found this recently 🤦‍♂️. You can use "@modified" in settings UI to find and filter modified settings.

1 year ago 1 0 0 0