How to uninstall metrics package in Atom.io editor? - atom-editor

The Atom.io Github page for the metrics package describes how to disable the metrics package:
Metrics package
A package that reports usage information to Google Analytics.
If you do not want this information reported, you can disable this
package. Open the Settings View by running the Settings View: Open
command from the Command Palette, go to the Packages section, and then
find and disable the Metrics package.
https://github.com/atom/metrics
I do, though, want to uninstall it completely. Atom.io -> Settings -> Packages offers two buttons: Uninstall and Enable/Disable.
When I click Uninstall, nothing seems to happen.
So how do I get rid of the metrics package completely? And why is the uninstall button not doing its job?
Note: I am trying this on MacOS X. Haven't counterchecked on Windows yet. Can someone check on Windows?
Edit:
It seems the authors have removed the uninstall button for this package in the latest version (1.0.2). So how does one get rid of this unwanted package? I don't trust "disabling" it.

Related

Changing environment in Kaggle? (Option Disabled)

A kaggle (private) notebook of mine was created an year ago so it uses an environment (package versions) of the date when it was created. To use the latest package versions, there's an option to change Environment Preferences from within the Edit page of a notebook. But turns out, the option is disabled.
The only other way to get the latest package versions now is to upgrade them all manually by pip calls from within the notebook for each module. This was working fine until I required a newer version of pandas. You need to upgrade any module before importing in kaggle to use the upgraded version, otherwise it uses the old one. And pandas is one of the few libraries that is preloaded with every notebook start, so an upgrade call to it still does not use the latest pandas. What can I do here? Any tips on how I can enable the environment preference option?
It was a problem on Kaggle's end. They have rolled out a fix.
More details
If it happens again, create a thread on kaggle forum I guess, just like I did.

How to write message to screen after installing a RPM?

I'm building RPM packages and I want to output a message to the console after installing the package. In this message, there are some pointers for the person who is installing the package.
Can someone show me how to do this in the spec file?
It depends on what you mean with the console...
You can print some message in the %post or even %posttrans section. This output will be shown on the console when the user installs your package using rpm, yum, dnf, zypper or similar on the command line. When the user uses any graphical interface, he won't see that message (or not easily).
If you want to decide in which section to print your message and under what conditions, this is a great resource on the scriptlet order and their arguments.
You can write to STDERR (there's an example in this answer). However, client interaction upon installation is pretty much impossible by design. For example, if your RPMs were added to a Kickstart script for an automated installation, the output would never be seen.
A much better paradigm is to do what they do for things like Apache where they drop in a default configuration (easily done with symlinks in your %post) that present some kind of sample interface with "additional configuration is required..."

Installing atom packages with dependencies whilst offline

I've just joined a new office and their security is very tight. Essentially, we cannot go online without connecting to another machine. This means any applications that attempt to connect online won't connect to anything.
I'm trying to set up atom for python development (I've not used atom before and it's all that available to me!) - but the lack of internet is causing an issue.
I understand that to install a package, I can download it from github, and extract it to ~/.atom/packages - and this works! But what do I do with packages with dependencies that haven't been downloaded? Is there a simple way to get the package and the dependency whilst being offline?
I've also noticed that although my office has atom installed there's no 'apm' or 'npm' commands in the terminal...is this common?
thanks

RStudio and Microsoft R-Open

I currently have R-statistics distribution working with RStudio.
I want to install also the Microsoft R-Open version, but how do I get RStudio to
reference this MRO distribution and not the 'regular' R-statistics.
I could not find any documentation on this either here on Stack Overflow or on RStudio's website.
So if I understand you correctly, you want to run RStudio against the Microsoft R Open version you have installed?
If so, in RStudio, go to Tools | Global Options and you will be presented with the Options dialog. Choose "General" on the right hand side and at the top you see "R version:". Click change and you will get the"Choose R Installation" dialog, where you now choose the MRO version, as per below:
Hope this helps.

some issue with using atom sync-settings tool

With the risk of me misunderstanding something, I can't get my packages to sync. I went through the following scenario:
I install new packages on Machine 1 and upload the settings through the "Sync Backup" command in atom. I can see that the new packages are listed in the packages.json file in the gist.
On Machine
I restore the settings and can indeed see settings being restored, like keymaps. However I don't get my new packages. I have restarted and reloaded Atom without luck.
Are there any extra steps I need to take to get the new packages on Machine 2?
You can try atom-package-sync. It is a package that I created a couple weeks ago. It works a little bit like the synchronization of Google Chrome, you just login and it syncs your packages and settings automatically across all your Atom instances. It is based on package-sync but I find it easier to use.

Resources