martes, 15 de enero de 2013

Papers Publications Deadline. Always have changes in the last night!

For those of us who have decided to go postgraduate school, and (try out hard) to get a PhD, usually get a publication (well, many indeed) it's a must. Being now in this quest, I have a deadline for tomorrow night, I wonder why always my paper must be "in revision state" until a few minutes before the deadline!!.

Is that like a fixed law, that we researches do share?, or is it just me (and perhaps some others who try to figure out  something new to include in our papers until the last minute). Maybe we have the slightly hope that some "divine thought" reaches our mind and gives us that brillant phrase that will guarantee us a "..We are happy to announce you that your paper has been accepted..." answer a few weeks later.

I have contacted a research fellow who is also working for this conference, and he is still collecting data and running some experiments to include in his paper. Well, it is good to known that I am not the only one working on it.

That's why today I've decided to stop working (at 18 pm), and get some rest and just hang out with my wife, maybe watch a movie or something different. Tomorrow I will give it again a revision and do the final changes.

I hope in a few weeks I could write about how hard the path was, but my article was finally accepted. I guess we'll have to wait to see that.

I always say that my next paper will be ready a few days earlier than the deadline. But up until now, I can't make it happen!!!.

Good things apparently doesn't happen out of nothing, we must work hard and try to make those things happen. I'll stick to that thought, and I'll try to do something better everyday for my work, my life and for other people, too.




miércoles, 19 de diciembre de 2012

How to (manually) mount a shared folder with VBox with Ubuntu guest.

Well, it is supposed that this "mounting/sharing thing" should do it all automatically, and seems like for many people it does, but sadly not for me.

I've been using vbox for the last few years, and I have never been able to use that functionality, not at least without some console work first. The problem is that every time I want to share something, providing I don't have access to what I need via gmail or ssh, I need to use some sort of share folder between my host and my guest. So I always find my self in the situation where I don't know how to do it, and my google-job starts over again.

So, this time I wanna record what I've done (and perhaps millions of others, previously), so that I could find it easily later (and others, too).

Well my guest is a Linux (Ubuntu 12.04 64 bits) and my Host is Mac OSX 10.7.5.

So, first I create the shared folder in Vbox, as shown in the figure below:



Here we can see the directory Iam trying to share, and the name I gave it, "opnet" (this I will be using later in the mount command at the shell).
Once I click "Ok", it is supposed to auto mount in the /media directory of my guest (Ubuntu), but that's not what happens.

So, in order to use the directory, I have to open a terminal session, and mount the directory with the command:

sudo mount -t vboxsf opnet /media/shared-folder

Ok, and that's it. Now I have access to the opnet resource in my Ubuntu Guest.

Reference
https://www.virtualbox.org/manual/ch04.html#sharedfolders


sábado, 12 de mayo de 2012

D key showing the desktop in XRDP

After trying many remote desktop clients for Ubuntu 11.04, I finally decided to use XRDP.

But when I started using it, I encountered one (big) problem, by pressing the "d" key, all my windows minimizes and the desktop was shown. Well, for those of us who live more in a terminal window, that could be a real problem.

I've tried two solutions, I don't exactly know which of them worked (maybe both of them), but as I google it for a solution, many people seem to solve the problem with either one of them, i will include both situations here:


1 - Change in System Preferences
  • Go to System-->Preferences->Keyboard Shortcuts
  • Find the entry "Hide all normal windows and set focus to the desktop"
  • Here, change the default value (the d letter) or disable it (that's what I did)


2 - Change with gconf-editor
  • Open a terminal windows
  • Write gconf-editor to launch the program
  • Go to app --> metacity --> global key binding
  • Find the "show_desktop" option
  • Change the value to a different key combination or  "disabled"it.
  • Close and restart (I think it is mandatory)


Well, that's all for now. I hope it would be helpful for others, too.

Reference: Ubuntu Forum 

XRDP for Linux

I've trying to use remote desktop in Ubuntu for a while, but the default option available is not working for me, well at least not as I expected. First of all, I wanted to change the default port, but with the latest update it seems not possible (ubuntu 11.04).  Another thing is that once I get connected, it can only let me "share" my desktop (ie, let other see/interact with my session).

I was looking for some more "windows remote desktop" like version, and that's not definitely what Ubuntu has.

I've tried x11VNC server, but it was even more complicated. It worked, but once I started it, the application menu disappears and the only way to close it was by killing it, awkward.

Well, after a lot of time looking for some "useful" remote desktop app, I found XRDP for Linux. It was easy to install, configure and use. I can change many setting in a "unix like" manner, by editing a .conf file and that's it. In a few minutes I had a running version of my xrdp up and running.

In the middle, I've found some (annoying) problems, but that is a subject of other post. So far, my xrdp is fully functional and save me a lot of time by allowing me working from home. That's precisely what i have looking for.

domingo, 22 de abril de 2012

Installing CM7 on a nook color

A friend of mine lend me a tablet (from Barnes & Noble), and I wanted to try it out, but with some more "open"version of Android.

In order to install it, I've found in the xda-developers forum a great post about how to download and install Android into this tablet. I've tried out and it worked great!.

Right now I'm trying it, specially for books reading. To start, I've installed Moon+Reader. I will write some reviews after a while, to see my experience with this reader.

The tutorial could be read here (great job!)
http://forum.xda-developers.com/showthread.php?t=1000957

The only thing I have to add, is that after  copying the image to the sd card by using the "dd command", then a "Backup"partition is created with 130 MB of size.  At the beginning I didn't understand this, but then I just copied the CM7 image file into this partition and booted into the nook device. After this, the new version of Android (CM7) started to install.

More info about these to come (I hope!!).

martes, 28 de febrero de 2012

How to restore Grub after installing a new kernel (or Windows)

To reinstall my working grub, i've read and applied the steps mentioned in this tutorial. It worked like charm!


Using Ubuntu 9.10 livecd or higher
Here assuming the Ubuntu partition is sda7,and /boot partition is sda6 (if you have a separate /boot partition).
Boot up ubuntu from the livecd,open terminal and run:
sudo -i
mount /dev/sda7 /mnt
mount /dev/sda6 /mnt/boot  #skip this one if not have a separate /boot partition
grub-install --root-directory=/mnt/ /dev/sda
If you miss “grub.cfg” file,use following to recreate:
mount --bind /proc /mnt/proc
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
chroot /mnt update-grub
umount /mnt/sys
umount /mnt/dev
umount /mnt/proc
exit

miércoles, 1 de febrero de 2012

can't set the locale; make sure $LC_* and $LANG are correct problem in Ubuntu 11.10 (32 bits)

I had this problem after installing Ubuntu 11.10 (32 bits). From a terminal, every time I executed some commands (apt-get install, update, man xxx, etc), some locale warnings appeared, like this one

can't set the locale; make sure $LC_* and $LANG are correct

Also this error messages were shown:
Cannot set LC_TYPE to default locale: No such file or directory

I solved the problem by adding in /etc/environment the following line
LC_ALL="en_US.utf8"

and then rebooting the system.

With this line, everything worked just fine. No more errors/warnings at the console!!