<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Visual Studio Code on vxlabs</title>
		<link>https://vxlabs.com/tags/visual-studio-code/</link>
		<description>Recent content in Visual Studio Code on vxlabs</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 21 Nov 2021 16:30:00 +0200</lastBuildDate>
		
			<atom:link href="https://vxlabs.com/tags/visual-studio-code/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Using Kubernetes for development containers</title>
				<link>https://vxlabs.com/2021/11/21/using-kubernetes-for-development-containers/</link>
				<pubDate>Sun, 21 Nov 2021 16:30:00 +0200</pubDate>
				<guid>https://vxlabs.com/2021/11/21/using-kubernetes-for-development-containers/</guid>
				<description>&lt;p&gt;In this post I show how you can setup a Kubernetes pod for reproducible&#xA;development purposes on a single-node Kubernetes cluster using Rancher Desktop&#xA;on Linux or Docker Desktop for Windows.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-are-devcontainers&#34;&gt;What are devcontainers?&lt;/h2&gt;&#xA;&lt;p&gt;At my quasi-hypothetical workplace, we are fans of &lt;a href=&#34;https://code.visualstudio.com/docs/remote/containers&#34;&gt;Visual Studio Code&amp;rsquo;s&#xA;development containers idea&lt;/a&gt;, or devcontainers for short.&lt;/p&gt;&#xA;&lt;p&gt;In short, you add a specially crafted &lt;code&gt;devcontainer.json&lt;/code&gt; file (and some docker&#xA;yamls) to your repo, and the next time a new dev opens the project, they will&#xA;be prompted by their VSCode whether they would like to have the whole&#xA;development environment setup automatically.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Patch Emacs org-open-file using advice.</title>
				<link>https://vxlabs.com/2020/03/07/patch-emacs-org-open-file-using-advice/</link>
				<pubDate>Sat, 07 Mar 2020 13:48:00 +0200</pubDate>
				<guid>https://vxlabs.com/2020/03/07/patch-emacs-org-open-file-using-advice/</guid>
				<description>&lt;h2 id=&#34;background&#34;&gt;Background.&lt;/h2&gt;&#xA;&lt;p&gt;On Windows, I run Emacs on WSL 1 whilst displaying to Windows via &lt;a href=&#34;https://x410.dev/&#34;&gt;the X410&#xA;X-Server&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This is currently the best compromise if one wants to interoperate with the&#xA;NTFS side, at least until the WSL 2 developers manage to fix up its &lt;a href=&#34;https://vxlabs.com/2019/12/06/wsl2-io-measurements/&#34;&gt;current&#xA;cross-OS IO performance issues&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;As part of this setup, I have written a small&#xA;&lt;a href=&#34;https://linux.die.net/man/1/xdg-open&#34;&gt;xdg-open&lt;/a&gt; replacement in Python which&#xA;does path translation. This enables me to open any links from Emacs, running on&#xA;WSL 1, using the relevant Windows file handler, no matter whether the file&#xA;finds itself on the Windows or the WSL side of the world.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Configuring Emacs, lsp-mode and Microsoft&#39;s Visual Studio Code Python language server.</title>
				<link>https://vxlabs.com/2018/11/19/configuring-emacs-lsp-mode-and-microsofts-visual-studio-code-python-language-server/</link>
				<pubDate>Mon, 19 Nov 2018 14:37:00 +0000</pubDate>
				<guid>https://vxlabs.com/2018/11/19/configuring-emacs-lsp-mode-and-microsofts-visual-studio-code-python-language-server/</guid>
				<description>&lt;p&gt;In &lt;a href=&#34;https://vxlabs.com/2018/06/08/python-language-server-with-emacs-and-lsp-mode/&#34;&gt;a previous post&lt;/a&gt; I showed how to get Palantir’s Python Language Server working together with Emacs and &lt;code&gt;lsp-mode&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In this post, we look at the brand new elephant in the room, &lt;a href=&#34;https://blogs.msdn.microsoft.com/pythonengineering/2018/07/18/introducing-the-python-language-server/&#34;&gt;Microsoft’s arguably far more powerful own Python Language Server&lt;/a&gt;, and how to integrate it with Emacs.&lt;/p&gt;&#xA;&lt;h1 id=&#34;motivation&#34;&gt;Motivation&lt;/h1&gt;&#xA;&lt;p&gt;Since that previous post on Palantir’s language server, I’ve been using Emacs far more intensively for Python coding in tmux on remote machines with GPUs for deep learning.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
