Skip to main content

Posts

PyCharm: Unresolved reference 'print'

PyCharm can sometimes get confused specially if you have multiple interpreters and using virtualenv. To fix "Unresolved reference 'print'" message, do File | Setting... (Ctrl+Alt+S) | Project Interpreter | Show All (drop down) | Show path for the selected interpreter ( ) | Reload List of Paths ( ). Reference(s): http://forum.jetbrains.com/thread/PyCharm-291

Installing Pyro 4.30 in IronPython 2.7.4

This assumes that IronPython is installed in D:\ipy . Download Serpent archive file - used 1.7 ( link ). Serpent is needed by Pyro 4. Extract to a folder, say D:\Serpent . Change directory to where Serpent was extracted then do  D:\Serpent>D:\ipy\ipy.exe setup.py install . This will install Serpent. Download Pyro 4 tar archive ( link ). Extra to a folder, say D:\Pyro4 . Change directory to where Pyro4 was extracted then do D:\Pyro4>D:\ipy\ipy.exe setup.py install .

Change network category in Windows 8.1

Windows 8.x network category or network profile affects how other Windows machines detects or discover the node. A machine on  a domain or private network will most of the time allow file sharing and printing, more relaxed firewall, etc. For computers with multiple network interfaces changing network profile can be difficult using the GUI. To force a network interface to be in private profile for example you can do: PS c:\> Set-NetConnectionProfile -InterfaceAlias "VirtualBox Host-Only Network" -NetworkCategory Private where: "Virtual Host-Only Network" - is the name associated with the network interface "Private" - is the profile Reference(s): http://www.tinkertry.com/how-to-change-windows-8-1-network-type-from-public-to-private/

Going fallback mode in Ubuntu 13.04 due to performance issues with Unity

I configured Virtualbox guest machine to run Ubuntu 13.04 (Raring Ringtail) but performance is just not acceptable. It probably has to do with my host machine not having a good enough graphics hardware. Anyway, to make it bearable, I have gone Gnome Fallback mode. Anyway, below is my clean configuration from scratch to have a better performance running under VirtualBox. Initial clean-up and pre-requisites, open terminal ( Ctrl+Alt+T ): $: sudo apt-get update $: sudo apt-get upgrade $: sudo apt-get install gnome-session-fallback Log out from session $: gnome-session-quit From the GDM, select Gnome Fallback(No effects), see below for screen capture. Log back in to Ubuntu. To make it even better, install VirtualBox guest additions. But first let us install the pre-requisites and some clean-up. $: apt-get purge xserver-xorg-video-vmware libxatracker1 $: apt-get install dkms build-essential From VirtualBox Guest main UI, select Devices | Install Guest Additions... .H