2020年6月7日星期日

matlab ubuntu remote control and python2 to python3

Today manage to using remote control on the ubuntu

1. you can turn on the screen sharing using privary setting and ask it to just use the password,
then you can on remina from virtual ubuntu to remote access it
or you can also use windows
instal the vnc viewer
https://www.howtogeek.com/429190/how-to-set-up-remote-desktop-on-ubuntu/

2. also I manage to install matlab on ubuntu
https://linuxconfig.org/how-to-install-matlab-on-ubuntu-18-04-bionic-beaver-linux

3.         try:
            val_local = w.vector()(val_dof[0])

from dolfin import *
from ufl import cofac
import dolfin as dolfin
import sys

import
from ufl import cofac

mesh = Mesh()
f = HDF5File(MPI.comm_world, meshname+".hdf5", 'r')

print(tstep, p_cav*0.0075 , V_cav, fdataPV)

use 2to3 convert print function from python2 to python3
sudo apt-get 2to3

mesh = Mesh()
f = HDF5File(MPI.comm_world, meshname+".hdf5", 'r')

2020年3月23日星期一

A farewell for what-if

did not expect I am going to have my last paper to publish before I go to industry so soon.
I like research, however if I cannot get the Newton fellowship to go Imperial college, then I guess, this is going to be my last chance to do research in postdoc.

Thanks Prof yap for helping me throughout the fellowship application.

Thanks lik chuan and his team to support me unconditionally.

too many people I want to say thanks, but just to say sorry, as I have to let you down this time, as I am preparing to leave already if I dont get it.

Thank you very much NUS for every memory you give me. I am grateful for the past five years you give me. I am thinking if I got the fellowship, I will have another round to stay in research, but ya, my family need money, so I guess there is no turning back and I have to go d.

Thank you so much for the research world and wish all the best for the biomechanics journey.

I will be going to miss your guys very much.

enjoy guys!