Created on
04/05/18 11:00

Modified on
04/05/18 11:00

Filed under
GSoC 2018

Tags
android gentoo gsoc linux

Preface

This week was about getting the Gentoo stage3 to work on Android (as a subsystem of Android currently), and replacing init located in the initramfs, which was part of the boot.img that was used to boot the system. To ease the process of compiling for a different architecture …

Read More

Created on
30/04/18 12:00

Modified on
30/04/18 16:30

Filed under
GSoC 2018

Tags
android gentoo gsoc

Preface

According to the schedule in the proposal, this week was about getting familiar with Lineage OS building process and installing it on the development device. This blog post summarizes the work I've done and the problems I ran into (and successfully fixed) in the process, and makes a brief …

Read More

Created on
17/03/18 01:00

Modified on
17/03/18 01:00

Filed under
C++

Tags
c++ language

The story

Consider the following code snippet:

#include <iostream>

class A;

class B { 
    public: 
        B() {} 

        B(A &) { // conversion constructor that takes cv-unqualified A
            std::cout << "called B's conversion constructor" << std::endl; 
        } 
};

class A { 
    public: 
        operator B() const { // conversion operator that takes cv-qualified A
            std::cout << "called A's conversion …
Read More

Created on
13/03/18 22:00

Modified on
13/03/18 22:00

Filed under
General

Tags
os pgp toys

The story

Thanks to the signing party and Harry Chen being so generous that he gave out one of his spare YubiKey 4's to me, I've got to get my hands on this tiny new device, which really changes the game of secure authentication and encryption. This article mainly serves …

Read More

Created on
05/02/18 12:00

Modified on
05/02/18 12:00

Filed under
SysAdmin

Tags
gentoo lvm sparc

The story

My SPARC Enterprise T5120 came with two 10000 RPM SAS HDDs, both with a labeled capacity of 146GB. Gentoo was installed on the first hard drive, and thanks to the old SILO that was in charge of booting the system up, I have to keep a single-large-root partition …

Read More

Personal details (portrait, CV) © Pengcheng Xu All Rights Reserved; articles licensed under CC BY-SA 4.0.
Powered by Pelican, Bootstrap, and NixOS. Icons by Font Awesome. Generated from d900894.