databricks editor UI issues - databricks

When I click on a databricks results display (to copy it), the page refreshes and does a page up. And then it comes back to the same cell.
Also when I do ctrl+C on the display cell(copy), the notebook starts execution!
What am I doing wrong? Did I change any setting?

All notebook tasks are supported by UI actions, but you can also perform many tasks using keyboard shortcuts. Toggle the shortcut display by clicking the Keyboard Icon .
To copy the cell you need to use Ctrl+Alt+C.
For more details, refer Azure Databricks - Use notebooks.

Related

Macro issues in Excel365 with Smooth Scrolling

When creating an Excel file in Office365 including macros that increase and decrease value in a cell depending if you click up or down arrow causes issues when the sheet isn't perfectly aligned with the rows. This has been verified by Microsoft in case 34137940 as a bug - who suggested to ask the question here and reach out to a developer support team member. The problem is that no matter if I click up or down when a row is "visually splitted" the amount increases in the cell.
So what can I do to make this work as intended? I don't want to wait until Microsoft pushes an update. There has to be a solution for me to be able to disable smooth-scrolling somehow?
There is a temporary solution here to solve this by running the below commands to revert to earlier update - but that is not an option in this case since newer features is used as well.
cd %programfiles%\Common Files\Microsoft Shared\ClickToRun\
OfficeC2RClient.exe /update user updatetoversion=16.0.14701.20262
I also tried disabling smooth scrolling in Windows 10 (Link), following the below steps - with no success.
Navigate to System Properties by right clicking **Properties **from my computer.
Click on Advanced and click on Performance settings.
In Visual Effects tab of Performance Options window, click Custom. Then deselect the following items to Disable some unnecessary eye candy:
Uncheck Smooth-scroll list boxes.

How to stop backgrounddownload exe

As per attached screen shot BackgroundDownload.exe is running in background and consuming lots of internet data. How it can be stopped?
This however does not stop VS from recreating BackgoundDownload.exe in 'random' temp directories and trying again. There must be some other missed option. Perhaps disabling the scheduled task in 'task scheduler' would finalize the change.
Through control panel, or other means,
open 'Task Scheduler'. in the navigation pane on the left side, navigate to
"Task Scheduler Library>Microsoft>VisualStudio>Updates"
when there, you will see a task named 'BackroundDownload'
Right click on this task and either disable, or delete it.
Please check if its checked “Automatically download updates” in VS2019?
Uncheck it.
Tools->Options->Environment->Product Updates->Automatically download updates
The same update process initiated by from Visual Studio Code. You can disable it via settings menu (and do not forget to uncheck sending telemetry)
It's possible to turn background downloading off for all installed Visual Studio products by creating/changing a registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup\BackgroundDownloadDisabled = 1
Source: https://developercommunity.visualstudio.com/t/visual-studio-background-downloader-keeps-running/948890#T-N950950
Please go to your connectivity setting I mean I am using my hotspot from mobile.
go to your wifi icon on windows 10.
then select properties and it will take you to another screen.
there is toggle switch called metered connection. select it .
That's it if wants to download also it cannot.
As a default windows does not allow you to download any updates in background.
You can do it when you are want. .[Step 2][2]
there is another way
Open Windows Defender Firewall With Advanced Security from the search next to Start
Then click on (( Outbound Rules -> New Rules ))
Now a new page will open, click ( Program ), then click (Next)
Now click on (This Program Path)
And enter this URL :
(%ProgramFiles% (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\BackgroundDownload.exe)
Now click Next again and select Block The Connection on this page and click Next again
Do not touch anything on this page (Profile) and click on Next
Finally, select a name in the (Name) field and write a series of descriptions if needed

Always show output tab as well as results in DataGrip

Is it possible to show the Results as well as the Output tabs in DataGrip - at the same time?
In HeidiSQL I always have the output at the bottom and the result set above it and it would be great if I can set it up the same way in DataGrip. In DataGrip they are separate tabs and I have to click on one or the other but I cannot seem to show both at the same time.
My DataGrip is version 2019.3.2
Now you can only drag-n-drop the result outside and see them at the same time. But after the query will be run again, the tab will open again.
In DataGrip 2020.1 which is to be released in April, so called notebooks will be introduced, so you'll be able to see results just inside the editor. It will cover your flow, I think.

How to take screenshot of a whole webpage from browser in a single image

In lots of place i saw that people using long screenshot of a full webpage for presentation. I tried with snipping tool but i am not able to take screenshot of whole webpage in a single image. I want to know that how i can take long screenshot from browser like this
If you are using Google Chrome then this answer will be beneficial for you.
Just follow some simple step to take long screenshot of a webpage.
Step 1: Click the three dots, point to “More Tools,” then click on “Developer Tools.” Alternatively, you can press Ctrl+Shift+I on Windows or ⌘+Shift+I on Mac to open the Developer Tools pane.
Step 2: In the top right corner of the pane, click the three dots icon, then click “Run Command.” Alternatively, press Ctrl+Shift+P on Windows and ⌘+Shift+P on Mac.
Step 3: In the command line, type “Screenshot,” then click “Capture full-size screenshot” from the list of commands available.
The image should save automatically, but if you’re prompted to save the screenshot, select a destination on your computer, then click “Save.”
Note : This feature is ideal on websites with text-based content opposed to web apps, as it could potentially only capture the viewable screen.
For more descriptive answer go through this link
You can use this free Screen Capture tool at CtrlQ.org.
You just need to put the url of the page of which you want to take the screenshot.
For example, Here is a screenshot of your question
You can use Awesome screenshot. It's extension is also easily available for chrome. Just add it to chrome and you will have option to take screenshot as you want. Here is the link.
You can click on capture entire page option as here in the screenshot:

Does the IPython Notebook have "initialization cells"?

When I open a saved IPython Notebook, I need to evaluate all the cells with imports, function definitions etc. to continue working on the session. It is convenient to click Cell > Run All to do this. But what If I do not want to re-evaluate all calculations? Do I need to pick the cells to evaluate by hand each time?
For this problem, Mathematica has the concept of "initialization cells". You can mark some cells in the notebook as initialization cell, and then perform "evaluate initialization cells" after opening the notebook.
Does the IPython Notebook have a similar solution?
First, when you open an IPython notebook, this does not mean the state of the kernel is lost,
unless you restarted the server or explicitly stop the kernel.
Otherwise, there are no marked cell, but there is a "run until here" on dev version.
Also if you are using dev version, using Cell Toolbar /metadata and I would say ~30 line of javascript it should be doable.
I suggest you open an enhancement request on main issue tracker. This could typically be made as an extension during a sprint and/or a blog post to explain internal of notebook.
If you're using the latest and greatest of the notebooks (mine is > 4.1), the feature you requested is available through an extension.
The extensions, as well as an interface that can be conveniently used to enable/disable each individual extension, can be installed as follows
$ git clone https://github.com/ipython-contrib/IPython-notebook-extensions.git
$ cd IPython-notebook-extensions
$ ./setup.py
When you have installed the extension, start the notebook server
$ cd ; jupyter-notebook < /dev/null > .jupyter.log 2>&1 &
and go to the extension management page
$ xdg-open http://localhost:8888/nbextensions
In the recently opened browser window, enable the "Initialization cells" extension.
If you open now a notebook of yours, in the toolbar you will see a new icon, similar to a hand-held calculator and in the View/Cell Toolbar a new entry, Initialisation Cell.
Enable this menu entry and click on the cells' toolbar which ones you want to mark as an initialization cell (possibly remove the cells' toolbar) and click on the icon previously described...
When you load a notebook, the initialization cells are automatically run, so that if you want you can place them in a convenient place, say the end of the notebook if you're like me...

Resources