-
Install Nvidia 396 Driver for Ubuntu 18.04
Just some quick notes to upgrade Nvidia driver from 390 to 396 on Ubuntu 18.04. By default Ubuntu 18.04 only has Nvidia driver 390. # add ubuntu official ppa for nvidia# all commands below run as rootadd-apt-repository ppa:graphics-drivers/ppaapt update# install 396 filesapt install nvidia-dkms-396 nvidia-driver-396 nvidia-compute-utils-396 libnvidia-compute-396# reboot at the end. After reboot, the new…
-
Home VPN with OpenVPN
Here are step to run a simple OpenVPN service at home, so that I can access home network easily while not at home. First, clone the git repo for OpenVPN docker container: git clone https://github.com/kylemanna/docker-openvpn.git I can use the pre-built docker image from docker hub but it has just been breached so I’d rather build…
-
Ansible, CloudFormation and Jinja2
CloudFormation is the corner stone to provision infrastructure in AWS with code, however it’s not very DRY, ie. poor modularization, almost static variables and templates. So here comes Ansible. However at the moment Ansible’s CloudFormation module doesn’t support Jinja2 in templates, like other modules do. Luckily there’s a work-around to get the Ansible-CloudFormation-Jinja2 trio working…
-
Working with a Big Corporation
So it’s been a while since I started this job in a big corporation. I always enjoy new challenges, now my wish got granted. Not in a very good way. The things work in a quite different manner here. There are big silos and layers between teams and departments, so the challenges here are not…
-
Run Fedora 29 on Dell XPS 15 9570
Here’s a list of things to do to get Fedora 29 running optimally on Dell XPS 15 9570: First, disable Secure Boot with the stock Windows 10 and in BIOS otherwise Fedora installer on a USB stick won’t boot. I still don’t really see the necessity to have this Secure Boot, except to buy more…
-
依依不舍的2018
2018年已经过去了,我这才意识到。当事事都很顺利时,时间就过的很快,仿佛是快进模式。 有一件事让我受益匪浅。 2017年年底时,我老板得到更好的职位于是离开了AFL,这让我多少有些失望,因为我觉得我跟他蛮和得来的。和我这有棱有角的脾气能和得来的也确实不多。后来新老板来了我想,这位没准儿跟我就和不来吧。幸运的是事情不是像我预测的那样糟。 老板是意大利裔,在土澳长大。他居然对中国特别是四川颇有了解,因为他曾经在重庆的一家外企带过队伍。当时他面对食品一条街从头到尾的红辣椒真是一筹莫展,庆幸可口可乐里没有加辣椒。 老板最初的几个小项目我都参与并顺利完成了,这是个好的开端。一次我们谈工作时,我提出团队工作流程里一些残留问题。他问:为什么这个问题一直没得到解决呢?我说:困难不在技术层面,而是资深员工不赞成革新,可能需要领导层面介入才行。他没有反对,于是我期待他能在团队会议上提出这个问题并执行革新,但这迟迟没有发生。 后来老板做了团队拓展活动,离开办公室去讨论内部问题,包括工作流程问题,时间是一整天。我有些不解:革新方案是明摆着的,上行下效不就完事了么?为啥用一天?会议中,保守派给出了很多工作流程没有改变的历史原因,作为改良派的牵头人,我则据理力争给出革新后的工作流程的优势。然后全部团队成员投票,改良派的方案以一票之优势胜出! 事后老板跟我说,他当然知道改良派的方案是更好的,但是土澳人民的价值观在这就体现了出来,每个人的意见都很重要,因此得到多数人的支持才是最重要的。老板笑着说,比起中国,土澳做事情的确很慢,一个项目可能要争论很久才能批下来,修一条路,如果要拆迁的居民不同意,那就只能想办法绕开。这对我的启示真是不小,因为我尽管自以为自己支持民主,但事到临头时还是希望把自己的观点灌输给别人。 入乡随俗,还有很多事物需要学习。:)
-
PS4 SSD Upgrade Made Easy With Linux
Even the latest PS4 Pro model comes with an HDD. I can’t remember when was last laptop shipped with HDD but I can imagine what an SSD upgrade brings to an old PS4. The only issue is, if I put the new SSD drive in straight away I’ll need to install the PS4 OS and…
-
Fixed tracker-store’s CPU hogging issue on Arch Linux
I think it’s since when I updated Arch Linux a while ago the tracker-storeprocess has become CPU-hogging and it can drain the battery pretty quickly and turn my laptop into a heater. Obviously there are people experiencing this issue already, but most of them that I found were trying to disable the Gnome tracker. I’d…