Showing posts from July, 2016

Visual Studio Code: Fixing Python Intellisense

Today my colleague, Dmitry Efremov, got an issue after installing the latest VSCode and Python extension - intellisense plainly stopped working for all packages except few very basic.
After enabling logging for the extension ("python.devOptions": ["DEBUG"] in user settings), it turned out that jedi, tool used for intellisense, fails with the next message in the output:
stderr jediProxy
Error (stderr) Traceback (most recent call last):
  File "", line 313, in watch
  File "", line 294, in _process_request
  script.goto_assignments(), request['id']))
  File "/home/dmitry/.vscode/extensions/donjayamanne.python-0.3.17/pythonFiles/jedi/api/", line 382, in goto_assignments
  results = self._goto()
  File "/home/dmitry/.vscode/extensions/donjayamanne.python-0.3.17/pythonFiles/jedi/api/", line 438, in _goto

Kubuntu 16.04 and Dell Inspiron 7559

Recently, I was more and more than fascinated by development convenience under the modern Linux distributions, not in the last place because I started to use Ubuntu on daily basis at work.
So I decided to try Linux on my home laptop (Dell 7559).

Options were:

Install it as a virtual machineDual boot
At first, I tried installing Ubuntu/Kubuntu inside VM but it turned out to be a bad decision because of the 4K display of the laptop - interface was too slow for the normal usage.
I tried both VMWare Player 12 and VirtualBox, tried even setting the scaling of the display in the latter to 200% so Ubuntu will have only 1080p virtual screen but it lagged even more.
No go.

Then I decided to try the dual boot approach. Luckily, when moving my system to SSD, I had to shrink the Windows partition and had about 200 Gb of the free place in the end of the disk where I decided to put the Kubuntu 16.04. Why Kubuntu? When trying out Ubuntu and Kubuntu inside VM, I found the scaling in the KDE w…