Journaling on estrip is easy and free. sign up here

Tinypliny's Journal

tinypliny
My Podcast Link

10/25/2011 14:33 #55375

Change ANY Gnome 3 shortcut
Category: linux
I am making shortcuts left, right and centre in the Gnome 3 interface.

Turn on shortcut editing


gsettings set org.gnome.desktop.interface can-change-accels true



Hover mouse over the menu entry
Press Delete
Press new shortcut combo

Turn off shortcut editing


gsettings set org.gnome.desktop.interface can-change-accels false


10/24/2011 19:21 #55372

Writing Functions in R: Part I
Category: r statistics
I have been learning how to write functions in R. They are core to learning the language instead of just using what other people have written for their purposes. They make tailored manipulations in R easier. I am going to document the function writing system here, step by step so I can progressively write better functions and yet not forget the basics

Basic Syntax

NewFunction <- function (input){
answer <- some manipulation with the input
answer
}

  • NewFunction is the name of the new function.
  • function is the R function that creates functions.
  • input is the "argument" of a function
  • { delimits the beginning of the function
  • } delimits the end of the function
  • the last statement (in this case, just "answer", returns the answer as the output of the function. I could also have said return(answer).


10/23/2011 17:29 #55370

Alt+Tab Vs. Alt+~ in Gnome 3
Category: linux
It took me all this while to find out that one of my greatest annoyances in Gnome 3 is actually solvable by a simple change in position of my finger while typing the alt-tab combination.


Alt + Tab
Switches Applications

and

Alt + ~
Switches Windows


Reclaim the maximize and minimize buttion. Because sometimes, you just don't want to let go of the stylus (or mouse).


gconftool-2 --set /desktop/gnome/shell/windows/button_layout --type string :minimize,maximize,close



Sweet. Two more annoyances banished.

tinypliny - 10/24/11 19:27
I am liking it a lot after I installed gnome frippery. ;-)
paul - 10/23/11 19:19
I bet in the end you will end up loving it.

10/23/2011 13:47 #55369

Make peace with the mucilage.
Category: eating in
Sometimes you can only pamper it with so much olive oil.

image

It's delicious sans mucilage or not.

10/23/2011 11:39 #55367

Linux alternative to TortoiseSVN
Category: linux
I found it. At last.

image

TortoiseSVN was so good on windows that I really started to miss its awesome GUI features on linux. The clever thing to do would probably have been to guess that it would be named after some other herbivorous domestic pet. But I found it after a determined search instead. Linux royalty usually scoff at GUI solutions, but to me, they are an invaluable little tool in saving some brainspace and frustrations.

To install RabbitVCS on Fedora 15


sudo yum install rabbitvcs*



BUT. And there is a big BUT.

RabbitVCS won't run in some 64 bit environments

Some distributions, such as 64 bit Fedora, put 64 bit libraries in the /usr/lib64 directory, whereas nautilus-python (the program that lets us extend nautilus) assumes all libraries are in the /usr/lib directory. This is a nautilus-python bug. The current workaround is to create a symlink: ln -s /usr/lib64/libpython2.6.so /usr/lib/libpython2.6.so



That fix didn't work for me because RabbitVCS doesn't work with Nautilus 3.x YET. But the developer posted recently on the blog that a new release is not far away. I can't wait. Command-lining SVN is tedium that I can do without.

paul - 10/23/11 19:23
I really never have a need for these systems. I can't belive R studio doesn't have version control built in. I keep seeing info for an R development plugin for eclipse. If there is one that works for you I would suggest it over r studio because then you get integrated version control. Once version control is built right into your development process it becomes much easier to use. Maybe if you ever leave your house again, I can show you.