The compiled binaries often contain install scripts which put files to shared
folders under /usr. Consequently, they have to be run as sudo privileges.
That drove me to start this lengthy Julia compilation.
Installation
Without sudo privileges, I’ve chosen to compile Julia from source.
I was too lazy to get the dependencies fixed. I just compiled it
withoutGFortran and pkg-config under the ~/src folder.
Posted on September 20, 2018
(Last modified on September 21, 2018)
| 5 min
| Vincent Tam
|
0 comment
Introduction
This article records my errors and difficulties encountered on the first day I
came across Red Hat Enterprise Linux 7 in my school’s laboratory, as a
normal user without sudo privileges.
The login screen was gdm, and the desktop environment was GNOME. IBus was used
as the input engine.
Packages installed
The principal goal is to install tools that I usually use on RHEL without sudo
permissions. To do so, I’ve downloaded the executable binaries or source code
of these packages. As I wanted to focus on my studies, I prefer downloading
executable binaries.
Posted on September 17, 2018
(Last modified on May 13, 2019)
| 2 min
| Vincent Tam
|
0 comment
Background
While making changes to a theme for a static site generator, I changed files
under a Git submodule included in the repo for my blog. (e.g.
themes/beautifulhugo) That’s ideal for local testing, but not for version
control. As a result, I cloned the repo for the theme to a directory separate
from the one for my bloge (say, ~/beautifulhugo), and commit the changes
there, then performed a Git submodule update so as to make the workflow clean.
Posted on September 16, 2018
(Last modified on April 13, 2023)
| 2 min
| Vincent Tam
|
0 comment
Background
Le Temple du Marais
"Eglise verte" means "green church".
My churches are going green.
Problem
→
I downloaded a PDF from Haute-Garonne’s government site, filled in
the form and saved it on a USB key. Then I printed it at a Konica Minolta bizhub
photocopier .
However, _only_ the radio buttons and checkboxes
were printed. The blanks
were left _blank_! I opened my PDF and double-checked that I had input the text
in .
Posted on September 15, 2018
(Last modified on April 25, 2019)
| 1 min
| Vincent Tam
|
0 comment
Problem
I would like to submit Flying Grizzly’s form. I filled in every
blanks and then I clicked the “submit” button below. I was greeted with a
MISSING_REQUIRED_FIELDS error within a second.
Posted on September 6, 2018
(Last modified on April 13, 2023)
| 1 min
| Vincent Tam
|
0 comment
Problem
After installing NPM throught Ubuntu’s default apt-get manager, I got
permission errors. Though sudo can solve the problem, that’s not
the right way in principle because NPM is supposed to hold different versions of
Node.js packages for testing. It’s insecure to execute npm with sudo
priviledges.
Posted on September 6, 2018
(Last modified on December 19, 2018)
| 2 min
| Vincent Tam
|
0 comment
Le Temple du Marais
"Eglise verte" means "green church".
Background: 🈶 ⛪ → 🌿
→ 📧 In the recent decade,
organizations are replacing courrier with email. The reason is two-folded. 🌿
First, the later is more environmentally-friendly. 📨 Second, the later delivers
the content to the recipient quick as a flash.
📧 📎 When one sends an email,
one sometimes wants to attach a file to an email. If one has to sign a paper
document and send it by email, then one will probably need a scanner. (Despite
the emergence of scanning apps on mobile devices, the quality of a scanner is
normally better since the page is flattened during the scan.)
Posted on September 5, 2018
(Last modified on April 13, 2023)
| 1 min
| Vincent Tam
|
0 comment
Main ideas
–
Ideal energy range for storage: 40%–80%
The biggest enemy of electronic parts
is heat
.
Avoid overchanging and unplug AC adapter when charging is complete. In
particular, don’t leave a fully charged laptop connected to power supply.
This can reduce the lifespan of the battery.
Avoid deep discharges: recharge the laptop battery when its enery level
drops to 40%.
Reduce unnecessary programs running in background.
If your hardware vendor supports Linux drivers for batteries, set the charging
thershold to 80%.