Friday, March 11, 2016

Web browsers, operating systems and visits to my blog

I was checking my blog settings for forcing https but (effectively) stumbled upon the stats page. I was a bit bored today and so I figured I would write a short (python) script to plot the data.

Considering my blog should more or less get visits solely from fedora planet, my expectations about browser and operating systems distributions among the visits was totally different from what I have hoping to see.



Distribution of browsers

  


Distribution of operating systems



Of course, browser user agents are not the most reliable pieces of information. Still, this looks interesting - Nice correlation between the OS and browser data - at least as I see it. This was based on >44,000 total visits.


Update:

While I am at it, I might as well add the country wide distribution of blog hits.

  


Thursday, March 10, 2016

Xfdashboard introduces hot-corner plugin

I recently updated xfdashboard in (rawhide and) Fedora 24 to version 0.5.90. Apart from several under the hood changes, xfdashboard 0.5.90 introduces the hot corner plugin.

Screenshot below - 






























The activation corner can be set to any of the four corners of the screen while radius of activation was fun to play with. I preferred a slightly bigger radius but that's, of course, a personal preference.


Texmaker available for EL-7

I have (finally) built Texmaker for EL-7. The package should be available in epel-testing repository once it is pushed.

Link to the update - https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-fa7cddf9c2

This is built against qt4. Please test and add karma to the update.

python-nmrglue - Python module for processing NMR data

nmrglue is a python module for processing NMR data.

From the upstream website,

nmrglue has the ability to read, write and convert between a number of common NMR file formats including Varian, Bruker, NMRPipe, and Sparky files. The files, which are represented in python as dictionaries of spectral parameters and Numpy array objects, can be easily examined, modified and processed as desired.


nmrglue provides a number of common functions for processing NMR data such as apodization, spectral shifting, Fourier and other transformations, baseline smoothing and flattening, and linear prediction. In addition new processing schemes can be implemented easily using the nmrglue provided functions and the multitude of numerical routines provided by the Numpy and Scipy packages.


When used in conjunction with the matplotlib (or other) python plotting library nmrglue can be used to create publication quality figures of NMR spectrum or examine data interactively.


nmrglue can be used to analysis NMR data, with routines to perform peak picking, multidimensional lineshape fitting (peak fitting), and peak integration. New analysis methods can be rapidly developed and tested in Python or by integrating Fortran and C/C++ code.


This is something I have been using for my own work and so I decided to package it for Fedora. After package review, python-nmrglue is now available for installation in rawhide, Fedora 24, Fedora 23 and EL-7.

For the F24, F23 and EL-7, the package has been submitted to testing. Both python2 and python3 versions are available.

Fedora 23

dnf --enablerepo=updates-testing install {python,python3)-nmrglue

Fedora 24


dnf --enablerepo=updates-testing install {python2,python3)-nmrglue

For EPEL, use yum.

 

New Package - xfpanel-switch

Xfpanel-switch is a nifty little program that aids in managing multiple panel layouts in Xfce. I came across this application when I checked out xubuntu livecd last week. I have now pacakged this application for Fedora. It is available in rawhide and for Fedora releases 24 and 23.

Here are some screenshots - 

This is my panel configuration (labeled as nonamedotc) - the one I use on a day to day basis






















There are three other configurations available for selection in the default setup.

redmond - "windows" like config



gnome-2 - Old gnome like config



xfce-4.12 - This is Fedora default config




For Fedora 24, you can install the package using

dnf install xfpanel-switch --nogpgcheck